|
|
@@ -888,10 +888,11 @@ class CustomController extends BaseController
|
|
|
$ghsIds[] = $custom['ghsId'];
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
// 批量更新供货商信息
|
|
|
if (!empty($ghsIds)) {
|
|
|
- GhsClass::updateByCondition(
|
|
|
- ['id' => ['in', array_unique($ghsIds)]],
|
|
|
+ GhsClass::updateByIds(
|
|
|
+ array_unique($ghsIds),
|
|
|
['homeAmount' => $homeAmount, 'homeType' => $homeType]
|
|
|
);
|
|
|
}
|