This commit is contained in:
“wanyongkang”
2022-05-01 13:15:09 +08:00
parent b4162b7b5f
commit e3ab3bc325
2 changed files with 4 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ class Account extends Controller
$page = ($_GET['PageIndex'] - 1) * 50;
}
$where = [];
$where_str = '';
$where_str = ' agent_id='.$agent_id.' ';
$where['UserCode'] = $agent_phone;
//处理筛选
@@ -39,7 +39,7 @@ class Account extends Controller
if (!empty($_GET['Btime'])){
$date1 = date('Y-m-d', strtotime($_GET['Btime']));
$date2 = date('Y-m-d', strtotime($_GET['Etime']));
$where_str .= " EndTime>='" . $date1 . "' and EndTime<='" . $date2 . "' ";
$where_str .= " AND EndTime>='" . $date1 . "' and EndTime<='" . $date2 . "' ";
}
if (!empty($_GET['Bktime'])){
if (mb_strlen($where_str)>0){