Commit e80617c8 authored by test's avatar test

预约接口调整

parent 3c793760
......@@ -102,8 +102,10 @@ public class AppointmentController {
order.setChannelName(WanDaConstant.CHANNEL_NAME);
order.setNumSourceFrom(WanDaConstant.NUM_SOURCE_FROM);
order.setPatient_type(WanDaConstant.PATIENT_TYPE_NORMAL);
order.setMediCardId("");
order.setMediCardType("");
if (StrUtil.isBlank(order.getMediCardId()) || StrUtil.isBlank(order.getMediCardType())){
order.setMediCardId(patient.getMediCardId());
order.setMediCardType(patient.getMediCardType());
}
order.setUserBD(DateUtil.format(IdcardUtil.getBirthDate(patient.getCertId()), DatePattern.NORM_DATE_PATTERN));
AppResult result = WanDaHttpUtil.submitOrderByUserInfo(order);
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