| | |
| | | /** |
| | | * 分页查询 |
| | | * @param page 分页对象 |
| | | * @param contract 合同管理 |
| | | * @param queryDTO 合同管理 |
| | | * @return |
| | | */ |
| | | @Operation(summary = "分页查询" , description = "分页查询" ) |
| | |
| | | @GetMapping("/listByBusId/{busId}" ) |
| | | public R listByBusId(@PathVariable("busId" ) Long busId) { |
| | | return R.ok(contractService.listByScope(Wrappers.<Contract>lambdaQuery().eq(Contract::getPartyAId,busId) |
| | | .gt(Contract::getBillingAmout,new BigDecimal("0")))); |
| | | .eq(Contract::getPartyBId,SecurityUtils.getUser().getCompId()) |
| | | .gt(Contract::getBillingAmout,new BigDecimal("0")) |
| | | .apply("paid_amount < billing_amout"))); |
| | | } |
| | | |
| | | /** |