sinake
8 天以前 222df20f3bd705fe84f1b9373cc6c7e9c7dd0763
ruoyi-project/src/main/resources/mapper/project/ServiceMedicalevaluationMapper.xml
@@ -222,9 +222,9 @@
        sm.assess_state
        FROM service_donatebaseinfo sb
        LEFT JOIN service_medicalevaluation sm ON sb.ID = sm.InfoID and sm.del_flag = 0
        and sb.del_flag = 0 and sm.ID is not null
         and sm.ID is not null
        <where>
            sb.termination_case = 0
            sb.termination_case = 0 and sb.del_flag = 0
            <if test="infoid != null">AND sb.ID = #{infoid}</if>
            <if test="inpatientno != null">AND sb.InpatientNo = #{inpatientno}</if>
            <if test="currentMedicalInstitution != null">AND sb.current_medical_institution = #{currentMedicalInstitution}</if>