陈昶聿
6 天以前 987e38327f849e1b13d8541246dde08d877db0e8
smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionWjxMapper.xml
@@ -69,10 +69,12 @@
            parameterType="com.smartor.domain.SvyLibTemplateTargetoptionWjx"
            resultMap="SvyLibTemplateTargetoptionWjxResult">
        <include refid="selectSvyLibTemplateTargetoptionWjxVo"/>
        <where>
        WHERE 1=1
            <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if>
            <if test="groupid != null  and groupid != ''">and groupid = #{groupid}</if>
            <if test="categoryName != null  and categoryName != ''">and categoryName like concat('%', #{categoryName},
                '%')
            <if test="categoryName != null  and categoryName != ''">
                and categoryName like concat('%', #{categoryName},'%')
            </if>
            <if test="scriptid != null ">and scriptid = #{scriptid}</if>
            <if test="templateID != null ">and templateID = #{templateID}</if>
@@ -101,7 +103,7 @@
            <if test="appendflag != null  and appendflag != ''">and appendflag = #{appendflag}</if>
            <if test="appenddesc != null  and appenddesc != ''">and appenddesc = #{appenddesc}</if>
            <if test="sort != null">and sort = #{sort}</if>
        </where>
    </select>
    <select id="selectSvyLibTemplateTargetoptionWjxById" parameterType="Long"