Commit 7adf860d authored by zw's avatar zw

bug

parent 3224277c
......@@ -49,7 +49,7 @@ class PayLogService
//调整
$adjustment_sum = $this->payLogAdjustmentModel->getAdjustmentSum("money", $where_);
$residue_money = $pay_log_arr["money"] - $adjustment_sum["money"];
$residue_money = $pay_log_arr["money"] - $adjustment_sum;
return $residue_money;
}
......
......@@ -61,7 +61,7 @@ class OPayLogAdjustment extends BaseModel{
{
$data = $this->db_
->where($params)
->sum("money");
->sum($field);
//echo $this->getLastSql();
return $data;
......
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