| | |
| | | |
| | | // controller.Outpincreateapply(tjCustomer); |
| | | |
| | | Date dates = new Date(); |
| | | /* Date dates = new Date(); |
| | | final String date = DateUtil.format(dates, "yyyy-MM-dd HH:mm:ss"); |
| | | OutpinregapplyDto outpinregapplyDto = new OutpinregapplyDto(); |
| | | outpinregapplyDto.setPationid(tjCustomerServiceOne.getPationId()); |
| | | outpinregapplyDto.setSqysbm(SecurityUtils.getUsername()); |
| | | outpinregapplyDto.setSqysbm("00029"); |
| | | outpinregapplyDto.setMzksbm("0101"); |
| | | outpinregapplyDto.setCzybm("00029"); |
| | | outpinregapplyDto.setSfjz("0"); |
| | |
| | | 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); |
| | | } |
| | | } |
| | | }*/ |
| | | } |
| | | |
| | | //end====2023.12.12 |
| | |
| | | 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"); |
| | |
| | | if (null != resultData && resultData.size() > 0) { |
| | | String pationid = resultData.get("PationId").toString(); |
| | | if (null != pationid) { |
| | | |
| | | tjCustomer.setPationId(pationid); |
| | | // tjCustomerService.updateById(tjCustomer); |
| | | /* |
| | | OutpinregapplyDto outpinregapplyDto = new OutpinregapplyDto(); |
| | | tjCustomerService.updateById(tjCustomer); |
| | | /* OutpinregapplyDto outpinregapplyDto = new OutpinregapplyDto(); |
| | | outpinregapplyDto.setPationid(pationid); |
| | | outpinregapplyDto.setSqysbm(SecurityUtils.getUsername()); |
| | | outpinregapplyDto.setSqysbm("00029"); |
| | | outpinregapplyDto.setMzksbm("0101"); |
| | | outpinregapplyDto.setCzybm("00029"); |
| | | outpinregapplyDto.setSfjz("0"); |