Commit 8963a87d by mushishixian

调试

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