From fcf3e10ee95e51f04cd12924c802856b34890b85 Mon Sep 17 00:00:00 2001 From: laishajiang <12977614+laishajiang@user.noreply.gitee.com> Date: Tue, 12 Mar 2024 19:07:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AD=A6=E5=8A=A1=E4=BA=BA=E5=91=98=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E9=83=A8=E9=97=A8=E5=A2=9E=E5=8A=A0=E5=92=8C=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/biutag/lan/service/impl/PoliceUserServiceImpl.java | 3 ++- .../biutag/lan/validate/system/PoliceUserCreateValidate.java | 3 +++ .../biutag/lan/validate/system/PoliceUserUpdateValidate.java | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/mailbox-lan/src/main/java/com/biutag/lan/service/impl/PoliceUserServiceImpl.java b/mailbox-lan/src/main/java/com/biutag/lan/service/impl/PoliceUserServiceImpl.java index fc44264..7ad072e 100644 --- a/mailbox-lan/src/main/java/com/biutag/lan/service/impl/PoliceUserServiceImpl.java +++ b/mailbox-lan/src/main/java/com/biutag/lan/service/impl/PoliceUserServiceImpl.java @@ -259,7 +259,7 @@ public class PoliceUserServiceImpl implements IPoliceUserService { model.setDeptIds(createValidate.getDeptIds().toString()); model.setDeptName(deptVo.getName()); //数据部门 - model.setDataDeptId(createValidate.getDeptIds()); + model.setDataDeptId(createValidate.getDeptDataIds()); this.batchSaveDepartByEmpNo(createValidate.getEmpNo(), Collections.singletonList(createValidate.getDeptIds())); model.setPostIds(createValidate.getPostIds().toString()); PostVo post = iPostService.detail(createValidate.getPostIds()); @@ -323,6 +323,7 @@ public class PoliceUserServiceImpl implements IPoliceUserService { DeptVo deptVo = deptService.detail(updateValidate.getDeptIds()); model.setDeptIds(updateValidate.getDeptIds().toString()); model.setDeptName(deptVo.getName()); + model.setDataDeptId(updateValidate.getDeptDataIds()); if(StringUtils.isNotNull(updateValidate.getPostIds())) { model.setPostIds(updateValidate.getPostIds().toString()); diff --git a/mailbox-lan/src/main/java/com/biutag/lan/validate/system/PoliceUserCreateValidate.java b/mailbox-lan/src/main/java/com/biutag/lan/validate/system/PoliceUserCreateValidate.java index 7021afd..8a6efad 100644 --- a/mailbox-lan/src/main/java/com/biutag/lan/validate/system/PoliceUserCreateValidate.java +++ b/mailbox-lan/src/main/java/com/biutag/lan/validate/system/PoliceUserCreateValidate.java @@ -67,6 +67,9 @@ public class PoliceUserCreateValidate implements Serializable { @ApiModelProperty(value = "部门ID") private Integer deptIds; + @ApiModelProperty(value = "数据部门ID") + private Integer deptDataIds; + @ApiModelProperty(value = "岗位ID") private Integer postIds; diff --git a/mailbox-lan/src/main/java/com/biutag/lan/validate/system/PoliceUserUpdateValidate.java b/mailbox-lan/src/main/java/com/biutag/lan/validate/system/PoliceUserUpdateValidate.java index 9254a5b..7a87d92 100644 --- a/mailbox-lan/src/main/java/com/biutag/lan/validate/system/PoliceUserUpdateValidate.java +++ b/mailbox-lan/src/main/java/com/biutag/lan/validate/system/PoliceUserUpdateValidate.java @@ -66,6 +66,9 @@ public class PoliceUserUpdateValidate implements Serializable { @ApiModelProperty(value = "部门ID") private Integer deptIds; + @ApiModelProperty(value = "数据部门ID") + private Integer deptDataIds; + @ApiModelProperty(value = "岗位ID") private Integer postIds;