This commit is contained in:
youda 2025-04-28 15:17:33 +08:00
parent 50b8a59ff8
commit 6401ce8884

View File

@ -1317,7 +1317,7 @@ class Statistics extends Base
// 查询3获取兑换成本
$reMoneyQuery = Db::name('order_list')
->where('goods_id', 'in', $goodsIds)
->where('LENGTH(recovery_num)', '>', 0)
->where('status', '=', 1)
->where('user_id', 'not in', $testUserIds);
if ($hasTimeRange) {
@ -1330,7 +1330,7 @@ class Statistics extends Base
// 查询4获取发货成本
$fhMoneyQuery = Db::name('order_list')
->where('goods_id', 'in', $goodsIds)
->where('LENGTH(send_num)', '>', 0)
->where('status', '=', 2)
->where('user_id', 'not in', $testUserIds);
if ($hasTimeRange) {