| | |
| | | <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" /> |
| | |
| | | </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> |
| | |
| | | <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> |
| | |
| | | <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> |
| | |
| | | <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> |
| | |
| | | <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> |