| | |
| | | s = engineService.addSaveCode(orderDTO); |
| | | saveLogUtil.operateLog("编码申请",false,orderDTO.toString()); |
| | | }catch (Exception e){ |
| | | saveLogUtil.operateLog("编码申请",true,e.getMessage()); |
| | | saveLogUtil.operateLog("编码申请",true,e.toString()); |
| | | throw e; |
| | | } |
| | | return R.success(s); |
| | |
| | | @GetMapping("/exportGroupCodeExcel") |
| | | @VciBusinessLog(operateName = "导出集团码") |
| | | public void exportGroupCodeExcel(String codeClassifyOid, HttpServletResponse response) throws IOException{ |
| | | String excelName = mdmIOService.createImportExcel(codeClassifyOid,false); |
| | | |
| | | try { |
| | | ControllerUtil.writeFileToResponse(response,excelName); |
| | | String excelName = mdmIOService.exportGroupCodeExcel(codeClassifyOid); |
| | | } catch (Throwable e) { |
| | | //如果出错,把错误信息写到text |
| | | String msg = LangBaseUtil.getErrorMsg(e); |