|
@@ -64,10 +64,12 @@ public class MonthlyReconciliationController extends BaseController {
|
|
if (!StringUtils.isBlank(vo.getPurchaseServices())) {
|
|
if (!StringUtils.isBlank(vo.getPurchaseServices())) {
|
|
lw.eq(MonthlyReconciliation::getPurchaseServices, vo.getPurchaseServices());
|
|
lw.eq(MonthlyReconciliation::getPurchaseServices, vo.getPurchaseServices());
|
|
}
|
|
}
|
|
- if(!ObjectUtils.isEmpty(vo.getStartTime()) && !ObjectUtils.isEmpty(vo.getStartTime())){
|
|
|
|
- lw.between(MonthlyReconciliation::getPlanDemandSubTime,vo.getStartTime(),vo.getEntTime());
|
|
|
|
|
|
+ if(!ObjectUtils.isEmpty(vo.getStartTime())){
|
|
|
|
+ lw.ge(MonthlyReconciliation::getPlanDemandSubTime,vo.getStartTime());
|
|
|
|
+ }
|
|
|
|
+ if(!ObjectUtils.isEmpty(vo.getStartTime())){
|
|
|
|
+ lw.le(MonthlyReconciliation::getPlanDemandSubTime,vo.getEntTime());
|
|
}
|
|
}
|
|
-
|
|
|
|
IPage<MonthlyReconciliation> page = monthlyReconciliationService.page(new Page<>(vo.getPageNum(), vo.getPageSize()), lw);
|
|
IPage<MonthlyReconciliation> page = monthlyReconciliationService.page(new Page<>(vo.getPageNum(), vo.getPageSize()), lw);
|
|
if (!ObjectUtils.isEmpty(page.getRecords())) {
|
|
if (!ObjectUtils.isEmpty(page.getRecords())) {
|
|
page.setRecords(page.getRecords().stream().map(dto -> {
|
|
page.setRecords(page.getRecords().stream().map(dto -> {
|