| | |
| | | LambdaQueryWrapper<DeviceLeasingLedger> wrapper = Wrappers.lambdaQuery(); |
| | | wrapper.eq(StrUtil.isNotBlank(deviceLeasingLedger.getContractCode()),DeviceLeasingLedger::getContractCode,deviceLeasingLedger.getContractCode()); |
| | | wrapper.eq(StrUtil.isNotBlank(deviceLeasingLedger.getLedgerCode()),DeviceLeasingLedger::getLedgerCode,deviceLeasingLedger.getLedgerCode()); |
| | | return R.ok(deviceLeasingLedgerService.page(page, wrapper)); |
| | | wrapper.orderByDesc(DeviceLeasingLedger::getCreateTime); |
| | | return R.ok(deviceLeasingLedgerService.page(page, wrapper)); |
| | | } |
| | | |
| | | |