Browse Source

bug处理

chengyao 4 years ago
parent
commit
d5bda7c8d7
1 changed files with 2 additions and 6 deletions
  1. 2 6
      src/main/resources/mapper/BehospitalInfoMapper.xml

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

@@ -5190,7 +5190,7 @@
     <select id="getAge" resultType="java.util.Map">
         SELECT
         a.behospital_code as behospitalCode,
-        IF(a.age is null, null,CONCAT( a.age,IF(a.age_unit is null, "",a.age_unit)))as age,
+        IF(a.age is null, null,CONCAT( a.age,IF(a.age_unit is null, "",a.age_unit)))as age
         FROM
         med_home_page a
         WHERE
@@ -5237,11 +5237,7 @@
         t1.mrName,
         t1.chTime,
         t1.mrTime,
-        <if test="qcResultShortPageVO.leaveHosType != null and qcResultShortPageVO.leaveHosType !=1">
-            t2.age,
-        </if>
-
-        t1.file_code AS fileCode
+         t1.file_code AS fileCode
         FROM
         (
         SELECT be.*,