|  |  | 
 |  |  |      */ | 
 |  |  |     @PostMapping(value = "/cstmr/excel/import/auth") | 
 |  |  |     @ManagerAuth(memo = "甲方单位Excel导入") | 
 |  |  |     @Transactional | 
 |  |  | //    @Transactional | 
 |  |  |     public R cstmrExcelImport(MultipartFile file) throws IOException { | 
 |  |  |         InputStream inStream = file.getInputStream(); | 
 |  |  |         String fileMime = file.getContentType(); | 
 |  |  | 
 |  |  |             String uuid = dataFormatter.formatCellValue(row.getCell(0)); | 
 |  |  |             if (!Cools.isEmpty(uuid)) { | 
 |  |  |                 if (cstmrService.selectByUuid(hostId, uuid) != null) { | 
 |  |  |                     throw new CoolException(uuid + "客户代号已存在,请重新导入"); | 
 |  |  | //                    throw new CoolException(uuid + "客户代号已存在,请重新导入"); | 
 |  |  |                     continue; | 
 |  |  |                 } else { | 
 |  |  |                     cstmr.setUuid(uuid); | 
 |  |  |                 } |