Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-08-25 10:00:28 +08:00
commit 26f551c61e
1 changed files with 2 additions and 1 deletions

View File

@ -288,7 +288,8 @@ public class AbilityCenterControllerV3 {
if (cityApply && resourceDeptType == 2) {
cityApplyCity = Boolean.TRUE; // 市区申请市区
}
if (!cityApply && (user.getDeptId() != sysDeptDTO.getId())) { // 非市申请且发起人与资源所属部门不一致
SysDeptDTO userDept = sysDeptService.get(user.getDeptId());
if (!cityApply && (userDept.getDistrict() != sysDeptDTO.getDistrict())) { // 非市申请且发起人与资源所属区县不一致
crossRegion = Boolean.TRUE; // 跨区
}
}