| | |
| | | <result property="recallcount" column="recallcount"/> |
| | | <result property="instruction" column="instruction"/> |
| | | <result property="sendDay" column="send_day"/> |
| | | <result property="deptCode" column="dept_code"/> |
| | | |
| | | </resultMap> |
| | | |
| | |
| | | libtemplateid, |
| | | libtemplatename, |
| | | taskname, |
| | | dept_code, |
| | | targetid, |
| | | targetname, |
| | | templateName, |
| | |
| | | <if test="revisitAfter != null and revisitAfter != ''">and revisit_after = #{revisitAfter}</if> |
| | | <if test="noVoiceNum != null ">and no_voice_num = #{noVoiceNum}</if> |
| | | <if test="recallcount != null">and recallcount = #{prologrecallcountue}</if> |
| | | <if test="deptCode != null">and dept_code = #{deptCode}</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | <if test="libtemplatename != null ">libtemplatename,</if> |
| | | <if test="instruction != null ">instruction,</if> |
| | | <if test="sendDay != null ">send_day,</if> |
| | | <if test="deptCode != null">dept_code,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="taskid != null">#{taskid},</if> |
| | |
| | | <if test="libtemplatename != null ">#{libtemplatename},</if> |
| | | <if test="instruction != null ">#{instruction},</if> |
| | | <if test="sendDay != null ">#{sendDay},</if> |
| | | <if test="deptCode != null">#{deptCode},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="libtemplatename != null ">libtemplatename = #{libtemplatename},</if> |
| | | <if test="instruction != null ">instruction = #{instruction},</if> |
| | | <if test="sendDay != null ">send_day = #{sendDay},</if> |
| | | <if test="deptCode != null">dept_code = #{deptCode},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |