From 144d79083c0ce0384bb3ced20a997cba3ae38e49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E7=8E=89=E7=90=A6?= <7507756+jiang_yuqi@user.noreply.gitee.com> Date: Sat, 28 Jun 2025 10:35:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/manage/SurProjectAttendanceDataMapper.xml | 4 ++-- .../mapper/manage/SurProjectAttendanceUserMapper.xml | 4 ++-- .../main/java/com/yanzhu/manage/api/vo/LabourGroupReqVo.java | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SurProjectAttendanceDataMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SurProjectAttendanceDataMapper.xml index c0b362fe..945b3370 100644 --- a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SurProjectAttendanceDataMapper.xml +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SurProjectAttendanceDataMapper.xml @@ -674,10 +674,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" select '1' as craftType, u.state as useStatus, count(1) as total from sur_project_attendance_user u left join sur_project_attendance_group g on g.serverid = u.groupId - where u.cfgid=#{proId} and u.specWorkType = 1 and g.companyTypeId != 1 + where u.cfgid=#{proId} and u.specWorkType = 1 and g.companyTypeId in (4,5) group by u.state UNION ALL select '2' as craftType, u.state as useStatus, count(1) as total from sur_project_attendance_user u left join sur_project_attendance_group g on g.serverid = u.groupId - where u.cfgid=#{proId} and u.specWorkType = 0 and g.companyTypeId != 1 + where u.cfgid=#{proId} and u.specWorkType = 0 and g.companyTypeId in (4,5) group by u.state UNION ALL select '3' as craftType, u.state as useStatus, count(1) as total from sur_project_attendance_user u diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/api/vo/LabourGroupReqVo.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/api/vo/LabourGroupReqVo.java index 5938a070..1487f000 100644 --- a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/api/vo/LabourGroupReqVo.java +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/api/vo/LabourGroupReqVo.java @@ -24,7 +24,7 @@ public class LabourGroupReqVo { /** 分包商类型不能为空 */ @NotBlank(message = "分包商类型不能为空") - @Pattern(regexp = "1|2|3|4|5|6|7|8", message = "分包商类型错误,1总包|2劳务分包|8监理") + @Pattern(regexp = "0|1|2|4|5|6|7|8|9|10|11|99", message = "分包商类型错误,0:建设单位;1:施工单位;10:设计单位;11:设备分包;2:监理单位;4:劳务分包;5:专业分包;6:材料分包;7:后勤分包;8:特殊设备;9:勘探单位;99:其他单位") private String companyTypeId; private String bizLicense;