smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml
@@ -1091,4 +1091,16 @@ ) AS combined_data </select> <!-- 查询三个维度任意一个未处理的出院患者 --> <select id="selectNeedProcessList" resultMap="PatMedInhospResult"> SELECT * FROM pat_med_inhosp WHERE inhospstate = '1' AND fuflag = '1' AND del_flag = '0' AND ( dept_check_flag = '0' OR ward_check_flag = '0' OR diag_check_flag = '0' ) </select> </mapper>