特定服务增加业务类别
基础协议,app策略以及app特征点击选择时展示业务类别的树
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
<result column="is_leaf" property="isLeaf" jdbcType="INTEGER" />
|
||||
<result column="group_id" property="groupId" jdbcType="INTEGER" />
|
||||
<result column="cfg_type" property="cfgType" jdbcType="INTEGER" />
|
||||
<result column="business_type" property="businessType" jdbcType="VARCHAR" />
|
||||
<!-- 父id -->
|
||||
<association property="parent" javaType="com.nis.domain.specific.SpecificServiceCfg">
|
||||
<id column="parent_id" property="specServiceId" jdbcType="INTEGER" />
|
||||
@@ -28,7 +29,8 @@
|
||||
s.parent_id AS "parent.specServiceId",
|
||||
s.is_leaf AS isLeaf,
|
||||
s.group_id AS groupId,
|
||||
s.cfg_type AS cfgType
|
||||
s.cfg_type AS cfgType,
|
||||
s.business_type AS businessType
|
||||
</sql>
|
||||
|
||||
|
||||
@@ -73,6 +75,9 @@
|
||||
<if test="cfgType != null and cfgType != '' ">
|
||||
AND cfg_type =#{cfgType,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="businessType != null and businessType != '' ">
|
||||
AND business_type =#{businessType,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="beginDate != null" >
|
||||
AND s.op_time >= #{beginDate,jdbcType=TIMESTAMP}
|
||||
</if>
|
||||
@@ -138,6 +143,9 @@
|
||||
<if test="specificServiceCfg.isLeaf != null and specificServiceCfg.isLeaf != '' ">
|
||||
AND is_leaf = #{specificServiceCfg.isLeaf}
|
||||
</if>
|
||||
<if test="specificServiceCfg.businessType != null and specificServiceCfg.businessType != '' ">
|
||||
AND business_type =#{specificServiceCfg.businessType}
|
||||
</if>
|
||||
<if test="specificServiceCfg.beginDate != null">
|
||||
AND op_time > #{specificServiceCfg.beginDate}
|
||||
</if>
|
||||
@@ -171,7 +179,8 @@
|
||||
s.parent_id = #{parent.specServiceId},
|
||||
s.is_leaf = #{isLeaf},
|
||||
s.group_id = #{groupId},
|
||||
s.cfg_type = #{cfgType}
|
||||
s.cfg_type = #{cfgType},
|
||||
s.business_type = #{businessType}
|
||||
WHERE s.spec_service_id = #{specServiceId}
|
||||
</update>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user