From fbc49be499a2b58e5c648f83f549b6fe684687fb Mon Sep 17 00:00:00 2001 From: JerryYan <792602257@qq.com> Date: Tue, 9 Jun 2020 19:23:29 +0800 Subject: [PATCH] 13 --- hyhproject/common/model/CashDraws.php | 1 + 1 file changed, 1 insertion(+) diff --git a/hyhproject/common/model/CashDraws.php b/hyhproject/common/model/CashDraws.php index 6eaed2b..83a6f6c 100755 --- a/hyhproject/common/model/CashDraws.php +++ b/hyhproject/common/model/CashDraws.php @@ -14,6 +14,7 @@ class CashDraws extends Base{ $where = []; $where['targetType'] = (int)$targetType; $where['targetId'] = (int)$targetId; + $where['cashStatus'] = 1; if(in_array($type,[0,1]))$where['moneyType'] = $type; return $this->where($where)->order('cashId desc')->paginate()->toArray(); }