lvhao 19 часов назад
Родитель
Сommit
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();
              $classid = $this->logic_u9tools->getClass();
              $r = $this->logic_zhlp->featureTransferColumn($res['data'],$classid);
              $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)){
              if(!empty($info)){
                 echo json_encode(['success'=>false,'msg'=>'系统生成sku和库存使用sku不一致联系技术处理']);exit;
                 echo json_encode(['success'=>false,'msg'=>'系统生成sku和库存使用sku不一致联系技术处理']);exit;
              }
              }