mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
recover ptGen
This commit is contained in:
@@ -128,7 +128,7 @@ class ClaimRepository extends BaseRepository
|
||||
{
|
||||
$startOfThisMonth = Carbon::now()->startOfMonth();
|
||||
$query = Claim::query()
|
||||
->selectRaw("uid, count(*) as count)")
|
||||
->selectRaw("uid, count(*) as count")
|
||||
->where("created_at", "<", $startOfThisMonth)
|
||||
->where(function (Builder $query) use ($startOfThisMonth) {
|
||||
$query->where('last_settle_at', '<', $startOfThisMonth)->orWhereNull('last_settle_at');
|
||||
|
||||
Reference in New Issue
Block a user