提交
This commit is contained in:
parent
9b1daae474
commit
4db9d733d0
|
|
@ -730,7 +730,7 @@ class Statistics extends Base
|
|||
// 查询3:获取兑换成本
|
||||
$reMoneyQuery = Db::name('order_list')
|
||||
->where('goods_id', '=', $goodId)
|
||||
->where('LENGTH(recovery_num)', '>', 0)
|
||||
->where('status', '=', 1)
|
||||
->where('user_id', 'not in', $testUserIds);
|
||||
|
||||
if ($hasTimeRange) {
|
||||
|
|
@ -743,7 +743,7 @@ class Statistics extends Base
|
|||
// 查询4:获取发货成本
|
||||
$fhMoneyQuery = Db::name('order_list')
|
||||
->where('goods_id', '=', $goodId)
|
||||
->where('LENGTH(send_num)', '>', 0)
|
||||
->where('status', '=', 2)
|
||||
->where('user_id', 'not in', $testUserIds);
|
||||
|
||||
if ($hasTimeRange) {
|
||||
|
|
@ -882,7 +882,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) {
|
||||
|
|
@ -895,7 +895,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) {
|
||||
|
|
@ -1177,7 +1177,7 @@ class Statistics extends Base
|
|||
// 查询3:获取兑换成本
|
||||
$reMoneyQuery = Db::name('order_list')
|
||||
->where('goods_id', '=', $goodId)
|
||||
->where('LENGTH(recovery_num)', '>', 0)
|
||||
->where('status', '=', 1)
|
||||
->where('user_id', 'not in', $testUserIds);
|
||||
|
||||
if ($hasTimeRange) {
|
||||
|
|
@ -1190,7 +1190,7 @@ class Statistics extends Base
|
|||
// 查询4:获取发货成本
|
||||
$fhMoneyQuery = Db::name('order_list')
|
||||
->where('goods_id', '=', $goodId)
|
||||
->where('LENGTH(send_num)', '>', 0)
|
||||
->where('status', '=', 2)
|
||||
->where('user_id', 'not in', $testUserIds);
|
||||
|
||||
if ($hasTimeRange) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user