Commit a119a36d authored by Liu lu's avatar Liu lu

为空过滤

parent 2e734f1e
...@@ -57,8 +57,10 @@ class LogTraceQueue extends RedisQueueBatchHandler ...@@ -57,8 +57,10 @@ class LogTraceQueue extends RedisQueueBatchHandler
if(!empty($updateMarkComplete)){ if(!empty($updateMarkComplete)){
LogTrace::whereIn('request_id',$updateMarkComplete)->update(['is_completed'=>YES]); LogTrace::whereIn('request_id',$updateMarkComplete)->update(['is_completed'=>YES]);
} }
if(!empty($updateArr)){
LogTrace::getModel()->batchUpdateByField(array_values($updateArr),'request_id'); LogTrace::getModel()->batchUpdateByField(array_values($updateArr),'request_id');
} }
}
} }
\ No newline at end of file
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 to comment