lvhao 20 stundas atpakaļ
vecāks
revīzija
1cc145b28e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;
              }