Commit ad789bbf authored by hujun's avatar hujun

1

parent ba8d6fdb
...@@ -191,6 +191,10 @@ class OfficePayLog extends Basic ...@@ -191,6 +191,10 @@ class OfficePayLog extends Basic
$where[] = ['EXP', '(select id from o_paylog_adjustment where paylog_id=a.id and is_del = 0 group by paylog_id) is null ']; $where[] = ['EXP', '(select id from o_paylog_adjustment where paylog_id=a.id and is_del = 0 group by paylog_id) is null '];
} }
if (!empty($params['is_del'])) {
$where['a.is_del'] = $params['is_del'];
}
return $where; return $where;
} }
...@@ -303,7 +307,6 @@ class OfficePayLog extends Basic ...@@ -303,7 +307,6 @@ class OfficePayLog extends Basic
$data = []; $data = [];
$where = $this->buildWhere($this->params); $where = $this->buildWhere($this->params);
$where['a.is_del'] = 0;
$msg = ''; $msg = '';
try { try {
$order = new OfficeOPayLogModel(); $order = new OfficeOPayLogModel();
......
...@@ -271,7 +271,7 @@ class PayLog extends Basic ...@@ -271,7 +271,7 @@ class PayLog extends Basic
} }
if (!empty($params['is_del'])) { if (!empty($params['is_del'])) {
$where['a.is_del'] = 1; $where['a.is_del'] = $params['is_del'];
} }
return $where; return $where;
......
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