|
@@ -1408,11 +1408,11 @@ public class Order extends Controller {
|
|
|
String type = row.getString("type");
|
|
|
//标准订单:提交时商品必须是上架状态,否则不允许提交
|
|
|
if (type.equals("标准订单")) {
|
|
|
- orderItemsHelper.checkOffOrderItems(sa_orderid, "sa_orderitems");
|
|
|
+ orderItemsHelper.checkOffOrderItems(sa_orderid, "plm_item");
|
|
|
}
|
|
|
//促销订单:提交时商品必须是上架状态,并且活动方案中的商品必须也是上架状态,否则不允许提交
|
|
|
if (type.equals("促销订单")) {
|
|
|
- orderItemsHelper.checkOffOrderItems(sa_orderid, "sa_orderitems");
|
|
|
+ orderItemsHelper.checkOffOrderItems(sa_orderid, "plm_item");
|
|
|
orderItemsHelper.checkOffOrderItems(sa_orderid, "sa_promotion_items");
|
|
|
}
|
|
|
|