Commit 1489ef8f authored by hujun's avatar hujun

收款记录去除删除状态

parent 3b3461f2
...@@ -491,7 +491,8 @@ class Finance extends Basic ...@@ -491,7 +491,8 @@ class Finance extends Basic
} else { } else {
$bargain = new OPayLogModel(); $bargain = new OPayLogModel();
$fields = 'create_time,money,type,pay_type,agent_id'; $fields = 'create_time,money,type,pay_type,agent_id';
$where = "report_id = {$this->params['id']}"; $where['report_id'] = $this->params['id'];
$where['is_del'] = 0;
$data['data'] = $bargain->selectPayLogByOrderNo($fields, $where); $data['data'] = $bargain->selectPayLogByOrderNo($fields, $where);
$agent = new AAgents(); $agent = new AAgents();
foreach ($data['data'] as $k => $v) { foreach ($data['data'] as $k => $v) {
......
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