|
|
|
|
@ -8,6 +8,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<result property="id" column="id" />
|
|
|
|
|
<result property="scriptId" column="script_id" />
|
|
|
|
|
<result property="tagId" column="tag_id" />
|
|
|
|
|
<result property="tagType" column="tag_type" />
|
|
|
|
|
<result property="status" column="status" />
|
|
|
|
|
<result property="createBy" column="create_by" />
|
|
|
|
|
<result property="createTime" column="create_time" />
|
|
|
|
|
@ -17,7 +18,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<sql id="selectWxScriptTagVo">
|
|
|
|
|
select id, script_id, tag_id, status, create_by, create_time, update_by, update_time, remark from wx_script_tag
|
|
|
|
|
select id, script_id, tag_id, tag_type, status, create_by, create_time, update_by, update_time, remark from wx_script_tag
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<select id="selectWxScriptTagList" parameterType="WxScriptTag" resultMap="WxScriptTagResult">
|
|
|
|
|
@ -39,6 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
|
<if test="scriptId != null">script_id,</if>
|
|
|
|
|
<if test="tagId != null">tag_id,</if>
|
|
|
|
|
<if test="tagType != null">tag_type,</if>
|
|
|
|
|
<if test="status != null">status,</if>
|
|
|
|
|
<if test="createBy != null">create_by,</if>
|
|
|
|
|
<if test="createTime != null">create_time,</if>
|
|
|
|
|
@ -49,6 +51,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
<if test="scriptId != null">#{scriptId},</if>
|
|
|
|
|
<if test="tagId != null">#{tagId},</if>
|
|
|
|
|
<if test="tagType != null">#{tagType},</if>
|
|
|
|
|
<if test="status != null">#{status},</if>
|
|
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
|
|
@ -63,6 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
|
|
<if test="scriptId != null">script_id = #{scriptId},</if>
|
|
|
|
|
<if test="tagId != null">tag_id = #{tagId},</if>
|
|
|
|
|
<if test="tagType != null">tag_type = #{tagType},</if>
|
|
|
|
|
<if test="status != null">status = #{status},</if>
|
|
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
|
|
|