liche update for admin clues search by en_time bug

This commit is contained in:
xxb
2021-09-09 21:10:43 +08:00
parent 48d141caf6
commit a35e29b156
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -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';
}
}
+1
View File
@@ -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;