| | |
| | | <select id="selectSvyTaskList" parameterType="com.smartor.domain.SvyTask" resultMap="SvyTaskResult"> |
| | | <include refid="selectSvyTaskVo"/> |
| | | WHERE 1=1 |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | |
| | | <if test="svrtaskid != null ">and svrtaskid = #{svrtaskid}</if> |
| | | <if test="taskName != null and taskName != ''">and task_name like concat('%', #{taskName}, '%')</if> |
| | | <if test="templateid != null and templateid != ''">and templateid = #{templateid}</if> |
| | | <if test="templatename != null and templatename != ''">and templatename like concat('%', #{templatename}, |
| | | AND '%') |
| | | <if test="templatename != null and templatename != ''"> |
| | | and templatename like concat('%', #{templatename},'%') |
| | | </if> |
| | | <if test="labelinfo != null and labelinfo != ''">and labelinfo = #{labelinfo}</if> |
| | | <if test="state != null ">and state = #{state}</if> |
| | |
| | | <if test="unexecuted != null ">and unexecuted = #{unexecuted}</if> |
| | | <if test="fail != null ">and fail = #{fail}</if> |
| | | <if test="patientid != null and patientid != ''">and patientid = #{patientid}</if> |
| | | <if test="patientname != null and patientname != ''">and patientname like concat('%', #{patientname}, |
| | | AND '%') |
| | | <if test="patientname != null and patientname != ''"> |
| | | and patientname like concat('%', #{patientname},'%') |
| | | </if> |
| | | <if test="addtime != null ">and addtime = #{addtime}</if> |
| | | <if test="checkuserid != null and checkuserid != ''">and checkuserid = #{checkuserid}</if> |
| | | <if test="checkusername != null and checkusername != ''">and checkusername like concat('%', |
| | | #{checkusername}, '%') |
| | | <if test="checkusername != null and checkusername != ''"> |
| | | and checkusername like concat('%',#{checkusername}, '%') |
| | | </if> |
| | | <if test="checktime != null ">and checktime = #{checktime}</if> |
| | | <if test="type != null and type != ''">and type = #{type}</if> |
| | |
| | | <if test="sendType != null ">and send_type = #{sendType}</if> |
| | | <if test="sendState != null and sendState != ''">and send_state = #{sendState}</if> |
| | | <if test="param != null and param != ''">and param = #{param}</if> |
| | | <if test="sendTimeSlot != null and sendTimeSlot != ''">and send_time_slot like concat('%', #{sendTimeSlot}, |
| | | AND '%') |
| | | <if test="sendTimeSlot != null and sendTimeSlot != ''"> |
| | | and send_time_slot like concat('%', #{sendTimeSlot},'%') |
| | | </if> |
| | | <if test="libtemplateid != null ">and libtemplateid = #{libtemplateid}</if> |
| | | <if test="libtemplatename != null and libtemplatename != ''">and libtemplatename = #{libtemplatename}</if> |