app领用记录查询bug修复
This commit is contained in:
parent
898ed313e6
commit
f20c5d54d0
|
|
@ -208,12 +208,15 @@ public class LeaseTaskServiceImpl implements ILeaseTaskService {
|
|||
.filter(item -> containsKeyword(item, keyWord))
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
if(leaseApplyInfo.getIsApp()==null){
|
||||
if (taskStatus != null) {
|
||||
list = list.stream()
|
||||
.filter(item -> item.getTaskStatus().equals(taskStatus))
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -448,8 +448,8 @@
|
|||
<if test="costBearingParty != null and costBearingParty != ''">and lai.cost_bearing_party =
|
||||
#{costBearingParty}
|
||||
</if>
|
||||
<if test="isApp != null and taskStatus==1">and (tt.task_status = 0 or tt.task_status = 1 or tt.task_status = 2) </if>
|
||||
<if test="isApp != null and taskStatus==3">and (tt.task_status = 3 or tt.task_status = 4)</if>
|
||||
<if test="isApp != null and taskStatus==1">and (tt.task_status = 0 or tt.task_status = 6) </if>
|
||||
<if test="isApp != null and taskStatus==3">and (tt.task_status = 1 )</if>
|
||||
GROUP BY lai.id
|
||||
ORDER BY tt.task_status,tt.create_time desc
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Reference in New Issue