| | |
| | | resultMap="SvyTaskTemplateTargetoptionResult"> |
| | | <include refid="selectSvyTaskTemplateTargetoptionVo"/> |
| | | WHERE 1=1 |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | |
| | | AND del_flag=0 |
| | | <if test="taskid != null ">and taskid = #{taskid}</if> |
| | |
| | | <if test="targetid != null ">and targetid = #{targetid}</if> |
| | | <if test="targetname != null and targetname != ''">and targetname like concat('%', #{targetname}, '%')</if> |
| | | <if test="targettype != null and targettype != ''">and targettype = #{targettype}</if> |
| | | <if test="categoryName != null and categoryName != ''">and categoryName like concat('%', #{categoryName}, |
| | | AND '%') |
| | | <if test="categoryName != null and categoryName != ''"> |
| | | and categoryName like concat('%', #{categoryName},'%') |
| | | </if> |
| | | <if test="targetvalue != null and targetvalue != ''">and targetvalue = #{targetvalue}</if> |
| | | <if test="targetregex2 != null and targetregex2 != ''">and targetregex2 = #{targetregex2}</if> |