Browse Source

Merge branch 'dev_wf' of wugg/phpstock into version1.5

wufeng 2 years ago
parent
commit
d5a9f435bc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/command/SplitSale.php

+ 1 - 1
app/command/SplitSale.php

@@ -93,7 +93,7 @@ class SplitSale extends Command
 
                     //订单回款通道各公司税点
                     $pay_rates = Db::name('pay_log')
-                        ->where(['is_del' => 0, 'pay_id' => $sale['pay_id']])
+                        ->where(['is_del' => 0, 'pay_id' => $sale['pay_id'], 'orderCode' => $sale['orderCode']])
                         ->field(true)
                         ->order(['weight' => 'desc'])
                         ->cursor();