Commit c20f1954 authored by hujun's avatar hujun

paylog

parent c1de1785
...@@ -507,7 +507,7 @@ class OPayLogModel extends Model ...@@ -507,7 +507,7 @@ class OPayLogModel extends Model
public function getAdjustmentSum($filed,$params){ public function getAdjustmentSum($filed,$params){
return $this->db_ return $this->db_
->alias('a') ->alias('a')
->join('o_paylog_adjustment b','a.id=b.new_paylog_id') ->join('o_paylog_adjustment b','a.id=b.paylog_id')
->where($params) ->where($params)
->sum($filed); ->sum($filed);
} }
......
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