Commit 8963a87d by mushishixian

调试

parent 409707f3
......@@ -258,15 +258,15 @@ class SupplierFilter
break;
//联系人待完善
case "contact_no_complete":
$query->whereHas('contact', function ($q) {
$q->where('can_check_uids', request()->user->codeId)->where(function ($subQuery) {
$subQuery->where('supplier_consignee', '')
->orWhere('supplier_position', '')
->orWhere('supplier_email', '')
->orWhere('supplier_mobile', '')
->orWhere('supplier_telephone', '');
});
});
// $query->whereHas('contact', function ($q) {
// $q->where('can_check_uids', request()->user->codeId)->where(function ($subQuery) {
// $subQuery->where('supplier_consignee', '')
// ->orWhere('supplier_position', '')
// ->orWhere('supplier_email', '')
// ->orWhere('supplier_mobile', '')
// ->orWhere('supplier_telephone', '');
// });
// });
break;
}
return $query;
......
......@@ -79,7 +79,7 @@ class SupplierStatisticsService
return $value;
}, $result);
$redis->set($statisticsKey, json_encode($result));
$redis->expire($statisticsKey, 100);
$redis->expire($statisticsKey, 1);
return $result;
}
......
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