panlumeng 3 år sedan
förälder
incheckning
c05142c172
1 ändrade filer med 1 tillägg och 1 borttagningar
  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
      * @throws \think\db\exception\ModelNotFoundException
      */
      */
     public function Stat(){
     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']):"";
         $wsm_code = isset($this->post['wsm_code']) &&$this->post['wsm_code'] !=="" ? trim($this->post['wsm_code']):"";
         if($wsm_code!=""){
         if($wsm_code!=""){
          //$condition["wsm_code"] = $wsm_code;
          //$condition["wsm_code"] = $wsm_code;