From d61a829414ed87d1d5279cccbf0ada80d235fc28 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期四, 12 十二月 2024 17:26:43 +0800 Subject: [PATCH] 改类名Intake*为Intaker*,因为有重名现象发生 --- pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/intaker/IntakerCtrl.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/intaker/IntakeCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/intaker/IntakerCtrl.java similarity index 91% rename from pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/intaker/IntakeCtrl.java rename to pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/intaker/IntakerCtrl.java index 2fb3f45..291b0f5 100644 --- a/pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/intaker/IntakeCtrl.java +++ b/pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/intaker/IntakerCtrl.java @@ -25,12 +25,12 @@ @RestController @RequestMapping(path="intake") @RequiredArgsConstructor -public class IntakeCtrl { +public class IntakerCtrl { - private IntakeSv sv; + private IntakerSv sv; @Autowired - public void setSv(IntakeSv sv){ + public void setSv(IntakerSv sv){ this.sv = sv ; } @@ -41,7 +41,7 @@ */ @GetMapping(path = "/amountOfDay") @SsoAop() - public BaseResponse<QueryResultVo<List<VoDayIntakeAmount>>> amountOfDay(IntakeQo qo) throws Exception { + public BaseResponse<QueryResultVo<List<VoDayIntakeAmount>>> amountOfDay(IntakerQo qo) throws Exception { String yearMonth = qo.getYearMonth(); if(yearMonth == null || yearMonth.trim().equals("")) { return BaseResponseUtils.buildErrorMsg("鏌ヨ鏉′欢骞存湀涓嶈兘涓虹┖"); @@ -63,7 +63,7 @@ */ @GetMapping(path = "/amountOfMonth") @SsoAop() - public BaseResponse<QueryResultVo<List<VoMonthAmount>>> amountOfMonth(IntakeQo qo) throws Exception { + public BaseResponse<QueryResultVo<List<VoMonthAmount>>> amountOfMonth(IntakerQo qo) throws Exception { if(qo.getYear() == null) { return BaseResponseUtils.buildErrorMsg("鏌ヨ鏉′欢骞村害涓嶈兘涓虹┖"); } -- Gitblit v1.8.0