| | |
| | | |
| | | <select id="selectServiceTaskByTaskid" parameterType="Long" resultMap="ServiceTaskResult"> |
| | | <include refid="selectServiceTaskVo"/> |
| | | where taskid = #{taskid} |
| | | where taskid = #{taskid} and del_flag=0 |
| | | </select> |
| | | |
| | | <insert id="insertServiceTask" parameterType="com.smartor.domain.ServiceTask" useGeneratedKeys="true" |
| | |
| | | </if> |
| | | <if test="leavehospitaldistrictcode != null ">leavehospitaldistrictcode = #{leavehospitaldistrictcode}, |
| | | </if> |
| | | <if test="compensateDate != null and compensateDate != ''">compensate_date = #{compensateDate}</if> |
| | | <if test="sendDay != null ">send_day = #{sendDay}</if> |
| | | <if test="appltype != null ">appltype = #{appltype}</if> |
| | | <if test="patCycle != null ">pat_cycle = #{patCycle}</if> |
| | | <if test="compensateDate != null and compensateDate != ''">compensate_date = #{compensateDate},</if> |
| | | <if test="sendDay != null ">send_day = #{sendDay},</if> |
| | | <if test="appltype != null ">appltype = #{appltype},</if> |
| | | <if test="patCycle != null ">pat_cycle = #{patCycle},</if> |
| | | </trim> |
| | | where taskid = #{taskid} |
| | | </update> |