zhaops 4 lat temu
rodzic
commit
5efa7bb116

+ 2 - 2
src/main/resources/mapper/BehospitalInfoMapper.xml

@@ -2797,7 +2797,7 @@
         FROM
         (SELECT
         be.*,
-        mci.status AS checkStatus
+        ifnull(mci.status,0) AS checkStatus
         FROM
         (
         SELECT DISTINCT
@@ -3791,7 +3791,7 @@
         t1.gmt_create AS gradeTime,
         t1.diagnose,
         t1.ward_name AS wardName,
-        t1.status AS checkStatus,
+        ifnull(t1.status,0) AS checkStatus,
         t2.age,
         t2.file_code AS fileCode
         FROM