| | |
| | | <select id="selectServiceSubtaskPreachformList" parameterType="com.smartor.domain.ServiceSubtaskPreachform" |
| | | resultMap="ServiceSubtaskPreachformResult"> |
| | | <include refid="selectServiceSubtaskPreachformVo"/> |
| | | <where> |
| | | del_flag=0 |
| | | where 1=1 |
| | | and del_flag = 0 |
| | | <if test="subid != null "> |
| | | and subid = #{subid} |
| | | </if> |
| | |
| | | <if test="compensateTime != null "> |
| | | and compensate_time = #{compensateTime} |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectServiceSubtaskPreachformById" parameterType="Long" |
| | |
| | | #{compensateTime}, |
| | | </if> |
| | | </trim> |
| | | <where> |
| | | <if test="subid != null">subid = |
| | | where 1=1 |
| | | <if test="subid != null">and subid = |
| | | #{subid}, |
| | | </if> |
| | | <if test="taskid != null">taskid = |
| | | <if test="taskid != null">and taskid = |
| | | #{taskid}, |
| | | </if> |
| | | <if test="preachform != null">preachform = |
| | | <if test="preachform != null">and preachform = |
| | | #{preachform}, |
| | | </if> |
| | | <if test="remark != null">remark = |
| | | <if test="remark != null">and remark = |
| | | #{remark}, |
| | | </if> |
| | | <if test="orgid != null">orgid = |
| | | <if test="orgid != null">and orgid = |
| | | #{orgid}, |
| | | </if> |
| | | </where> |
| | | </update> |
| | | |
| | | |