13
This commit is contained in:
parent
df910a1777
commit
fbc49be499
@ -14,6 +14,7 @@ class CashDraws extends Base{
|
|||||||
$where = [];
|
$where = [];
|
||||||
$where['targetType'] = (int)$targetType;
|
$where['targetType'] = (int)$targetType;
|
||||||
$where['targetId'] = (int)$targetId;
|
$where['targetId'] = (int)$targetId;
|
||||||
|
$where['cashStatus'] = 1;
|
||||||
if(in_array($type,[0,1]))$where['moneyType'] = $type;
|
if(in_array($type,[0,1]))$where['moneyType'] = $type;
|
||||||
return $this->where($where)->order('cashId desc')->paginate()->toArray();
|
return $this->where($where)->order('cashId desc')->paginate()->toArray();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user