|
@@ -92,7 +92,7 @@ class OrderDispatch
|
|
'order_express_id' => 0,
|
|
'order_express_id' => 0,
|
|
])->find();
|
|
])->find();
|
|
if(empty($check_nosend)){
|
|
if(empty($check_nosend)){
|
|
- //发货,冗余到bill表
|
|
|
|
|
|
+ //商城,发货,冗余到bill表
|
|
Db::name('bill')->where([
|
|
Db::name('bill')->where([
|
|
'table_name' => 'shopro_order',
|
|
'table_name' => 'shopro_order',
|
|
'table_id' => $this->order->id,
|
|
'table_id' => $this->order->id,
|
|
@@ -231,7 +231,7 @@ class OrderDispatch
|
|
'order_express_id' => 0,
|
|
'order_express_id' => 0,
|
|
])->find();
|
|
])->find();
|
|
if($check_nosend){
|
|
if($check_nosend){
|
|
- //取消发货,冗余到bill表
|
|
|
|
|
|
+ //商城,取消发货,冗余到bill表
|
|
Db::name('bill')->where([
|
|
Db::name('bill')->where([
|
|
'table_name' => 'shopro_order',
|
|
'table_name' => 'shopro_order',
|
|
'table_id' => $this->order->id,
|
|
'table_id' => $this->order->id,
|