| | |
| | | import java.util.Map; |
| | | |
| | | import static cn.iocoder.yudao.framework.common.util.collection.CollectionUtils.convertMap; |
| | | import cn.iocoder.yudao.module.mes.controller.admin.qc.defect.vo.MesQcDefectImportExcelVO; |
| | | import cn.iocoder.yudao.module.mes.controller.admin.qc.defect.vo.MesQcDefectImportRespVO; |
| | | |
| | | /** |
| | | * MES 缺陷类型 Service 接口 |
| | | * |
| | | * @author 芋道源码 |
| | | * @author 超级管理员 |
| | | */ |
| | | public interface MesQcDefectService { |
| | | |
| | |
| | | return convertMap(getDefectList(ids), MesQcDefectDO::getId); |
| | | } |
| | | |
| | | /** |
| | | * 导入缺陷类型列表 |
| | | * |
| | | * @param importList 导入列表 |
| | | * @param updateSupport 是否支持更新 |
| | | * @return 导入结果 |
| | | */ |
| | | MesQcDefectImportRespVO importDefectList(List<MesQcDefectImportExcelVO> importList, boolean updateSupport); |
| | | |
| | | } |