浏览代码

sql逻辑调整

chengyao 3 年之前
父节点
当前提交
b9c2959df6
共有 1 个文件被更改,包括 2 次插入3 次删除
  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,