feat: 修改了库存发送类,增加了参数1到存储方法中
This commit is contained in:
parent
30a6a404c6
commit
f050252966
@ -90,7 +90,7 @@ class StoreStorageSend implements Consumer
|
|||||||
Db::startTrans();
|
Db::startTrans();
|
||||||
try {
|
try {
|
||||||
if ($product_arr['stock'] > 0) {
|
if ($product_arr['stock'] > 0) {
|
||||||
$this->storage($find, $store_id, $admin_id, $product_arr);
|
$this->storage($find, $store_id, $admin_id, $product_arr,1);
|
||||||
}
|
}
|
||||||
Db::commit();
|
Db::commit();
|
||||||
return true;
|
return true;
|
||||||
@ -141,7 +141,7 @@ class StoreStorageSend implements Consumer
|
|||||||
Db::startTrans();
|
Db::startTrans();
|
||||||
try {
|
try {
|
||||||
if ($product_arr['stock'] > 0) {
|
if ($product_arr['stock'] > 0) {
|
||||||
$this->storage($find, $store_id, $admin_id, $product_arr);
|
$this->storage($find, $store_id, $admin_id, $product_arr,2);
|
||||||
}
|
}
|
||||||
Db::commit();
|
Db::commit();
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user