Jelajahi Sumber

厦门五院个性化需求 出院人数统计新增主刀医生、手术级别字段

hecc 3 tahun lalu
induk
melakukan
fe1c5da223
1 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 4 4
      src/main/resources/mapper/BehospitalInfoMapper.xml

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

@@ -7805,8 +7805,8 @@
     <select id="leaveHosMRPage" resultType="com.diagbot.dto.QcResultShortDTO">
         SELECT
         t.*,
-        t4.operation_doctor_id AS operationDoctor,
-        t4.operation_level AS operationLevel
+        t4.operation_doctor_id,
+        t4.operation_level
         FROM
         (SELECT DISTINCT
         t1.hospital_id AS hospitalId,
@@ -8049,10 +8049,10 @@
             AND t.`level` = #{qcResultShortPageVO.level}
         </if>
         <if test="qcResultShortPageVO.operationDoctor != null and qcResultShortPageVO.operationDoctor != ''">
-            AND t4.`operationDoctor` = #{qcResultShortPageVO.operationDoctor}
+            AND t4.`operation_doctor_id` = #{qcResultShortPageVO.operationDoctor}
         </if>
         <if test="qcResultShortPageVO.operationLevel != null and qcResultShortPageVO.operationLevel != ''">
-            AND t4.`operationLevel` = #{qcResultShortPageVO.operationLevel}
+            AND t4.`operation_level` = #{qcResultShortPageVO.operationLevel}
         </if>
     </select>