feat(WorkbenchLogic): 修改门店财务流水查询逻辑
This commit is contained in:
parent
b4a6264778
commit
98cdcb682e
@ -70,7 +70,7 @@ class WorkbenchLogic extends BaseLogic
|
||||
'paid'=>YesNoEnum::YES
|
||||
])->sum('price');
|
||||
|
||||
$data['deposit_amount'] = StoreCashFinanceFlow::where('store_id', $params['store_id'])->where('financial_type',11)->where('financial_pm',0)->whereBetweenTime('create_time', $startTime, $endTime)->sum('number');
|
||||
$data['deposit_amount'] = StoreFinanceFlow::where('store_id', $params['store_id'])->where('financial_type',11)->where('financial_pm',0)->whereBetweenTime('create_time', $startTime, $endTime)->sum('number');
|
||||
//门店成交用户数
|
||||
$data['user_number'] = StoreOrder::where('store_id', $params['store_id'])
|
||||
->where('paid', 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user