| | |
| | | |
| | | tijianshenqingJinchuan( customer, date, cardId); |
| | | } catch (Exception e) { |
| | | log.error("tijianshenqingJinchuanNew方法异常: "+e.getMessage()); |
| | | throw new RuntimeException(e); |
| | | } |
| | | return AjaxResult.success(); |
| | |
| | | } |
| | | } catch (Exception e) { |
| | | TransactionAspectSupport.currentTransactionStatus().setRollbackOnly(); |
| | | log.error(String.valueOf(e)); |
| | | log.error("操作失败",e); |
| | | } finally { |
| | | lock.unlock(); |
| | | } |
| | |
| | | else |
| | | hisApiMethod.tijianshenqingJinchuanNew(tjCustomer, DateUtil.format(date1, "yyyy-MM-dd HH:mm:ss"), tjOrder.getCardId()); |
| | | } catch (Exception e) { |
| | | log.error("申请单发送失败 ->{}" + String.valueOf(e), e.getMessage()); |
| | | log.error("申请单发送失败 ->",e); |
| | | throw new IllegalStateException("申请单发送失败!" + result.get("msg").toString()); |
| | | } |
| | | } |
| | | } catch (Exception e) { |
| | | log.error("发生错误 ->{}" + String.valueOf(e), e.getMessage()); |
| | | log.error("发生错误 ->",e); |
| | | throw new IllegalStateException(); |
| | | } |
| | | return AjaxResult.success(tjNumber); |