| | |
| | | AjaxResult result = hisApiMethod.HisApiMethods(tjCustomer, tjOrder.getOrderId()); |
| | | if (!result.get("code").toString().equals("200")) { |
| | | TransactionAspectSupport.currentTransactionStatus().setRollbackOnly(); |
| | | Object jzh = result.get("jzh"); |
| | | if(null !=jzh && null !=jzh.toString()){ |
| | | hisApiMethod.ZfHisApiMethod(jzh.toString()); |
| | | } |
| | | return AjaxResult.error("挂号失败!" + result.get("msg").toString()); |
| | | } |
| | | } else { |
| | |
| | | if (advIds.containsAll(dto.getBldhs()) && cateFeeAll.compareTo(BigDecimal.ZERO) != 0) { |
| | | return AjaxResult.error("改项目已缴费不可撤销!!!"); |
| | | } |
| | | |
| | | } |
| | | boolean b = hisApiMethod.ZfBlXm(dto.getBldhs(), order); |
| | | if(!b){ |
| | | TransactionAspectSupport.currentTransactionStatus().setRollbackOnly(); |
| | | return AjaxResult.error("撤销失败,调用作废出现失败"); |
| | | } |
| | | } |
| | | for (String bldh : dto.getBldhs()) { |