From ee9f604388a3e77d3f4654e326f3976552e7f532 Mon Sep 17 00:00:00 2001 From: Jay <csj123456> Date: 星期一, 25 十一月 2024 13:40:07 +0800 Subject: [PATCH] 测点启用和禁用 --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/plan/item/controller/admin/PlanItemController.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/plan/item/controller/admin/PlanItemController.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/plan/item/controller/admin/PlanItemController.java index c9cf4e4..2d6c83c 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/plan/item/controller/admin/PlanItemController.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/plan/item/controller/admin/PlanItemController.java @@ -30,6 +30,7 @@ import java.util.ArrayList; import java.util.Date; import java.util.List; +import java.util.Map; import static com.iailab.framework.apilog.core.enums.OperateTypeEnum.EXPORT; import static com.iailab.framework.common.pojo.CommonResult.success; @@ -94,8 +95,8 @@ @GetMapping("/list") @Operation(summary = "获取计划项列表", description = "用于【计划项】界面") @PreAuthorize("@ss.hasPermission('data:plan-item:query')") - public CommonResult<List<PlanItemRespVO>> getList(PlanItemPageReqVO reqVO) { - List<PlanItemEntity> list = planItemService.list(); + public CommonResult<List<PlanItemRespVO>> getList(@RequestParam Map<String, Object> params) { + List<PlanItemEntity> list = planItemService.list(params); return success(ConvertUtils.sourceToTarget(list, PlanItemRespVO.class)); } } \ No newline at end of file -- Gitblit v1.9.3