edit-api-filter_limimt

This commit is contained in:
lccsw
2021-10-12 11:03:03 +08:00
parent 52a6d2880d
commit 0f441e7c68
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -268,7 +268,9 @@ class Cusorder extends Wxapp{
];
$group_id == 1 && $where['admin_id'] = $uid;//销售
$group_id == 4 && $where['brand_id!='] = 3; //渠道经理过滤
if($group_id == 4 && $biz_id!=1){
$where['brand_id!='] = 3; //渠道经理过滤
}
if($keyword){
$where["(name='{$keyword}' or mobile='{$keyword}')"] = null;
+3 -1
View File
@@ -372,7 +372,9 @@ class Customers extends Wxapp{
if($group_id==1 || $ismy){
$where["admin_id"] = $uid;
}
$group_id == 4 && $where['brand_id!='] = 3; //渠道经理过滤
if($group_id == 4 && $biz_id!=1){
$where['brand_id!='] = 3; //渠道经理过滤
}
if($s_time && $e_time){
$where['c_time >='] = strtotime($s_time);
$where['c_time <='] = strtotime(date('Y-m-d 23:59:59',strtotime($e_time)));