| | |
| | | public String unqualifiedHandlerOACallback(String data){ |
| | | String msg = OAProcess.oaReturnMsg(0, "success"); |
| | | JSONObject json = JSONObject.parseObject(data); |
| | | System.out.println("========>" + json); |
| | | log.info("oa回调参数========>" + json); |
| | | try { |
| | | Long oaWorkId = json.getLong(REQUESTID); |
| | | String checkResult = json.getString(CHECKRESULT); |
| | |
| | | log.error("oa回调失败: " + e.getMessage()); |
| | | msg = OAProcess.oaReturnMsg(1, "oa回调失败: " + e.getMessage()); |
| | | } |
| | | System.out.println("oa回调返回结果========>" + msg); |
| | | log.info("oa回调返回结果========>" + msg); |
| | | return msg; |
| | | } |
| | | |
| | |
| | | return Result.success(unqualifiedHandlerService.deleteUnqualifiedHandler(id)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "下载附件") |
| | | @GetMapping("/downFile") |
| | | public Result<?> oaDownFile(Integer id) { |
| | |
| | | return Result.success(map); |
| | | } |
| | | |
| | | @ApiOperation(value = "导出不合格处理记录") |
| | | @GetMapping("/exportUnqualifiedHandler") |
| | | public void exportUnqualifiedHandler(UnqualifiedHandlerDto unqualifiedHandlerDto,HttpServletResponse response) { |
| | | unqualifiedHandlerService.exportUnqualifiedHandler(unqualifiedHandlerDto,response); |
| | | } |
| | | |
| | | |
| | | } |