lvhao 19 小時之前
父節點
當前提交
1cc145b28e
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
              }