|
@@ -10,6 +10,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="ancestors" column="ancestors" />
|
|
|
<result property="businessName" column="business_name" />
|
|
|
<result property="businessTierName" column="business_tier_name" />
|
|
|
+ <result property="businessIcon" column="business-_con" />
|
|
|
<result property="createBy" column="create_by" />
|
|
|
<result property="createTime" column="create_time" />
|
|
|
<result property="updateBy" column="update_by" />
|
|
@@ -19,7 +20,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectBusinessManagementVo">
|
|
|
- select business_management_id, parent_id, ancestors, business_name, business_tier_name, create_by, create_time, update_by, update_time, remark, sort from l_business_management
|
|
|
+ select business_management_id, parent_id, ancestors, business_name, business_tier_name,business_icon, create_by, create_time, update_by, update_time, remark, sort from l_business_management
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectBusinessManagementList" parameterType="BusinessManagement" resultMap="BusinessManagementResult">
|
|
@@ -38,7 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
where business_management_id = #{businessManagementId}
|
|
|
</select>
|
|
|
<select id="getTreeList" resultType="com.leromro.core.domain.vo.BusinessManagementVO">
|
|
|
- select business_management_id as id,parent_id,business_name,business_tier_name
|
|
|
+ select business_management_id as id,parent_id,business_name,business_tier_name,business_icon
|
|
|
from l_business_management
|
|
|
<where>
|
|
|
find_in_set(#{parentId},ancestors)
|
|
@@ -53,6 +54,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="ancestors != null">ancestors,</if>
|
|
|
<if test="businessName != null">business_name,</if>
|
|
|
<if test="businessTierName != null">business_tier_name,</if>
|
|
|
+ <if test="businessIcon != null">business_icon,</if>
|
|
|
<if test="createBy != null">create_by,</if>
|
|
|
<if test="createTime != null">create_time,</if>
|
|
|
<if test="updateBy != null">update_by,</if>
|
|
@@ -65,6 +67,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="ancestors != null">#{ancestors},</if>
|
|
|
<if test="businessName != null">#{businessName},</if>
|
|
|
<if test="businessTierName != null">#{businessTierName},</if>
|
|
|
+ <if test="businessIcon != null">#{businessIcon},</if>
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
@@ -81,6 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="ancestors != null">ancestors = #{ancestors},</if>
|
|
|
<if test="businessName != null">business_name = #{businessName},</if>
|
|
|
<if test="businessTierName != null">business_tier_name = #{businessTierName},</if>
|
|
|
+ <if test="businessIcon != null">business_icon = #{businessIcon},</if>
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|