소스 검색

条目缺陷质控详情页导出到excel

zhaops 4 년 전
부모
커밋
17fc6f2adb
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/main/resources/mapper/BehospitalInfoMapper.xml

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

@@ -5077,6 +5077,9 @@
         <if test="qcResultShortPageVO.checkStatus != null">
             AND t.checkStatus = #{qcResultShortPageVO.checkStatus}
         </if>
+        GROUP BY
+        t.behDeptId,
+        t.behDeptName
         )f2
         WHERE
         f1.behDeptId = f2.behDeptId