退料问题修复

This commit is contained in:
hongchao 2025-08-13 18:41:31 +08:00
parent 37023bbae4
commit 7712e6173d
1 changed files with 1 additions and 1 deletions

View File

@ -563,7 +563,7 @@ public class LeaseTaskServiceImpl implements ILeaseTaskService {
Long userId = SecurityUtils.getLoginUser().getUserid();
Long deptId = SecurityUtils.getLoginUser().getSysUser().getDeptId();
leaseApplyInfo.setUserId(userId == 1 ? null : userId);
leaseApplyInfo.setDeptId(deptId == 1 ? null : deptId);
leaseApplyInfo.setDeptId((userId == 1 || deptId == 101) ? null : deptId);
log.info("用户id为{}",userId);
List<LeaseApplyInfo> list = mapper.selectAuditLeaseApplyInfoList(leaseApplyInfo);
try {