| | |
| | | String hisRegistrationId = resultDatasss.get("his_registration_id").toString(); |
| | | //门诊医生接诊 |
| | | controller.Outpinconapply(hisRegistrationId, date, SecurityUtils.getUsername()); |
| | | tjCustomerServiceOne.setCardId(hisRegistrationId); |
| | | tjCustomerService.updateById(tjCustomerServiceOne); |
| | | // tjCustomerServiceOne.setCardId(hisRegistrationId); |
| | | // tjCustomerServiceOne.setCusBrithday(DateUtil.parse(MatchUtils.getBirthDayByIdCard(tjCustomerServiceOne.getCusIdcard()),"yyyy-MM-dd")); |
| | | // tjCustomerService.updateById(tjCustomerServiceOne); |
| | | tjCustomerService.updateCardId(tjCustomerServiceOne.getCusId(),hisRegistrationId); |
| | | } |
| | | } |
| | | } |
| | |
| | | tjCustomer.setGroupingId(tjReservation.getGroupingId()); |
| | | return success(tjCustomer); |
| | | } else { |
| | | LambdaQueryWrapper<TjCustomer> customerLambdaQueryWrapper1 = new LambdaQueryWrapper<>(); |
| | | customerLambdaQueryWrapper1.eq(TjCustomer::getCusIdcard, cusIdcard); |
| | | TjCustomer one = tjCustomerService.getOne(customerLambdaQueryWrapper1); |
| | | System.out.println("------------------"+one.getCusBrithday()); |
| | | return AjaxResult.success("暂无预约信息", tjCustomerServiceOne); |
| | | } |
| | | } |
| | |
| | | substring = DigestUtils.md5DigestAsHex(substring.getBytes()); |
| | | tjCustomer.setCusPassword(substring); |
| | | // if (tjCustomer.getIdType().equals("1")) { |
| | | // tjCustomer.setCusBrithday(DateUtil.parse(MatchUtils.getBirthDayByIdCard(tjCustomer.getCusIdcard()), "yyyy-MM-dd")); |
| | | tjCustomer.setCusBrithday(DateUtil.parse(MatchUtils.getBirthDayByIdCard(tjCustomer.getCusIdcard()), "yyyy-MM-dd")); |
| | | // } |
| | | tjCustomer.setCusNumber(0L); |
| | | String config = sysConfigService.selectConfigByKey("sfkqdyhis"); |
| | |
| | | |
| | | tjCustomer.setPationId(pationid); |
| | | // tjCustomerService.updateById(tjCustomer); |
| | | /* |
| | | OutpinregapplyDto outpinregapplyDto = new OutpinregapplyDto(); |
| | | outpinregapplyDto.setPationid(pationid); |
| | | outpinregapplyDto.setSqysbm(SecurityUtils.getUsername()); |
| | |
| | | } |
| | | } |
| | | } |
| | | }*/ |
| | | } |
| | | } |
| | | |
| | | } |