panlumeng 3 years ago
parent
commit
c05142c172
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/Good.php

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

@@ -323,7 +323,7 @@ class Good extends \app\BaseController
      * @throws \think\db\exception\ModelNotFoundException
      */
     public function Stat(){
-        $condition =[["is_del"=>0]];
+        $condition =[["is_del","=",0]];
         $wsm_code = isset($this->post['wsm_code']) &&$this->post['wsm_code'] !=="" ? trim($this->post['wsm_code']):"";
         if($wsm_code!=""){
          //$condition["wsm_code"] = $wsm_code;