| | |
| | | private HisApiMethodService controller; |
| | | @Autowired |
| | | private HisApiGetMethodService service; |
| | | |
| | | @Autowired |
| | | private HisApiConfigService hisApiConfigService; |
| | | |
| | | @GetMapping ("/getOperationPermissionsByTjNum") |
| | | @ApiOperation (value = "(初审页面 和 医生页面)根据体检号获取是否可操作权限接口 true可操作 反之不可") |
| | |
| | | |
| | | /*同步检查 his接口*/ |
| | | |
| | | // Map<String, Object> maps = new HashMap<>(); |
| | | // maps.put("his_registration_id", order.getCardId()); |
| | | // maps.put("ksbm", "体检中心"); |
| | | // maps.put("pagecount", 100); |
| | | // maps.put("page", 1); |
| | | Map<String, Object> maps = new HashMap<>(); |
| | | maps.put("his_registration_id", order.getCardId()); |
| | | 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"); |
| | | HisApiConfig hisApiConfig = hisApiConfigService.getOne(lambdaQueryWrapper); |
| | | |
| | | |
| | | /*同步检查 his存储过程*/ |
| | |
| | | jcsqdService.deletedLtkjJcsqdByTjhAndTmh(order.getCardId()); |
| | | jcbgdService.deletedLtkjJcbgdByTjhAndTmh(order.getCardId()); |
| | | for (Map<String, Object> objectMap : datas) { |
| | | // LtkjExamJcsqd jybgid = jcsqdService.getLtkjJcsqdByTjhAndTmh(order.getCardId(), objectMap.get("JCBGID").toString()); |
| | | // if (null != jybgid) { |
| | | // jcsqdService.deletedLtkjJcsqdByTjhAndTmh(order.getCardId(), objectMap.get("JCBGID").toString()); |
| | | // jcbgdService.deletedLtkjJcbgdByTjhAndTmh(jybgid.getTmh()); |
| | | // } |
| | | //保存入参出参 |
| | | // service.save((JSONObject)objectMap,"Getexamreportinfo",hisApiConfig,JSONUtil.toJsonStr(maps)); |
| | | service.save(JSONUtil.parseObj(objectMap),"Getexamreportinfo",hisApiConfig,JSONUtil.toJsonStr(maps)); |
| | | |
| | | |
| | | LtkjExamJcbgd jcbgd=new LtkjExamJcbgd(); |
| | | jcbgd.setTjh(order.getCardId()); |
| | | if(null !=objectMap.get("JCBGID") || !objectMap.get("JCBGID").equals("")) |