增加限制查询未退款的逻辑
This commit is contained in:
parent
2f1288949b
commit
b76f630bbd
@ -602,7 +602,7 @@ class WorkbenchLogic extends BaseLogic
|
|||||||
|
|
||||||
//当日营业额的统计
|
//当日营业额的统计
|
||||||
$today = StoreOrder::where(['paid' => YesNoEnum::YES, 'store_id' => $params['store_id']]);
|
$today = StoreOrder::where(['paid' => YesNoEnum::YES, 'store_id' => $params['store_id']]);
|
||||||
$turnover_today = $today
|
$turnover_today = $today->where('refund_status',0)
|
||||||
->whereDay('create_time')
|
->whereDay('create_time')
|
||||||
->sum('pay_price');
|
->sum('pay_price');
|
||||||
//当日利润的统计
|
//当日利润的统计
|
||||||
|
Loading…
x
Reference in New Issue
Block a user