Commit 16b5838f by Huang Linyu

继续下单不能识别社员身份的问题

parent 4705a9b5
......@@ -337,6 +337,16 @@ public abstract class AbstractOrderService<H extends AbstractOrderBean<T>, T> ex
CustomerInfoBean customerInfoBean = new CustomerInfoBean();
BeanConverter.copyProperties(customerInfoBean, customerInfo);
customerInfoBeans.add(customerInfoBean);
UserExt user = userExtService.GetUserExtInfoByPhone(customerInfo.getMobileNo());
if(user!=null){
if(checkIfCommuneUser(user)){
customerInfo.setCommuneFlag(true);
}else{
customerInfo.setCommuneFlag(false);
}
}else{
customerInfo.setCommuneFlag(false);
}
}
}
abstractOrderBean.setCustomerInfoList(customerInfoBeans);
......
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 sign in to comment