liusheng
2024-07-16 a24d7c5345cddb9454c351aae0637ed90333a934
smartor/src/main/resources/mapper/smartor/SvyTaskTemplateTargetoptionMapper.xml
@@ -15,7 +15,7 @@
        <result property="targetvalue"    column="targetvalue"    />
        <result property="targetregex2"    column="targetregex2"    />
        <result property="targetregex"    column="targetregex"    />
        <result property="optiondesc"    column="optiondesc"    />
        <result property="optioncontent"    column="optioncontent"    />
        <result property="language"    column="language"    />
        <result property="version"    column="version"    />
        <result property="groupid"    column="groupid"    />
@@ -40,10 +40,10 @@
    </resultMap>
    <sql id="selectSvyTaskTemplateTargetoptionVo">
        select id, taskid, templateID, targetid, targetname, targettype, categoryName, targetvalue, targetregex2, targetregex, optiondesc, language, version, groupid, isabnormal, warnup, warndown, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, scriptid, nodynamiccruxs, dynamiccruxs, next_question, picture_path from svy_task_template_targetoption
        select id, taskid, templateID, targetid, targetname, targettype, categoryName, targetvalue, targetregex2, targetregex, optioncontent, language, version, groupid, isabnormal, warnup, warndown, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, scriptid, nodynamiccruxs, dynamiccruxs, next_question, picture_path from svy_task_template_targetoption
    </sql>
    <select id="selectSvyTaskTemplateTargetoptionList" parameterType="SvyTaskTemplateTargetoption" resultMap="SvyTaskTemplateTargetoptionResult">
    <select id="selectSvyTaskTemplateTargetoptionList" parameterType="com.smartor.domain.SvyTaskTemplateTargetoption" resultMap="SvyTaskTemplateTargetoptionResult">
        <include refid="selectSvyTaskTemplateTargetoptionVo"/>
        <where>
            <if test="taskid != null "> and taskid = #{taskid}</if>
@@ -55,7 +55,7 @@
            <if test="targetvalue != null  and targetvalue != ''"> and targetvalue = #{targetvalue}</if>
            <if test="targetregex2 != null  and targetregex2 != ''"> and targetregex2 = #{targetregex2}</if>
            <if test="targetregex != null  and targetregex != ''"> and targetregex = #{targetregex}</if>
            <if test="optiondesc != null  and optiondesc != ''"> and optiondesc = #{optiondesc}</if>
            <if test="optioncontent != null  and optioncontent != ''"> and optioncontent = #{optioncontent}</if>
            <if test="language != null  and language != ''"> and language = #{language}</if>
            <if test="version != null  and version != ''"> and version = #{version}</if>
            <if test="groupid != null  and groupid != ''"> and groupid = #{groupid}</if>
@@ -92,7 +92,7 @@
            <if test="targetvalue != null">targetvalue,</if>
            <if test="targetregex2 != null">targetregex2,</if>
            <if test="targetregex != null">targetregex,</if>
            <if test="optiondesc != null">optiondesc,</if>
            <if test="optioncontent != null">optioncontent,</if>
            <if test="language != null">language,</if>
            <if test="version != null">version,</if>
            <if test="groupid != null">groupid,</if>
@@ -125,7 +125,7 @@
            <if test="targetvalue != null">#{targetvalue},</if>
            <if test="targetregex2 != null">#{targetregex2},</if>
            <if test="targetregex != null">#{targetregex},</if>
            <if test="optiondesc != null">#{optiondesc},</if>
            <if test="optioncontent != null">#{optioncontent},</if>
            <if test="language != null">#{language},</if>
            <if test="version != null">#{version},</if>
            <if test="groupid != null">#{groupid},</if>
@@ -162,7 +162,7 @@
            <if test="targetvalue != null">targetvalue = #{targetvalue},</if>
            <if test="targetregex2 != null">targetregex2 = #{targetregex2},</if>
            <if test="targetregex != null">targetregex = #{targetregex},</if>
            <if test="optiondesc != null">optiondesc = #{optiondesc},</if>
            <if test="optioncontent != null">optioncontent = #{optioncontent},</if>
            <if test="language != null">language = #{language},</if>
            <if test="version != null">version = #{version},</if>
            <if test="groupid != null">groupid = #{groupid},</if>