From c81bc4b256af86289c0071c752adb48a8871278d Mon Sep 17 00:00:00 2001 From: 叶松 <2217086471@qq.com> Date: 星期四, 12 十月 2023 16:58:14 +0800 Subject: [PATCH] AGV监控状态判断,模具修改 --- hd/pipe/StaffManage/src/main/resources/mapping/PlatUserMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hd/pipe/StaffManage/src/main/resources/mapping/PlatUserMapper.xml b/hd/pipe/StaffManage/src/main/resources/mapping/PlatUserMapper.xml index 4680268..8ff8540 100644 --- a/hd/pipe/StaffManage/src/main/resources/mapping/PlatUserMapper.xml +++ b/hd/pipe/StaffManage/src/main/resources/mapping/PlatUserMapper.xml @@ -866,7 +866,7 @@ <select id="groupUserWorking" resultType="com.thhy.staff.modules.biz.platuser.entity.GroupWorking"> select sg.group_id as groupId,sg.group_name as groupName, - (select count(user_id) from sys_group_user where group_id = sg.group_id) as groupUserCount + (select count(user_id) from sys_group_user where and is_use = 1 and group_id = sg.group_id) as groupUserCount from sys_group sg left join sys_com_depart sd on sg.depart_id = sd.depart_id where sg.is_use = 1 and sd.company_id = #{companyId} -- Gitblit v1.9.3