| | |
| | | return AjaxResult.success(res); |
| | | } |
| | | @ApiOperation(value = "充电时段统计-导出", tags = {"管理后台-财务结算"}) |
| | | @PostMapping("/export") |
| | | @PutMapping("/export") |
| | | public void export(@RequestBody ChargingListQuery dto) |
| | | { |
| | | ChargingOrderTimeVO res = chargingOrderService.chargingList(dto); |
| | |
| | | } |
| | | @GetMapping(value = "/settlementTotal") |
| | | @ApiOperation(value = "结算汇总-列表查询", tags = {"管理后台-财务结算"}) |
| | | @ApiParam(name = "time", value = "汇报时间2024-01-01 00:00:00") |
| | | @ApiParam(name = "time", value = "汇报时间2024-01") |
| | | public AjaxResult<SettlementTotalVO> settlementTotal(String time) { |
| | | time = time+"-01 00:00:00"; |
| | | SettlementTotalVO res = chargingOrderService.settlementTotal(time); |
| | | return AjaxResult.success(res); |
| | | } |
| | | @GetMapping(value = "/settlementTotalR") |
| | | public R<SettlementTotalVO> settlementTotalR( String time) { |
| | | public R<SettlementTotalVO> settlementTotalR(String time) { |
| | | time = time+"-01 00:00:00"; |
| | | SettlementTotalVO res = chargingOrderService.settlementTotal(time); |
| | | return R.ok(res); |
| | | } |