陈昶聿
9 天以前 7aaf95cc2f5b4c18b67cd0503919461022c5d582
smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml
@@ -1931,6 +1931,10 @@
            AND visit_time >= DATE(#{startTime})
            AND visit_time < DATE_ADD(DATE(#{endTime}), INTERVAL 1 DAY)
        </if>
        <if test="hospitalStartTime != null and hospitalEndTime!=null">
            AND endtime >= DATE(#{hospitalStartTime})
            AND endtime &lt; DATE_ADD(DATE(#{hospitalEndTime}), INTERVAL 1 DAY)
        </if>
        <if test="visitDeptCode != null">and visit_dept_code = #{visitDeptCode}</if>
        <if test="visitDeptName != null">and visit_dept_name = #{visitDeptName}</if>
        <if test="isabnormal != null">and isabnormal = #{isabnormal}</if>