| | |
| | | package com.vci.ubcs.code.service; |
| | | |
| | | import com.google.protobuf.ServiceException; |
| | | import com.vci.ubcs.code.dto.CodeExportAttrDTO; |
| | | import com.vci.ubcs.code.dto.CodeOrderDTO; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyVO; |
| | |
| | | */ |
| | | String createImportExcel(String codeClassifyOid,boolean isHistory); |
| | | |
| | | /** |
| | | * 生成批量修改导入的文件 |
| | | * @param codeClassifyOid 分类的主键 |
| | | * @return excel的文件地址 |
| | | */ |
| | | String downloadImportExcelBatchEdit(String codeClassifyOid); |
| | | |
| | | /** |
| | | * 生成导入的文件 |
| | |
| | | * @param file excel文件的信息 |
| | | * @return 有错误信息的excel |
| | | */ |
| | | CodeImProtRusultVO batchImportCode(CodeOrderDTO orderDTO, File file); |
| | | CodeImProtRusultVO batchImportCode(CodeOrderDTO orderDTO, File file) throws Exception; |
| | | |
| | | /*** |
| | | *批量申请编码数据 |
| | |
| | | * @return 有错误信息的excel |
| | | */ |
| | | CodeImProtRusultVO batchImportHistoryData(String codeClassifyOid,String classifyAttr, File file) throws Throwable; |
| | | |
| | | /** |
| | | * 导入批量编辑数据 |
| | | * @param codeClassifyOid 分类的主键 |
| | | * @param classifyAttr 分类路径使用的属性 |
| | | * @param file excel文件的信息 |
| | | * @return 有错误信息的excel |
| | | */ |
| | | CodeImProtRusultVO batchImportEdit(String codeClassifyOid,String classifyAttr, File file) throws Throwable; |
| | | |
| | | /*** |
| | | * 从redis缓存里获取到导入的数据 |
| | | * @param codeClassifyOid |
| | |
| | | * @param operationType |
| | | */ |
| | | void sendApplyGroupcode(List<String> idList,String btmName,String operationType); |
| | | |
| | | /*** |
| | | * 导出集团码模板 |
| | | * @param classOid |
| | | * @return |
| | | */ |
| | | String exportGroupCodeExcel(String classOid) throws ServiceException; |
| | | |
| | | /** |
| | | * 集团码导入 |
| | | * @param codeClassifyOid |
| | | * @param file |
| | | * @return |
| | | * @throws ServiceException |
| | | */ |
| | | public String importGroupCode(String codeClassifyOid, File file) throws Throwable; |
| | | } |