|  | @ -6675,7 +6675,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
 | 
												
													
														
															|  |     }
 |  |     }
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  |     public MixEnvelop selectByUrl(String oupatientId,String prescriptionId,String wxId,String flag) throws Exception {
 |  | 
 | 
												
													
														
															|  | 
 |  |     public MixEnvelop selectByUrl(String oupatientId,String prescriptionId,String wxId) throws Exception {
 | 
												
													
														
															|  |         WxWechatDO wxWechatDO = wechatDao.findById(wxId);
 |  |         WxWechatDO wxWechatDO = wechatDao.findById(wxId);
 | 
												
													
														
															|  |         if (wxWechatDO==null){
 |  |         if (wxWechatDO==null){
 | 
												
													
														
															|  |             throw new Exception("微信配置不存在!");
 |  |             throw new Exception("微信配置不存在!");
 | 
												
											
												
													
														
															|  | @ -6698,7 +6698,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
 | 
												
													
														
															|  |         if (!StringUtils.isNoneBlank(idcard)){
 |  |         if (!StringUtils.isNoneBlank(idcard)){
 | 
												
													
														
															|  |             throw new Exception("就诊卡不存在!");
 |  |             throw new Exception("就诊卡不存在!");
 | 
												
													
														
															|  |         }
 |  |         }
 | 
												
													
														
															|  |         String url = ylzPayService.createSicardPayUrl(wxWechatDO.getAppOriginId(),patientWechatDo.getOpenid(),idcard,"WX",flag);
 |  | 
 | 
												
													
														
															|  | 
 |  |         String url = ylzPayService.createSicardPayUrl(wxWechatDO.getAppOriginId(),patientWechatDo.getOpenid(),idcard,"WX");
 | 
												
													
														
															|  |         com.alibaba.fastjson.JSONObject object = com.alibaba.fastjson.JSONObject.parseObject(url);
 |  |         com.alibaba.fastjson.JSONObject object = com.alibaba.fastjson.JSONObject.parseObject(url);
 | 
												
													
														
															|  |         return MixEnvelop.getSuccess(IotRequestMapping.Common.message_success_find,object);
 |  |         return MixEnvelop.getSuccess(IotRequestMapping.Common.message_success_find,object);
 | 
												
													
														
															|  |     }
 |  |     }
 |