Commit cd782da3 authored by hujun's avatar hujun

is_pay_log

parent c4843a3b
......@@ -95,7 +95,7 @@ class Finance extends Basic
$where['a.status'] = 11;
$order = 'a.id desc';
$is_show = 0;
// $where[] = ['EXP', 'f.id is NOT null'];
if (!empty($this->params['create_time']) && empty($this->params['end_time'])) {
$where['a.create_time'] = [ '> time', $this->params['create_time'] . ' 00:00:00' ];
$is_show = 1;
......@@ -136,6 +136,17 @@ class Finance extends Basic
$where['a.id'] = $this->params['bargain_id'];
$is_show = 1;
}
if (!empty($this->params['is_pay_log'])) {
if ($this->params['is_pay_log'] == 1) {
$where[] = ['EXP', 'f.id is not null'];
} else {
$where[] = ['EXP', 'f.id is null'];
}
$is_show = 1;
}
$excel_title = '成交报告';
switch ($check_status) {
case 2 :
......
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