From 2c5680dcc7cf6c3fac75275d61bf294f2d54d78d Mon Sep 17 00:00:00 2001 From: chenzhi Date: Mon, 1 Nov 2021 14:37:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=89=B9=E6=AE=8A=E8=A1=A5?= =?UTF-8?q?=E7=82=B9=E7=9A=84=E6=AF=94=E4=BE=8B=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/CompanyStatementController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];