From f47844c608afc6f5e21d882061cf1ca3a10d6301 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期五, 26 四月 2024 13:44:51 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- ycl-server/src/main/java/com/ycl/platform/controller/CalculateReportController.java | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/ycl-server/src/main/java/com/ycl/platform/controller/CalculateReportController.java b/ycl-server/src/main/java/com/ycl/platform/controller/CalculateReportController.java index 04330b7..2473c04 100644 --- a/ycl-server/src/main/java/com/ycl/platform/controller/CalculateReportController.java +++ b/ycl-server/src/main/java/com/ycl/platform/controller/CalculateReportController.java @@ -1,5 +1,6 @@ package com.ycl.platform.controller; +import com.ycl.platform.domain.form.CalculateReportBackfillForm; import com.ycl.system.domain.group.Update; import com.ycl.system.domain.group.Add; import org.springframework.security.access.prepost.PreAuthorize; @@ -58,10 +59,17 @@ return calculateReportService.page(query); } + @PostMapping("/backfill/money") + @ApiOperation(value = "鍥炲~鎵f閲戦", notes = "鍥炲~鎵f閲戦") + @PreAuthorize("@ss.hasPermi('system:calculate:report:backfill')") + public Result backfill(@Validated @RequestBody CalculateReportBackfillForm form) { + return calculateReportService.backfill(form); + } + @GetMapping("/{id}") @ApiOperation(value = "璇︽儏", notes = "璇︽儏") @PreAuthorize("@ss.hasPermi('system:calculate:report:detail')") - public Result detail(@PathVariable("id") String id) { + public Result detail(@PathVariable("id") Long id) { return calculateReportService.detail(id); } -- Gitblit v1.8.0