dever 3 年之前
父節點
當前提交
7fd4433e17
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      service/option/lib/Cash.php

+ 1 - 1
service/option/lib/Cash.php

@@ -218,7 +218,7 @@ class Cash
                 Dever::db('option/cash')->update($update);
 
                 # 获取待发放数据 对之前发放的数据进行发放
-                $fafang = Dever::db('option/bill_fafang')->find(array('status' => 2, 'type' => $info['type'], 'aid' => $aid));
+                $fafang = Dever::db('option/bill_fafang')->find(array('status' => 2, 'type' => $info['type'], 'aid' => $info['aid']));
                 if ($fafang) {
                     foreach ($fafang as $v) {
                         if ($info['cash'] >= $v['cash']) {