| | |
| | | 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; |
| | |
| | | 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 |
| | |
| | | } |
| | | |
| | | @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); |
| | | } |
| | |
| | | public void delete(String id) { |
| | | baseDao.deleteById(id); |
| | | } |
| | | |
| | | @Override |
| | | public List<PlanItemDataVO> getSourceValue(Map<String, Object> params) { |
| | | return baseDao.getSourceValue(params); |
| | | } |
| | | } |