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(); }