Commit 85017c40 by 杨树贤

细致

parent 5e0c701e
......@@ -262,10 +262,10 @@ class SupplierFilter
});
// 额外显示的特殊状态(如果有权限)
if ($canViewBlockSupplier && checkPerm('ViewAllSupplier')) {
if ($canViewBlockSupplier && !checkPerm('ViewAllSupplier')) {
$mainQuery->orWhere('status', SupplierChannelModel::STATUS_BLOCK);
}
if ($canViewDisableSupplier && checkPerm('ViewAllSupplier')) {
if ($canViewDisableSupplier && !checkPerm('ViewAllSupplier')) {
$mainQuery->orWhere('status', SupplierChannelModel::STATUS_DISABLE);
}
});
......
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