Commit e877927c by chongfu.liang

创建配送单支持类型改造

parent c4c548c9
......@@ -170,9 +170,10 @@ public class DeliveryHandle {
//订单来源异常
String[] supportSource = supportOrderSource.split(","); // OrderSourceType.SAAS.getCode()
for (String source : supportSource){
if (!orderBean.getSource().equalsIgnoreCase(source)) {
return false;
if (orderBean.getSource().equalsIgnoreCase(source)) {
break;
}
return false;
}
//配送信息为空,则不创建配送单
if (orderBean.getAddInfo() == null || orderBean.getAddInfo().getDeliveryType() == null) {
......
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