| | |
| | | <select id="selectIvrTaskcallList" parameterType="com.smartor.domain.IvrTaskSingle" resultMap="IvrTaskcallResult"> |
| | | <include refid="selectIvrTaskcallVo"/> |
| | | <where> |
| | | del_flag=0 |
| | | <if test="sendname != null and sendname != ''">and sendname like concat('%', #{sendname}, '%')</if> |
| | | <if test="phone != null and phone != ''">and phone = #{phone}</if> |
| | | <if test="sex != null and sex != ''">and sex = #{sex}</if> |
| | |
| | | <if test="operator != null and operator != ''">and operator = #{operator}</if> |
| | | <if test="operatorNo != null and operatorNo != ''">and operator_no = #{operatorNo}</if> |
| | | <if test="wechat != null and wechat != ''">and wechat = #{wechat}</if> |
| | | <if test="hospType != null and hospType != ''">and hosp_type = #{hospType}</if> |
| | | </where> |
| | | order by update_time desc,id desc |
| | | </select> |
| | |
| | | WHERE jt.begantime > #{beganTime} |
| | | AND jt.begantime <= #{endTime} |
| | | AND sendstate IS NULL |
| | | AND del_flag = 0 |
| | | </select> |
| | | |
| | | |