Commit 4dd91900 authored by zw's avatar zw

退款申请

parent da1f08c1
......@@ -236,4 +236,13 @@ class ORefundModel extends Model{
->join('o_financial_audit c', 'a.order_id=c.order_id', 'left')
->count();
}
public function getRefundSum($field, $params)
{
$data = $this->db_
->where($params)
->sum($field);
return $data;
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment