| | |
| | | package com.iailab.module.model.mpk.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.iailab.framework.common.service.impl.BaseServiceImpl; |
| | | import com.iailab.framework.common.service.impl.CrudServiceImpl; |
| | | import com.iailab.framework.common.util.object.ConvertUtils; |
| | | import com.iailab.module.model.mpk.dao.ProjectModelDao; |
| | |
| | | * @date: 2024/8/22 14:41 |
| | | **/ |
| | | @Service |
| | | public class ProjectModelServiceImpl extends CrudServiceImpl<ProjectModelDao, ProjectModelEntity, ProjectModelDTO> implements ProjectModelService { |
| | | public class ProjectModelServiceImpl extends BaseServiceImpl<ProjectModelDao, ProjectModelEntity> implements ProjectModelService { |
| | | @Override |
| | | public List<ProjectModelDTO> list(Map<String, Object> params) { |
| | | List<ProjectModelEntity> entityList = baseDao.selectList(getWrapper(params)); |
| | |
| | | baseDao.insert(list); |
| | | } |
| | | |
| | | @Override |
| | | public QueryWrapper<ProjectModelEntity> getWrapper(Map<String, Object> params){ |
| | | String id = (String)params.get("id"); |
| | | String projectId = (String)params.get("projectId"); |