Browse Source

有赞列表筛选条件优化

wufeng 2 years ago
parent
commit
e6a78f4bd0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/Good.php

+ 1 - 1
app/admin/controller/Good.php

@@ -220,7 +220,7 @@ class Good extends Base
         if ($param['creater'] !== '') $where[] = ['a.creater', "like", '%' . $param['creater'] . '%'];
         if ($param['createrid'] !== '') $where[] = ['a.createrid', "=", $param['createrid']];
         if ($param['status'] !== '') $where[] = ['a.status', '=', $param['status']];
-        if ($param['platform_code'] !== "") $where[] = ["platform_code", '=', $param['platform_code']];
+        if ($param['platform_code'] !== "") $where[] = ["b.platform_id", '=', $param['platform_code']];
         if ($param['plat_code'] !== '') $where[] = ["b.plat_code", "like", '%' . $param['plat_code'] . '%'];
         if ($param['exam_status'] !== '') $where[] = ['b.exam_status', "=", $param['exam_status']];
         if ($param['brand_id'] !== "") $where[] = ['a.brand_id', "=", $param['brand_id']];