This commit is contained in:
mashuai 2025-08-15 10:22:33 +08:00
parent 76c64903b8
commit 0edf22a5a5
1 changed files with 2 additions and 3 deletions

View File

@ -104,7 +104,6 @@ public class MaterialLeaseInfoServiceImpl implements MaterialLeaseInfoService {
String username = SecurityUtils.getLoginUser().getUsername();
// 根据用户名判断用户是否为班组长
BmTeam teamData = materialMachineMapper.getTeamData(username);
/*
if (teamData == null) {
// 根据用户名查询项目部信息
String departId = mapper.getDepartId(username);
@ -113,7 +112,7 @@ public class MaterialLeaseInfoServiceImpl implements MaterialLeaseInfoService {
if (!CollectionUtils.isEmpty(projectIdList)) {
leaseApplyInfo.setProjectIdList(projectIdList);
}
}*/
}
List<MaterialLeaseApplyInfo> list = materialLeaseInfoMapper.selectLeaseApplyInfoList(leaseApplyInfo);
// 利用Stream API进行降序排序
List<MaterialLeaseApplyInfo> sortedList = list.stream()