wugg hace 3 años
padre
commit
f6d9ecc96e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/admin/controller/Good.php

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

@@ -276,7 +276,7 @@ class Good extends \app\BaseController
         $type_code = isset($this->post['type_code']) &&$this->post['type_code'] !=="" ? trim($this->post['type_code'])
             :"";
         if($type_code!==""){
-            $condition[]=["b.type_code","like","%{$type_code}%ss"];
+            $condition[]=["b.type_code","like","%{$type_code}%"];
         }
         $count = Db::name("good_type")->alias("b")->join("good a","a.good_code = b.good_code","left")
             ->where($condition)->count();