| | |
| | | tjCustomer.setCusPhone(tjReservation.getPhoe()); |
| | | tjCustomer.setCusEmail(tjReservation.getEmail()); |
| | | tjCustomer.setCusAddr(tjReservation.getAddress()); |
| | | tjCustomer.setCusMarryStatus(String.valueOf(tjReservation.getMarriage())); |
| | | tjCustomer.setCusNational(String.valueOf(tjReservation.getNation())); |
| | | tjCustomer.setCusMarryStatus(String.valueOf(tjReservation.getMarriage())==null ?"0": tjReservation.getMarriage().toString()); |
| | | tjCustomer.setCusNational(String.valueOf(tjReservation.getNation()) ==null ? "0": tjReservation.getNation().toString()); |
| | | |
| | | tjCustomer.setIdType(tjReservation.getIdType()); |
| | | tjCustomer.setAge(tjReservation.getAge()); |
| | |
| | | String pationid = resultData.get("PationId").toString(); |
| | | if (null != pationid) { |
| | | tjCustomer.setPationId(pationid); |
| | | tjCustomerService.save(tjCustomer); |
| | | // tjCustomerService.save(tjCustomer); |
| | | //保存注册入参出参 |
| | | resultData.put("cardId",pationid); |
| | | JSONObject object4 = JSONUtil.parseObj(resultData); |
| | |
| | | } else if(null != s && s.equalsIgnoreCase("Y")) { |
| | | tjCustomer = isRequestCommonHisApi(tjCustomer); |
| | | } |
| | | if(null != tjCustomer){ |
| | | tjCustomerService.save(tjCustomer); |
| | | tjCustomer.setTeamNo(tjReservation.getTeamNo()); |
| | | tjCustomer.setCompId(tjReservation.getCompanyId()); |
| | | tjCustomer.setReservationId(tjReservation.getId()); |
| | | tjCustomer.setDiscount(tjReservation.getDiscount()); |
| | | tjCustomer.setGroupingId(tjReservation.getGroupingId()); |
| | | } |
| | | |
| | | return success(tjCustomer); |
| | | } |
| | | |