From a35e29b156a561758efccab59698ac12b009501f Mon Sep 17 00:00:00 2001 From: xxb Date: Thu, 9 Sep 2021 21:10:43 +0800 Subject: [PATCH] liche update for admin clues search by en_time bug --- admin/controllers/receiver/Clues.php | 4 ++-- admin/views/receiver/clues/lists.php | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/admin/controllers/receiver/Clues.php b/admin/controllers/receiver/Clues.php index 21677dc7..0c5f925d 100644 --- a/admin/controllers/receiver/Clues.php +++ b/admin/controllers/receiver/Clues.php @@ -61,10 +61,10 @@ class Clues extends HD_Controller $en_time = explode(' ~ ', $params['en_time']); if ($en_time[0]) { $where["en_time >="] = $en_time[0] . ' 00:00:00'; - $where_yx["c.en_time >="] = $en_time[0] . ' 23:59:59'; + $where_yx["c.en_time >="] = $en_time[0] . ' 00:00:00'; } if ($en_time[1]) { - $where["en_time <="] = $en_time[1] . ' 00:00:00'; + $where["en_time <="] = $en_time[1] . ' 23:59:59'; $where_yx["c.en_time <="] = $en_time[1] . ' 23:59:59'; } } diff --git a/admin/views/receiver/clues/lists.php b/admin/views/receiver/clues/lists.php index f0863610..d99b3bc4 100644 --- a/admin/views/receiver/clues/lists.php +++ b/admin/views/receiver/clues/lists.php @@ -353,6 +353,7 @@ $('#search_tp').val('mobile'); $('#title').val(''); $('#id-create-time').val(''); + $('#id-en-time').val(''); that.city_id = '0'; that.county_id = '0'; that.cfrom_id = 0;