| | |
| | | <result property="isSend" column="is_send"/> |
| | | <result property="sendState" column="send_state"/> |
| | | <result property="param" column="param"/> |
| | | <result property="hospType" column="hosp_type"/> |
| | | <result property="hospno" column="hospno"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrTaskVo"> |
| | |
| | | checkusername, |
| | | checktime, |
| | | type, |
| | | hosp_type, |
| | | hospno, |
| | | typename, |
| | | usebqsms, |
| | | usebhsms, |
| | |
| | | <if test="isupload != null ">and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="hospType != null and hospType != ''">and hosp_type = #{hospType}</if> |
| | | <if test="hospno != null and hospno != ''">and orgid = #{hospno}</if> |
| | | </where> |
| | | order by update_time desc,taskid desc |
| | | </select> |
| | |
| | | <if test="isSend != null">is_send,</if> |
| | | <if test="sendState != null">send_state,</if> |
| | | <if test="param != null">param,</if> |
| | | <if test="hospType != null and hospType != ''">hosp_type,</if> |
| | | <if test="hospno != null and hospno != ''">hospno,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="taskName != null">#{taskName},</if> |
| | |
| | | <if test="isSend != null">#{isSend},</if> |
| | | <if test="sendState != null">#{sendState},</if> |
| | | <if test="param != null">#{param},</if> |
| | | <if test="hospType != null and hospType != ''">#{hospType},</if> |
| | | <if test="hospno != null and hospno != ''">#{hospno},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="isSend != null">is_send = #{isSend},</if> |
| | | <if test="sendState != null">send_state = #{sendState},</if> |
| | | <if test="param != null">param = #{param},</if> |
| | | <if test="hospType != null and hospType != ''">hosp_type = #{hospType},</if> |
| | | <if test="hospno != null and hospno != ''">hospno = #{hospno},</if> |
| | | </trim> |
| | | where taskid = #{taskid} |
| | | </update> |