| | |
| | | tjCustomer1.setAgeUnit(tjReservation.getAgeUnit()); |
| | | tjCustomer1.setCareer(tjReservation.getCareer()); |
| | | tjCustomer1.setPym(PinyinUtil.getFirstLetter(tjReservation.getName(),"")); |
| | | if (null != key && key.equals("Y")) |
| | | /* if (null != key && key.equals("Y")) |
| | | { |
| | | AjaxResult result = controller.Outpincreateapply(tjCustomer1); |
| | | String result1 = getAjaxResult(result); |
| | |
| | | if (null != resultData && resultData.size() > 0) { |
| | | String pationid = resultData.get("PationId").toString(); |
| | | if (null != pationid) { |
| | | tjCustomer1.setPationId(pationid); |
| | | // tjCustomer1.setPationId(pationid); |
| | | tjCustomerService.updateById(tjCustomer1); |
| | | //保存注册入参出参 |
| | | resultData.put("cardId",pationid); |
| | |
| | | } |
| | | }else { |
| | | tjCustomerService.updateById(tjCustomer1); |
| | | } |
| | | }*/ |
| | | tjCustomer1.setTeamNo(tjReservation.getTeamNo()); |
| | | tjCustomer1.setCompId(tjReservation.getCompanyId()); |
| | | tjCustomer1.setReservationId(tjReservation.getId()); |
| | |
| | | String pationid = resultData.get("PationId").toString(); |
| | | if (null != pationid) { |
| | | tjCustomer.setPationId(pationid); |
| | | tjCustomerService.updateById(tjCustomer); |
| | | // tjCustomerService.updateById(tjCustomer); |
| | | //保存注册入参出参 |
| | | resultData.put("cardId",pationid); |
| | | JSONObject object4 = JSONUtil.parseObj(resultData); |
| | |
| | | if (tjCustomerService.updateById(tjCustomer)) { |
| | | String config = sysConfigService.selectConfigByKey("sfkqdyhis"); |
| | | if (null != config && config.equals("Y")) { |
| | | tjCustomer.setPationId(customer.getPationId()); |
| | | AjaxResult result = controller.Outpincreateapply(tjCustomer); |
| | | String result1 = getAjaxResult(result); |
| | | JSONObject object = getJSONObject(result1); |