| | |
| | | package com.iailab.module.model.mpk.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.enums.SqlMethod; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.iailab.framework.common.page.PageData; |
| | | import com.iailab.framework.common.service.impl.BaseServiceImpl; |
| | | import com.iailab.framework.common.service.impl.CrudServiceImpl; |
| | | import com.iailab.module.model.mpk.dao.ProjectPackageHistoryModelDao; |
| | | import com.iailab.module.model.mpk.dto.ProjectPackageHistoryModelDTO; |
| | |
| | | import org.apache.poi.ss.formula.functions.T; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | * @date: 2024/8/22 14:41 |
| | | **/ |
| | | @Service |
| | | public class ProjectPackageHistoryModelServiceImpl extends CrudServiceImpl<ProjectPackageHistoryModelDao, ProjectPackageHistoryModelEntity, ProjectPackageHistoryModelDTO> implements ProjectPackageHistoryModelService { |
| | | public class ProjectPackageHistoryModelServiceImpl extends BaseServiceImpl<ProjectPackageHistoryModelDao, ProjectPackageHistoryModelEntity> implements ProjectPackageHistoryModelService { |
| | | |
| | | public void insertList(List<ProjectPackageHistoryModelEntity> entityList) { |
| | | baseDao.insertBatch(entityList); |
| | | } |
| | | |
| | | @Override |
| | | public PageData<ProjectPackageHistoryModelDTO> page(Map<String, Object> params) { |
| | |
| | | baseDao.delete(getWrapper(map)); |
| | | } |
| | | |
| | | @Override |
| | | public QueryWrapper<ProjectPackageHistoryModelEntity> getWrapper(Map<String, Object> params){ |
| | | String id = (String)params.get("id"); |
| | | String packageHistoryId = (String)params.get("packageHistoryId"); |
| | |
| | | |
| | | return wrapper; |
| | | } |
| | | |
| | | |
| | | } |