|
|
@@ -15,6 +15,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="isFixed" column="is_fixed" />
|
|
|
<result property="expiryTime" column="expiry_time" />
|
|
|
<result property="startTime" column="start_time" />
|
|
|
+ <result property="accountIds" column="account_ids" />
|
|
|
<result property="createTime" column="create_time" />
|
|
|
<result property="createBy" column="create_by" />
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
@@ -23,7 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectWxSopVo">
|
|
|
- select id, name, filter_type, select_tags, exclude_tags, temp_id, company_id, is_fixed, expiry_time, start_time, create_time, create_by, update_time, update_by, remark from wx_sop
|
|
|
+ select id, name, filter_type, select_tags, exclude_tags, temp_id, company_id, is_fixed, expiry_time, start_time, account_ids, create_time, create_by, update_time, update_by, remark from wx_sop
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectWxSopList" parameterType="WxSop" resultMap="WxSopResult">
|
|
|
@@ -38,6 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="isFixed != null "> and is_fixed = #{isFixed}</if>
|
|
|
<if test="expiryTime != null "> and expiry_time = #{expiryTime}</if>
|
|
|
<if test="startTime != null "> and start_time = #{startTime}</if>
|
|
|
+ <if test="accountIds != null and accountIds != ''"> and account_ids = #{accountIds}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
|
@@ -58,6 +60,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="isFixed != null">is_fixed,</if>
|
|
|
<if test="expiryTime != null">expiry_time,</if>
|
|
|
<if test="startTime != null">start_time,</if>
|
|
|
+ <if test="accountIds != null">account_ids,</if>
|
|
|
<if test="createTime != null">create_time,</if>
|
|
|
<if test="createBy != null">create_by,</if>
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
@@ -74,6 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="isFixed != null">#{isFixed},</if>
|
|
|
<if test="expiryTime != null">#{expiryTime},</if>
|
|
|
<if test="startTime != null">#{startTime},</if>
|
|
|
+ <if test="accountIds != null">#{accountIds},</if>
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
|
@@ -94,6 +98,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="isFixed != null">is_fixed = #{isFixed},</if>
|
|
|
<if test="expiryTime != null">expiry_time = #{expiryTime},</if>
|
|
|
<if test="startTime != null">start_time = #{startTime},</if>
|
|
|
+ <if test="accountIds != null">account_ids = #{accountIds},</if>
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|