Browse Source

修复缺陷734

lyq 1 year ago
parent
commit
52b606bf4c
1 changed files with 1 additions and 1 deletions
  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'