feat: 基础完成
This commit is contained in:
parent
feddef6278
commit
7ac34fcc13
@ -120,7 +120,7 @@ class DailySalesReport extends Command
|
||||
|
||||
$date = Carbon::parse($startTime)->format('Y-m-d');
|
||||
$goodsSkus = GoodsSku::query()
|
||||
->select(['goods_id', 'external_sku_id', 'name', 'id'])
|
||||
->select(['goods_id', 'external_sku_id', 'name', 'id', 'goal_rate'])
|
||||
->with(['daily' => function ($query) use ($date) {
|
||||
$query->where('day', $date);
|
||||
}])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user