|
@ -537,7 +537,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
prescriptionExpressageDao.save(expressageDO);
|
|
|
|
|
|
//3.创建候诊室
|
|
|
createRoom(outpatient,registerTimeDO==null?null:registerTimeDO.getStartTime());
|
|
|
createRoom(outpatient);
|
|
|
|
|
|
return outpatient;
|
|
|
}
|
|
@ -547,7 +547,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
* @param outpatientDO
|
|
|
* @return
|
|
|
*/
|
|
|
public Boolean createRoom(WlyyOutpatientDO outpatientDO,Date reservationTime){
|
|
|
public Boolean createRoom(WlyyOutpatientDO outpatientDO){
|
|
|
|
|
|
WlyyHospitalWaitingRoomDO waitingRoom = new WlyyHospitalWaitingRoomDO();
|
|
|
|
|
@ -558,7 +558,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
|
|
|
waitingRoom.setPatientId(outpatientDO.getPatient());
|
|
|
waitingRoom.setPatientName(outpatientDO.getPatientName());
|
|
|
waitingRoom.setReservationTime(reservationTime);
|
|
|
waitingRoom.setReservationTime(outpatientDO.getRegisterDate());
|
|
|
waitingRoom.setVisitStatus(0);
|
|
|
waitingRoom.setReservationType(1);
|
|
|
waitingRoom.setSort(0);
|
|
@ -2243,10 +2243,9 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
List<NameValuePair> params = new ArrayList<>();
|
|
|
params.add(new BasicNameValuePair("clientId", "ihealth_pa8DIRJasL"));
|
|
|
params.add(new BasicNameValuePair("clientSecret", "jkzl1h7aj39dnasyi23fnkv92"));
|
|
|
params.add(new BasicNameValuePair("code", "334e4232777e4edabea4a4334bf1997c"));
|
|
|
params.add(new BasicNameValuePair("openid","oULM4xIoqe3DwEClan_Rq-bQ4JDE"));
|
|
|
String res = null;
|
|
|
res = httpClientUtil.post("http://www.xmtyw.cn/wlyy/iHealth/userInfo", params, "UTF-8");
|
|
|
params.add(new BasicNameValuePair("code", "b60bab0617c04b23b7fa0a059cc83eb6"));
|
|
|
params.add(new BasicNameValuePair("openid","oULM4xAj9sOsHJ95ttKYd_Fjh6Hc"));
|
|
|
String res = httpClientUtil.post("http://www.xmtyw.cn/wlyy/iHealth/userInfo", params, "UTF-8");
|
|
|
return res;
|
|
|
}
|
|
|
|