This commit is contained in:
Jerry Yan 2020-06-09 19:23:29 +08:00
parent df910a1777
commit fbc49be499

View File

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