| | |
| | | <select id="selectPatTaskRelevanceList" parameterType="com.smartor.domain.PatTaskRelevance" |
| | | resultMap="PatTaskRelevanceResult"> |
| | | <include refid="selectPatTaskRelevanceVo"/> |
| | | <where> |
| | | del_flag=0 |
| | | where 1=1 |
| | | and del_flag = 0 |
| | | <if test="patid != null ">and pat_id = #{patid}</if> |
| | | <if test="orgid != null ">and orgid = #{orgid}</if> |
| | | <if test="taskId != null ">and task_id = #{taskId}</if> |
| | |
| | | <if test="visitTime != null ">and visit_time = #{visitTime}</if> |
| | | <if test="receiveTime != null ">and receive_time = #{receiveTime}</if> |
| | | <if test="operatePerson != null and operatePerson != ''">and operate_person = #{operatePerson}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectPatTaskRelevanceById" parameterType="Long" resultMap="PatTaskRelevanceResult"> |