|  | @ -10531,6 +10531,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
 | 
												
													
														
															|  |                             jsondate.put("dept",map.get("deptCode").toString());
 |  |                             jsondate.put("dept",map.get("deptCode").toString());
 | 
												
													
														
															|  |                             jsondate.put("doctor",map.get("doctorMappingCode").toString());
 |  |                             jsondate.put("doctor",map.get("doctorMappingCode").toString());
 | 
												
													
														
															|  |                             baseNatAppointmentDO.setDoctorId(map.get("doctorMappingCode").toString());
 |  |                             baseNatAppointmentDO.setDoctorId(map.get("doctorMappingCode").toString());
 | 
												
													
														
															|  | 
 |  |                             baseNatAppointmentDO.setDoctorName(map.get("doctorName").toString());
 | 
												
													
														
															|  |                         }else {
 |  |                         }else {
 | 
												
													
														
															|  |                             returnMap.put("msg","已经挂号的数据有误");
 |  |                             returnMap.put("msg","已经挂号的数据有误");
 | 
												
													
														
															|  |                             returnMap.put("status","-1");
 |  |                             returnMap.put("status","-1");
 | 
												
											
												
													
														
															|  | @ -10624,6 +10625,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
 | 
												
													
														
															|  |                             return returnMap;
 |  |                             return returnMap;
 | 
												
													
														
															|  |                         }
 |  |                         }
 | 
												
													
														
															|  |                         baseNatAppointmentDO.setDoctorId(map.get("doctorMappingCode").toString());
 |  |                         baseNatAppointmentDO.setDoctorId(map.get("doctorMappingCode").toString());
 | 
												
													
														
															|  | 
 |  |                         baseNatAppointmentDO.setDoctorName(map.get("doctorName").toString());
 | 
												
													
														
															|  |                     }
 |  |                     }
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  |                 } catch (Exception e) {
 |  |                 } catch (Exception e) {
 | 
												
											
												
													
														
															|  | @ -10653,7 +10655,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
 | 
												
													
														
															|  |                         baseNatAppointmentDO.setIsSuccess("1");
 |  |                         baseNatAppointmentDO.setIsSuccess("1");
 | 
												
													
														
															|  |                         baseNatAppointmentDao.save(baseNatAppointmentDO);
 |  |                         baseNatAppointmentDao.save(baseNatAppointmentDO);
 | 
												
													
														
															|  |                         String recipeTime = DateUtil.dateToStr(new Date(), "yyyyMMddHHmmss");
 |  |                         String recipeTime = DateUtil.dateToStr(new Date(), "yyyyMMddHHmmss");
 | 
												
													
														
															|  |                         String applyDepaName = map.get("deptCode").toString();
 |  | 
 | 
												
													
														
															|  | 
 |  |                         String applyDepaName = map.get("deptName").toString();
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  |                         String voucherNo = jsonObject.getString("@xtgzh0");
 |  |                         String voucherNo = jsonObject.getString("@xtgzh0");
 | 
												
													
														
															|  |                         String applyDoctorName = map.get("doctorName").toString();
 |  |                         String applyDoctorName = map.get("doctorName").toString();
 | 
												
											
												
													
														
															|  | @ -10671,14 +10673,14 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
 | 
												
													
														
															|  |                         }
 |  |                         }
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  |                         logger.info("cardNo:" + cardNo);
 |  |                         logger.info("cardNo:" + cardNo);
 | 
												
													
														
															|  |                         /*JSONObject jsonObject1 =entranceService.BS15054(patientMappingDO.getMappingCode(),realOrder,demoFlag);
 |  | 
 | 
												
													
														
															|  | 
 |  |                         JSONObject jsonObject1 =entranceService.BS15054(patientMappingDO.getMappingCode(),realOrder,demoFlag);
 | 
												
													
														
															|  |                         net.sf.json.JSONObject res = jsonObject1.getJSONObject("resquest");
 |  |                         net.sf.json.JSONObject res = jsonObject1.getJSONObject("resquest");
 | 
												
													
														
															|  |                         logger.info("获取待结算数据 res: " + res.toString());
 |  |                         logger.info("获取待结算数据 res: " + res.toString());
 | 
												
													
														
															|  |                         String rsCode = res.getString("@RESULT");*/
 |  | 
 | 
												
													
														
															|  |                         String free= 80+"";
 |  | 
 | 
												
													
														
															|  |                         /*if ("0".equals(rsCode)) {
 |  | 
 | 
												
													
														
															|  | 
 |  |                         String rsCode = res.getString("@RESULT");
 | 
												
													
														
															|  | 
 |  |                         String free= "";
 | 
												
													
														
															|  | 
 |  |                         if ("0".equals(rsCode)) {
 | 
												
													
														
															|  |                             free = res.getString("@total_charge");
 |  |                             free = res.getString("@total_charge");
 | 
												
													
														
															|  |                         }*/
 |  | 
 | 
												
													
														
															|  | 
 |  |                         }
 | 
												
													
														
															|  |                         ylzPayService.msgPush("01", mediaCard, "01", patientDO.getMobile(), "00", userNo, userName, idcard, voucherNo, applyDepaName, applyDoctorName, recipeTime, free, "1");
 |  |                         ylzPayService.msgPush("01", mediaCard, "01", patientDO.getMobile(), "00", userNo, userName, idcard, voucherNo, applyDepaName, applyDoctorName, recipeTime, free, "1");
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  |                         /*//成功后发送模板消息
 |  |                         /*//成功后发送模板消息
 |