diff --git a/Application/Admin/Controller/CompanyStatementController.class.php b/Application/Admin/Controller/CompanyStatementController.class.php index 49f76ad34..87ceb03f8 100644 --- a/Application/Admin/Controller/CompanyStatementController.class.php +++ b/Application/Admin/Controller/CompanyStatementController.class.php @@ -1966,7 +1966,7 @@ class CompanyStatementController extends ThinkController $map['payed_time'] = ['between', [$start_time, $end_time]]; $radioMap['_string'] = "(begin_time>{$start_time} and begin_time<{$end_time}) - or (end_time>{$start_time} and (end_time<{$end_time} and end_time!=0)) or (begin_time<{$start_time} and end_time>{$end_time})"; + or (end_time>{$start_time} and (end_time<{$end_time} and end_time!=0)) or (begin_time<{$start_time} and end_time>{$end_time}) or (begin_time<{$start_time} and end_time = 0)"; } elseif (isset($_REQUEST['time_start'])) { $map['payed_time'] = ['GT', $start_time];