|
|
@@ -126,7 +126,7 @@ class U8SettleInventory extends Command
|
|
|
->where('crt_time', $time)
|
|
|
->where('status', SyncTempRecordProduct::status_zero) // 只处理待处理的数据
|
|
|
->orderBy('id')
|
|
|
- ->chunkById(500, function ($records) {
|
|
|
+ ->chunkById(200, function ($records) {
|
|
|
$batchData = [];
|
|
|
$record_ids = [];
|
|
|
$processedItems = []; // 用于批量维护快照
|