Browse Source

sql逻辑调整

chengyao 3 năm trước cách đây
mục cha
commit
b9c2959df6
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  1. 2 3
      src/main/resources/mapper/BehospitalInfoMapper.xml

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

@@ -13989,7 +13989,7 @@
         t1.hospital_id AS hospitalId,
         t1.behospital_code AS behospitalCode,
         t1.bed_code AS bedCode,
-        t1.LEVEL AS LEVEL,
+        t1.level,
         t1.grade_type AS gradeType,
         t1.score_res AS scoreRes,
         t1.scoreBn,
@@ -14016,7 +14016,7 @@
         FROM
         (SELECT
         be.*,
-        b.LEVEL,
+        b.level,
         b.grade_type,
         b.score_res,
         b.gmt_create,
@@ -14242,7 +14242,6 @@
         b.score_res,
         b.`level`,
         b.gmt_create,
-        b.LEVEL,
         ifnull(mci.status,0) AS checkStatus,
         ifnull(hm_mci.status,0) AS mrStatus,
         mci.check_name as chName,