|
|
@@ -152,7 +152,7 @@ class HandInStorageController extends Controller
|
|
|
{
|
|
|
$owners=Owner::query()
|
|
|
->select('code')
|
|
|
- ->where('warehouse_id',3)//3 代表九干仓仓库id
|
|
|
+ ->whereIn('warehouse_id',[2,3])//3 代表九干仓仓库id 2代表泗砖仓id
|
|
|
->whereNull('deleted_at')
|
|
|
->get();
|
|
|
foreach ($owners as $owner){
|
|
|
@@ -217,8 +217,8 @@ class HandInStorageController extends Controller
|
|
|
$checkData=$request->input('checkData')[0];
|
|
|
|
|
|
//九干仓禁止使用当前app上架
|
|
|
-// $res=$this->screenWarehouseAndContrast($checkData['customerid']);
|
|
|
-// if ($res)$this->error('禁止使用当前app上架,请换用新版app上架!');
|
|
|
+ $res=$this->screenWarehouseAndContrast($checkData['customerid']);
|
|
|
+ if ($res)$this->error('禁止使用当前app上架,请换用新版app上架!');
|
|
|
|
|
|
/** @var HandInStorageService $handInStorageService */
|
|
|
$handInStorageService=app('HandInStorageService');
|