소스 검색

修复缺陷734

lyq 2 년 전
부모
커밋
52b606bf4c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/resources/mapper/commandcenter/CommandCentreMapper.xml

+ 1 - 1
src/main/resources/mapper/commandcenter/CommandCentreMapper.xml

@@ -14,7 +14,7 @@
             </if>
         </where>
         GROUP BY a.type
-        UNION
+        UNION ALL
         SELECT COUNT(DISTINCT a.user_id) userId FROM centerdata_t_forest_linleader a
         LEFT JOIN ${database_system}.sys_dept d ON d.dept_id = a.dept_id
         where a.lin_job != 'forest_lin_jy'