激活同步优化
This commit is contained in:
parent
c804ef0833
commit
03db89a0bc
@ -30,9 +30,9 @@ class ActivatedSync extends Command
|
|||||||
$startMicrotime = new UTCDateTime($day->copy()->subMonth()->startOfMonth());
|
$startMicrotime = new UTCDateTime($day->copy()->subMonth()->startOfMonth());
|
||||||
}
|
}
|
||||||
|
|
||||||
$query = TblCard::where('pNo', 'No00000000768')->where('isDel', 0)
|
$query = TblCard::where('pNo', 'No00000000768')
|
||||||
->where('saDate', 'exists', true)
|
|
||||||
->where('bNo', 'exists', true)
|
->where('bNo', 'exists', true)
|
||||||
|
->where('saDate', 'exists', true)
|
||||||
->where('saDate', '>=', $startMicrotime)
|
->where('saDate', '>=', $startMicrotime)
|
||||||
->where('saDate', '<=', $endMicrotime);
|
->where('saDate', '<=', $endMicrotime);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user