| | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | 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.framework.common.util.object.ConvertUtils; |
| | | import com.iailab.module.model.mpk.dao.GeneratorCodeHistoryDao; |
| | | import com.iailab.module.model.mpk.dao.ModelMethodDao; |
| | | import com.iailab.module.model.mpk.dto.GeneratorCodeHistoryDTO; |
| | | import com.iailab.module.model.mpk.entity.GeneratorCodeHistoryEntity; |
| | | import com.iailab.module.model.mpk.entity.ModelMethodEntity; |
| | | import com.iailab.module.model.mpk.service.GeneratorCodeHistoryService; |
| | | import org.apache.commons.io.FileUtils; |
| | | import org.apache.commons.lang3.StringUtils; |
| | |
| | | |
| | | import java.io.File; |
| | | import java.io.IOException; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | **/ |
| | | |
| | | @Service |
| | | public class GeneratorCodeHistoryServiceImpl extends CrudServiceImpl<GeneratorCodeHistoryDao, GeneratorCodeHistoryEntity, GeneratorCodeHistoryDTO> implements GeneratorCodeHistoryService { |
| | | public class GeneratorCodeHistoryServiceImpl extends BaseServiceImpl<GeneratorCodeHistoryDao, GeneratorCodeHistoryEntity> implements GeneratorCodeHistoryService { |
| | | |
| | | @Override |
| | | public PageData<GeneratorCodeHistoryDTO> page(Map<String, Object> params) { |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<GeneratorCodeHistoryDTO> list(Map<String, Object> map) { |
| | | return ConvertUtils.sourceToTarget(baseDao.selectList(getWrapper(map)),GeneratorCodeHistoryDTO.class); |
| | | } |
| | | |
| | | @Override |
| | | public void save(GeneratorCodeHistoryDTO dto) { |
| | | |
| | | } |
| | | |
| | | public QueryWrapper<GeneratorCodeHistoryEntity> getWrapper(Map<String, Object> params){ |
| | | String id = (String)params.get("id"); |
| | | String mdkId = (String)params.get("mdkId"); |