Commit e80617c8 authored by test's avatar test

预约接口调整

parent 3c793760
...@@ -102,8 +102,10 @@ public class AppointmentController { ...@@ -102,8 +102,10 @@ public class AppointmentController {
order.setChannelName(WanDaConstant.CHANNEL_NAME); order.setChannelName(WanDaConstant.CHANNEL_NAME);
order.setNumSourceFrom(WanDaConstant.NUM_SOURCE_FROM); order.setNumSourceFrom(WanDaConstant.NUM_SOURCE_FROM);
order.setPatient_type(WanDaConstant.PATIENT_TYPE_NORMAL); order.setPatient_type(WanDaConstant.PATIENT_TYPE_NORMAL);
order.setMediCardId(""); if (StrUtil.isBlank(order.getMediCardId()) || StrUtil.isBlank(order.getMediCardType())){
order.setMediCardType(""); order.setMediCardId(patient.getMediCardId());
order.setMediCardType(patient.getMediCardType());
}
order.setUserBD(DateUtil.format(IdcardUtil.getBirthDate(patient.getCertId()), DatePattern.NORM_DATE_PATTERN)); order.setUserBD(DateUtil.format(IdcardUtil.getBirthDate(patient.getCertId()), DatePattern.NORM_DATE_PATTERN));
AppResult result = WanDaHttpUtil.submitOrderByUserInfo(order); AppResult result = WanDaHttpUtil.submitOrderByUserInfo(order);
if (null != result) { if (null != result) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment