|
@@ -427,6 +427,7 @@ where
|
|
|
<resultMap id="JtBusinessCategoryBoResult" type="com.goafanti.business.bo.JtBusinessCategoryBo">
|
|
<resultMap id="JtBusinessCategoryBoResult" type="com.goafanti.business.bo.JtBusinessCategoryBo">
|
|
|
<id column="name" property="topLevel" />
|
|
<id column="name" property="topLevel" />
|
|
|
<id column="topLevelId" property="topLevelId" />
|
|
<id column="topLevelId" property="topLevelId" />
|
|
|
|
|
+ <id column="summary" property="summary"/>
|
|
|
<collection column="topLevelId" ofType="com.goafanti.common.model.JtBusinessCategory" property="children" select="getCategoryBySuperId">
|
|
<collection column="topLevelId" ofType="com.goafanti.common.model.JtBusinessCategory" property="children" select="getCategoryBySuperId">
|
|
|
</collection>
|
|
</collection>
|
|
|
</resultMap>
|
|
</resultMap>
|
|
@@ -435,7 +436,8 @@ where
|
|
|
select
|
|
select
|
|
|
name as topLevel,
|
|
name as topLevel,
|
|
|
id as topLevelId,
|
|
id as topLevelId,
|
|
|
- img_url as topImg
|
|
|
|
|
|
|
+ img_url as topImg,
|
|
|
|
|
+ summary
|
|
|
from jt_business_category
|
|
from jt_business_category
|
|
|
where layer=1
|
|
where layer=1
|
|
|
<if test="module!=null">
|
|
<if test="module!=null">
|