Commit 7767996a by 杨树贤

Merge branch 'master' into ysx-上架设置有效期需要校验供应商规则-20260116

parents 8af51955 99086e91
......@@ -230,7 +230,7 @@ class SupplierContactService
if (!$departmentId) {
return false;
}
// 校验部门ID是否为113
return in_array($departmentId, [151, 150]);
// 校验部门ID
return in_array($departmentId, [151, 150, 113, 137]);
}
}
......@@ -128,6 +128,8 @@ class IntracodeModel extends Model
$usersOperation = $departmentService->getUserByDepartmentId(9);
//采购部
$userChannel = $departmentService->getUserByDepartmentId(8);
$userChannel2 = $departmentService->getUserByDepartmentId(113);
$userChannel = array_merge($userChannel, $userChannel2);
$users = array_merge(array_merge($usersMarket, $usersOperation), $userChannel);
$userIds = array_column($users, 'userId');
$users = $this->getEncodeByUserIds($userIds, $includeResign);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment