mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-11-30 22:20:45 +00:00
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');
|
$date = Carbon::parse($startTime)->format('Y-m-d');
|
||||||
$goodsSkus = GoodsSku::query()
|
$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) {
|
->with(['daily' => function ($query) use ($date) {
|
||||||
$query->where('day', $date);
|
$query->where('day', $date);
|
||||||
}])
|
}])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user