Browse Source

修改bug

wangzhinan 5 months ago
parent
commit
eec57afafd

+ 1 - 0
business/im-service/src/main/java/com/yihu/jw/im/service/ImService.java

@ -4487,6 +4487,7 @@ public class ImService {
                "FROM wlyy_outpatient op LEFT JOIN wlyy_consult a  ON a.relation_code = op.id \n" +
                " LEFT join wlyy_consult_team b on a.id = b.consult" +
                " LEFT JOIN base_patient d on op.patient = d.id " +
                " LEFT JOIN wlyy_outpatient_hospitalization oh on op.id= oh.outpatient_id " +
                " WHERE 1=1 ";
        if (status == 1) {
            sql += " and op.status = 0";