From 5d83cc3b372fc21e5af030a801b0bd03a1d425ce Mon Sep 17 00:00:00 2001 From: wangxy <1356089412@qq.com> Date: Mon, 12 Aug 2024 10:17:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=BD=BD=E4=BD=93=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/system/SysUserMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml index 40070fc..d9bcf12 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml @@ -320,8 +320,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" SUM (CASE WHEN examine = 2 THEN 1 ELSE 0 END) AS ydj, SUM (CASE WHEN examine = 3 THEN 1 ELSE 0 END) AS ysb, SUM (CASE WHEN examine = 0 THEN 1 ELSE 0 END) AS ysh, - (SELECT SUM (CASE WHEN leavestate = 1 THEN 1 ELSE 0 END) - FROM td_leave t where t.user_id=s.user_id) as ylz + ( SELECT SUM ( CASE WHEN leavestate = 1 THEN 1 ELSE 0 END ) FROM td_leave t ) + as ylz FROM ${prefix}sys_user s