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)); } } iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/plan/item/service/PlanItemService.java
@@ -19,7 +19,7 @@ PageResult<PlanItemEntity> page(PlanItemPageReqVO reqVO); List<PlanItemEntity> list(); List<PlanItemEntity> list(Map<String, Object> params); void create(PlanItemSaveReqVO createReqVO); iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/plan/item/service/impl/PlanItemServiceImpl.java
@@ -34,8 +34,9 @@ } @Override public List<PlanItemEntity> list() { public List<PlanItemEntity> list(Map<String, Object> params) { QueryWrapper<PlanItemEntity> queryWrapper = new QueryWrapper<>(); queryWrapper.eq(params.get("status") != null, "status", params.get("status")); queryWrapper.orderByDesc("create_time"); return baseDao.selectList(queryWrapper); } iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/MmPredictItemController.java
@@ -52,7 +52,7 @@ } @GetMapping("/list") public CommonResult<List<MmPredictItemRespVO>> list(Map<String, Object> params) { public CommonResult<List<MmPredictItemRespVO>> list(@RequestParam Map<String, Object> params) { List<MmPredictItemRespVO> list = mmPredictItemService.list(params); return success(list); }