|
|
|
@ -26,7 +26,7 @@ class SettlementController extends ThinkController
|
|
|
|
|
$map['_string'] = "create_time >= ".strtotime(I('create_time_start'));
|
|
|
|
|
}
|
|
|
|
|
if (I('create_time_end')) {
|
|
|
|
|
$map['_string'] = "create_time <= ".strtotime(I('create_time_end'));
|
|
|
|
|
$map['_string'] = "create_time <= ".strtotime(I('create_time_end')) + 86400;
|
|
|
|
|
}
|
|
|
|
|
$login_uid = is_login();
|
|
|
|
|
$list = M('settlement_sheet', 'tab_')->where($map)->page($p, $row)->order("if (audit_user ={$login_uid}, 0,1 ) and status = 3, all_status desc, create_time desc")->select();
|
|
|
|
|