From 5bf42aa9950058f391805e6fb8d7376f4378924b Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期一, 23 十二月 2024 16:16:55 +0800 Subject: [PATCH] cumulateHandle.getCurrent --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/plan/item/service/impl/PlanItemServiceImpl.java | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/plan/item/service/impl/PlanItemServiceImpl.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/plan/item/service/impl/PlanItemServiceImpl.java index 29a7b42..155475e 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/plan/item/service/impl/PlanItemServiceImpl.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/plan/item/service/impl/PlanItemServiceImpl.java @@ -4,6 +4,7 @@ import com.iailab.framework.common.pojo.PageResult; import com.iailab.framework.common.service.impl.BaseServiceImpl; import com.iailab.framework.common.util.object.BeanUtils; +import com.iailab.module.data.api.plan.dto.ApiPlanItemDTO; import com.iailab.module.data.plan.item.dao.PlanItemDao; import com.iailab.module.data.plan.item.entity.PlanItemEntity; import com.iailab.module.data.plan.item.service.PlanItemService; @@ -34,8 +35,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); } @@ -77,4 +79,9 @@ public List<PlanItemDataVO> getSourceValue(Map<String, Object> params) { return baseDao.getSourceValue(params); } + + @Override + public List<PlanItemEntity> getInfoByIds(Set<String> planIds) { + return baseDao.selectBatchIds(planIds); + } } \ No newline at end of file -- Gitblit v1.9.3