wuzeyu
2024-07-24 4c649e1e6fcaa7d8952e84ef6a909a546a1a52cf
pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/records/intakeAmountDay/IntakeAmountDayCtrl.java
@@ -30,7 +30,7 @@
 * @Description
 */
@Slf4j
@Tag(name = "取水口日取水量漏损查询", description = "取水口日取水量漏损查询")
@Tag(name = "取水口日取水量漏损量查询", description = "取水口日取水量漏损量查询")
@RestController
@RequestMapping(path = "intakeAmountDay")
public class IntakeAmountDayCtrl {
@@ -39,12 +39,12 @@
    private IntakeAmountDaySv intakeAmountDaySv;
    /**
     * 根据指定条件获取取水口日取水量漏损列表(历史)
     * 根据指定条件获取取水口日取水量漏损量列表(历史)
     *
     * @param vo 查询条件
     * @return 符合条件的取水口日取水量漏损列表(历史)
     * @return 符合条件的取水口日取水量漏损量列表(历史)
     */
    @Operation(summary = "获得一页取水口日取水量漏损记录", description = "返回一页取水口日取水量漏损数据")
    @Operation(summary = "获得一页取水口日取水量漏损量记录", description = "返回一页取水口日取水量漏损量数据")
    @ApiResponses(value = {
            @ApiResponse(
                    responseCode = ResultCodeMsg.RsCode.SUCCESS_CODE,
@@ -60,22 +60,22 @@
            QueryResultVo<List<VoIntakeAmountDay>> res = intakeAmountDaySv.getIntakeAmountDayHistory(vo);
            return BaseResponseUtils.buildSuccess(res);
        } catch (Exception e) {
            log.error("获取农户日用水量统计记录异常", e);
            log.error("获取取水口日取水量漏损量记录异常", e);
            return BaseResponseUtils.buildException(e.getMessage());
        }
    }
    /**
     * 根据指定条件获取取水口日取水量漏损列表(最新)
     * 根据指定条件获取取水口日取水量漏损量列表(最新)
     *
     * @param vo 查询条件
     * @return 符合条件的取水口日取水量漏损列表(最新)
     * @return 符合条件的取水口日取水量漏损量列表(最新)
     */
    @Operation(summary = "获得一页取水口日取水量漏损记录", description = "返回一页取水口日取水量漏损数据")
    @Operation(summary = "获得一页取水口日取水量漏损量记录", description = "返回一页取水口日取水量漏损量数据")
    @ApiResponses(value = {
            @ApiResponse(
                    responseCode = ResultCodeMsg.RsCode.SUCCESS_CODE,
                    description = "返回一页取水口日取水量漏损数据(BaseResponse.content:QueryResultVo[{}])",
                    description = "返回一页取水口日取水量漏损量数据(BaseResponse.content:QueryResultVo[{}])",
                    content = {@Content(mediaType = MediaType.APPLICATION_JSON_VALUE,
                            schema = @Schema(implementation = VoActiveCard.class))}
            )
@@ -87,7 +87,7 @@
            QueryResultVo<List<VoIntakeAmountDay>> res = intakeAmountDaySv.getIntakeAmountDayLast(vo);
            return BaseResponseUtils.buildSuccess(res);
        } catch (Exception e) {
            log.error("获取农户日用水量统计记录异常", e);
            log.error("获取取水口日取水量漏损量记录异常", e);
            return BaseResponseUtils.buildException(e.getMessage());
        }
    }