liu
2026-10-27 6a48d04a36bc459ed761d787ee3d537652185d36
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/em/record/MesEmRecordController.java
@@ -63,7 +63,6 @@
    @GetMapping("/get")
    @Operation(summary = "获得能耗抄表记录")
    @Parameter(name = "id", description = "编号", required = true)
    @PreAuthorize("@ss.hasPermission('mes:em-record:query')")
    public CommonResult<MesEmRecordRespVO> getRecord(@RequestParam("id") Long id) {
        MesEmRecordDO record = mesEmRecordService.getRecord(id);
        if (record == null) {
@@ -74,7 +73,6 @@
    @GetMapping("/page")
    @Operation(summary = "获得能耗抄表记录分页")
    @PreAuthorize("@ss.hasPermission('mes:em-record:query')")
    public CommonResult<PageResult<MesEmRecordRespVO>> getRecordPage(@Valid MesEmRecordPageReqVO pageReqVO) {
        PageResult<MesEmRecordDO> pageResult = mesEmRecordService.getRecordPage(pageReqVO);
        return success(new PageResult<>(mesEmRecordService.getRecordRespVOList(pageResult.getList()),
@@ -83,7 +81,6 @@
    @GetMapping("/last-reading")
    @Operation(summary = "获得计量点上期读数", description = "用于新增抄表记录时自动带入期初读数")
    @PreAuthorize("@ss.hasPermission('mes:em-record:query')")
    public CommonResult<MesEmLastReadingRespVO> getLastReading(
            @RequestParam("meterId") Long meterId,
            @RequestParam("recordDate") @DateTimeFormat(iso = DateTimeFormat.ISO.DATE) LocalDate recordDate,