作者 何书鹏

bug修改

... ... @@ -983,7 +983,10 @@ class Order extends Base
'goods_title' => $insert_order['goods_title']
];
if($dealer){
$item_where['dealer_id'] = $dealer['id'];
$item_where = array_merge([
'dealer_id' => $dealer['id'],
'dispatch_status' => \app\admin\model\shopro\order\OrderItem::DISPATCH_STATUS_NOSEND
],$item_where);
}
$item = \app\admin\model\shopro\order\OrderItem::where($item_where)->find();
if($order && $item){
... ...