|
|
@@ -453,10 +453,11 @@ where
|
|
|
and jt2.id = #{0}
|
|
|
</select>
|
|
|
<select id="getCategoryBySuperId" resultType="com.goafanti.common.model.JtBusinessCategory">
|
|
|
- select
|
|
|
+ select
|
|
|
id,
|
|
|
name,
|
|
|
super_id as superId,
|
|
|
+ img_url as imgUrl,
|
|
|
sort,module
|
|
|
from
|
|
|
jt_business_category
|
|
|
@@ -467,6 +468,7 @@ where
|
|
|
<resultMap id="JtBusinessCategoryBoResult" type="com.goafanti.business.bo.JtBusinessCategoryBo">
|
|
|
<id column="name" property="topLevel" />
|
|
|
<id column="topLevelId" property="topLevelId" />
|
|
|
+ <id column="topImg" property="topImg" />
|
|
|
<id column="summary" property="summary"/>
|
|
|
<collection column="topLevelId" ofType="com.goafanti.common.model.JtBusinessCategory" property="children" select="getCategoryBySuperId">
|
|
|
</collection>
|