浏览代码

修复缺陷734

lyq 1 年之前
父节点
当前提交
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>
             </if>
         </where>
         </where>
         GROUP BY a.type
         GROUP BY a.type
-        UNION
+        UNION ALL
         SELECT COUNT(DISTINCT a.user_id) userId FROM centerdata_t_forest_linleader a
         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
         LEFT JOIN ${database_system}.sys_dept d ON d.dept_id = a.dept_id
         where a.lin_job != 'forest_lin_jy'
         where a.lin_job != 'forest_lin_jy'