This commit is contained in:
mashuai 2025-08-15 19:08:49 +08:00
parent 7d4c560eff
commit a637da88e6
2 changed files with 11 additions and 3 deletions

View File

@ -373,9 +373,16 @@ public class LeaseTaskServiceImpl implements ILeaseTaskService {
if(leaseApplyInfo.getIsApp() == null) { if(leaseApplyInfo.getIsApp() == null) {
if (taskStatus != null) { if (taskStatus != null) {
list = list.stream() // 如果taskStatus为3则查询list中状态为1和3的数据
.filter(item -> item.getTaskStatus().equals(taskStatus)) if (taskStatus.equals(3)) {
.collect(Collectors.toList()); list = list.stream()
.filter(item -> item.getTaskStatus().equals(1) || item.getTaskStatus().equals(3))
.collect(Collectors.toList());
} else {
list = list.stream()
.filter(item -> item.getTaskStatus().equals(taskStatus))
.collect(Collectors.toList());
}
} }
} }

View File

@ -392,6 +392,7 @@
case tt.task_status case tt.task_status
when 0 then '待审核' when 0 then '待审核'
when 6 then '审核中' when 6 then '审核中'
when 1 then '已完成'
when 3 then '已完成' when 3 then '已完成'
when 2 then '已驳回' when 2 then '已驳回'
when 5 then '待提交' when 5 then '待提交'