| | |
| | | maps.put("ksbm", "体检中心"); |
| | | maps.put("pagecount", 100); |
| | | maps.put("page", 1); |
| | | // AjaxResult results = service.getHISDataNew("Getexamreportinfo", maps); |
| | | |
| | | |
| | | LambdaQueryWrapper<HisApiConfig> lambdaQueryWrapper = new LambdaQueryWrapper<>(); |
| | | lambdaQueryWrapper.eq(HisApiConfig::getApiMethod, "Getexamreportinfo"); |
| | |
| | | |
| | | |
| | | /*同步检查 his存储过程*/ |
| | | AjaxResult results = jcsqdService.getTjJcProByHisCall("体检中心", order.getCardId(), "''", 100, 1, "'1'"); |
| | | |
| | | String jctbfs = configService.selectConfigByKey("jctbfs"); |
| | | AjaxResult results =null; |
| | | if (jctbfs.equalsIgnoreCase("Y")){ |
| | | results = service.getHISDataNew("Getexamreportinfo", maps); |
| | | }else{ |
| | | results = jcsqdService.getTjJcProByHisCall("体检中心", order.getCardId(), "''", 100, 1, "'1'"); |
| | | } |
| | | |
| | | |
| | | DynamicDataSourceContextHolder.setDataSourceType(DataSourceType.MASTER.name()); |
| | | DynamicDataSourceContextHolder.clearDataSourceType(); |
| | |
| | | lambdaQueryWrapper.eq(HisApiConfig::getApiMethod, "Getexamreportinfo"); |
| | | HisApiConfig hisApiConfig = hisApiConfigService.getOne(lambdaQueryWrapper); |
| | | /*同步检查 his存储过程*/ |
| | | AjaxResult results = jcsqdService.getTjJcProByHisCall("体检中心", order.getCardId(), "''", 100, 1, "'1'"); |
| | | String jctbfs = configService.selectConfigByKey("jctbfs"); |
| | | AjaxResult results =null; |
| | | if (jctbfs.equalsIgnoreCase("Y")){ |
| | | results = service.getHISDataNew("Getexamreportinfo", maps); |
| | | }else{ |
| | | results = jcsqdService.getTjJcProByHisCall("体检中心", order.getCardId(), "''", 100, 1, "'1'"); |
| | | } |
| | | DynamicDataSourceContextHolder.clearDataSourceType(); |
| | | log.info("检查项目查询返回值: " + results.toString()); |
| | | if (Integer.parseInt(results.get("code").toString()) == 200) { |