zhaops %!s(int64=4) %!d(string=hai) anos
pai
achega
5efa7bb116
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/main/resources/mapper/BehospitalInfoMapper.xml

+ 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