导出搜索时间修改

master
liuweiwen 5 years ago
parent 127be94d60
commit fb4b017515

@ -6940,8 +6940,11 @@ class ExportController extends Controller
}
if (!empty(I('timeend'))) {
$timeend = strtotime(I('timeend'));
$map['_string'] .= " and s.pay_time < {$timeend}";
$timeend = strtotime(I('timeend') . ' 23:59:59');
if (!empty($map['_string'])) {
$map['_string'] .= " and ";
}
$map['_string'] .= " s.pay_time < {$timeend}";
}
$xlsData = D("spend")->gameStatistics($map);
@ -7006,8 +7009,11 @@ class ExportController extends Controller
}
if (!empty(I('timeend'))) {
$timeend = strtotime(I('timeend'));
$map['_string'] .= " and pay_time < {$timeend}";
$timeend = strtotime(I('timeend') . ' 23:59:59');
if (!empty($map['_string'])) {
$map['_string'] .= " and ";
}
$map['_string'] .= " pay_time < {$timeend}";
}
$map['pay_status'] = 1;

Loading…
Cancel
Save