审批配配置列表不过滤组织机构

This commit is contained in:
syruan 2026-01-05 21:11:26 +08:00
parent dc7b6c0ecf
commit 72b6d2ace7
2 changed files with 4 additions and 3 deletions

View File

@ -28,8 +28,9 @@ public class ApprovalProcessServiceImpl implements IApprovalProcessService {
@Override
public List<ApprovalProcess> selectProcessList(ApprovalProcess process) {
Long deptId = SecurityUtils.getLoginUser().getSysUser().getDeptId();
process.setDeptId(deptId);
//审批流配置只给管理员开放暂不过滤组织机构
//Long deptId = SecurityUtils.getLoginUser().getSysUser().getDeptId();
//process.setDeptId(deptId);
return processMapper.selectProcessList(process);
}

View File

@ -214,7 +214,7 @@ public class RepairServiceImpl implements RepairService {
// bean.setCompanyId(deptId);
// }
if(ADMIN_ID.equals(userId)){
bean.setCompanyId(1L);
bean.setCompanyId(null);
}else{
bean.setCompanyId(deptId);
}