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;