lvhao 19 godzin temu
rodzic
commit
1cc145b28e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      core/CoreApp/controllers/Goodimglibrary.php

+ 1 - 1
core/CoreApp/controllers/Goodimglibrary.php

@@ -975,7 +975,7 @@ class Goodimglibrary extends Start_Controller {
              }
              $classid = $this->logic_u9tools->getClass();
              $r = $this->logic_zhlp->featureTransferColumn($res['data'],$classid);
-             $info = $this->whlabel->find("sku !='".$r['sku']."' and features = '".$features."' and warehouse = 13");
+             $info = $this->whlabel->find("features = '".$features."' and warehouse = 13 and state = 0 and sku !='".$r['sku']."'  ");
              if(!empty($info)){
                 echo json_encode(['success'=>false,'msg'=>'系统生成sku和库存使用sku不一致联系技术处理']);exit;
              }