From 4be7d863a161b64f8592a789d699e807545e7dc6 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期五, 15 十一月 2024 16:46:12 +0800 Subject: [PATCH] 计划数据 --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/plan/item/service/impl/PlanItemServiceImpl.java | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 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 ccbe1e7..6b89b39 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 @@ -7,6 +7,7 @@ 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; +import com.iailab.module.data.plan.item.vo.PlanItemDataVO; import com.iailab.module.data.plan.item.vo.PlanItemPageReqVO; import com.iailab.module.data.plan.item.vo.PlanItemSaveReqVO; import com.iailab.module.data.common.enums.IncreaseCodeEnum; @@ -14,9 +15,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; -import java.util.Date; -import java.util.List; -import java.util.UUID; +import java.util.*; /** * @author PanZhibao @@ -35,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); } @@ -73,4 +73,9 @@ public void delete(String id) { baseDao.deleteById(id); } + + @Override + public List<PlanItemDataVO> getSourceValue(Map<String, Object> params) { + return baseDao.getSourceValue(params); + } } \ No newline at end of file -- Gitblit v1.9.3