| | |
| | | newSaveextracted(tjOrder, tjCustomer, discount, sysUser, tjReservation, tjFlowingWater); |
| | | } |
| | | // 查询 对接Lis、Pacs申请如果类型包含在配置内则使用对接lis、pacs |
| | | // String useLisAndPacsRegisterDictTeam = configService.selectConfigByKey("use_lis_and_pacs_register_dict_team"); |
| | | // String[] split = useLisAndPacsRegisterDictTeam.split(","); |
| | | // List<String> list = Arrays.asList(split); |
| | | // if (list.contains(tjOrder.getTjType())) { |
| | | // List<TbTransition> detailList = tbTransitionService.getTbTransitionListByCusId(tjCustomer.getCusIdcard(),tjOrder.getCardId()); |
| | | // pacsApiMethodService.save(tjOrder,tjCustomer,detailList); |
| | | // lisApiMethod.save(tjOrder,tjCustomer,detailList); |
| | | // }else { |
| | | // hisApiMethod.tijianshenqing(tjCustomer, DateUtil.format(date1, "yyyy-MM-dd HH:mm:ss"), tjOrder.getCardId()); |
| | | // } |
| | | |
| | | // String useLisAndPacsRegisterDictTeam = configService.selectConfigByKey("use_lis_and_pacs_register_dict_team"); |
| | | // String[] split = useLisAndPacsRegisterDictTeam.split(","); |
| | | // List<String> list = Arrays.asList(split); |
| | | // if (list.contains(tjOrder.getTjType())) { |
| | | // List<TbTransition> detailList = tbTransitionService.getTbTransitionListByCusId(tjCustomer.getCusIdcard(),tjOrder.getCardId()); |
| | | // try { |
| | | // lisApiMethod.save(tjOrder,tjCustomer,detailList); |
| | | // pacsApiMethodService.save(tjOrder,tjCustomer,detailList); |
| | | // }catch (Exception e){ |
| | | // String jyxh = ""; |
| | | // String cardId = ""; |
| | | // String cusName = ""; |
| | | // lisApiMethod.cancel(jyxh,cardId,cusName); |
| | | // } |
| | | // }else { |
| | | // hisApiMethod.tijianshenqing(tjCustomer, DateUtil.format(date1, "yyyy-MM-dd HH:mm:ss"), tjOrder.getCardId()); |
| | | // } |
| | | hisApiMethod.tijianshenqing(tjCustomer, DateUtil.format(date1, "yyyy-MM-dd HH:mm:ss"), tjOrder.getCardId()); |
| | | |
| | | return AjaxResult.success(tjNumber); |
| | | } else { |
| | | tjCustomer.setCardId(tjOrder.getTjNumber()); |