Your Name 3 年之前
父節點
當前提交
69912341c1
共有 2 個文件被更改,包括 6 次插入6 次删除
  1. 1 1
      service/bill/database/tixian.php
  2. 5 5
      service/bill/lib/Cron.php

+ 1 - 1
service/bill/database/tixian.php

@@ -374,7 +374,7 @@ return array
                 'state' => 1,
             ),
             'type' => 'one',
-            'col' => 'mid as mid',
+            'col' => 'sum(cash) as total',
         ),
         'upStatus' => array
         (

+ 5 - 5
service/bill/lib/Cron.php

@@ -431,11 +431,11 @@ class Cron
             // print_R($where);die;
             $tixian=Dever::db('bill/tixian')->getwsCash($where);
             if($tixian){
-                $where['status']=1;
-                $where['type']=11;
-                $where['mid']=$tixian['mid'];
-                $cash=Dever::db('bill/cash')->getwsCash($where);
-                $data['ws_cash']=$cash['total']*(-1);
+                // $where['status']=1;
+                // $where['type']=11;
+                // $where['mid']=$tixian['mid'];
+                // $cash=Dever::db('bill/cash')->getwsCash($where);
+                $data['ws_cash']=$tixian['total']*(-1);
             }
             #已审核待发放提现
             $data['df_cash']=0;