| | |
| | | <result property="mateNum" column="mate_num"/> |
| | | <result property="revisitBefore" column="revisit_before"/> |
| | | <result property="revisitAfter" column="revisit_after"/> |
| | | <result property="noVoiceNum" column="no_voice_num"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaTemplateVo"> |
| | |
| | | otherdata, |
| | | suitway, |
| | | mate_num, |
| | | no_voice_num, |
| | | submodule, language, note, isEnable, addUserID, addTime, modifyUserID, modifyTime, groupID, label_info, submoduleID, playType, icd10code, icd10codename, atuoTaskDayOffset, deptIds, dept_names, F_KSDM, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, assortid, parameter |
| | | from ivr_liba_template |
| | | </sql> |
| | |
| | | '%') |
| | | </if> |
| | | <if test="targetid != null ">and targetid = #{targetid}</if> |
| | | <if test="ID != null ">and id = #{ID}</if> |
| | | <if test="revisitAfter != null ">and revisit_after = #{revisitAfter}</if> |
| | | <if test="revisitBefore != null ">and revisit_before = #{revisitBefore}</if> |
| | | <if test="mateNum != null ">and mate_num = #{mateNum}</if> |
| | | <if test="mateNum != null and mateNum > 0">and mate_num = #{mateNum}</if> |
| | | <if test="suitway != null ">and suitway = #{suitway}</if> |
| | | <if test="targetname != null and targetname !='' ">and targetname = #{targetname}</if> |
| | | <if test="version != null and version !='' ">and version = #{version}</if> |
| | |
| | | <if test="assortid != null ">and assortid = #{assortid}</if> |
| | | <if test="parameter != null and parameter != ''">and parameter = #{parameter}</if> |
| | | <if test="tag != null and tag != ''">and tag = #{tag}</if> |
| | | <if test="noVoiceNum != null and noVoiceNum > 0">and no_voice_num = #{noVoiceNum}</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | <if test="mateNum != null ">mate_num</if> |
| | | <if test="revisitAfter != null ">revisit_after</if> |
| | | <if test="revisitBefore != null ">revisit_before</if> |
| | | <if test="noVoiceNum != null and noVoiceNum > 0 ">no_voice_num</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="templateName != null and templateName != ''">#{templateName},</if> |
| | |
| | | <if test="mateNum != null ">#{mateNum}</if> |
| | | <if test="revisitAfter != null ">#{revisitAfter}</if> |
| | | <if test="revisitBefore != null ">#{revisitBefore}</if> |
| | | <if test="noVoiceNum != null and noVoiceNum > 0">#{noVoiceNum}</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="tag != null">tag = #{tag},</if> |
| | | <if test="suitway != null">suitway = #{suitway},</if> |
| | | <if test="otherdata != null">otherdata = #{otherdata},</if> |
| | | <if test="mateNum != null ">mate_num = #{mateNum}</if> |
| | | <if test="revisitAfter != null ">revisit_after = #{revisitAfter}</if> |
| | | <if test="revisitBefore != null ">revisit_before = #{revisitBefore}</if> |
| | | <if test="mateNum != null ">mate_num = #{mateNum},</if> |
| | | <if test="revisitAfter != null ">revisit_after = #{revisitAfter},</if> |
| | | <if test="revisitBefore != null ">revisit_before = #{revisitBefore},</if> |
| | | <if test="noVoiceNum != null and noVoiceNum > 0 ">no_voice_num = #{noVoiceNum}</if> |
| | | </trim> |
| | | where ID = #{ID} |
| | | </update> |