Bläddra i källkod

客户复制的花材不显示

shish 4 år sedan
förälder
incheckning
8c73af6b90
1 ändrade filer med 2 tillägg och 5 borttagningar
  1. 2 5
      app-ghs/controllers/PtItemController.php

+ 2 - 5
app-ghs/controllers/PtItemController.php

@@ -31,11 +31,8 @@ class PtItemController extends BaseController
         if (!empty($classId)) {
         if (!empty($classId)) {
             $where['classId'] = $classId;
             $where['classId'] = $classId;
         }
         }
-        //是否显示复制的花材
-        $copy = Yii::$app->request->get('copy', '');
-        if (is_numeric($copy)) {
-            $where['copy'] = $copy;
-        }
+        //客户复制的花材不显示出来
+        $where['copy'] = 0;
         //没有删除的花材
         //没有删除的花材
         $where['delStatus'] = 0;
         $where['delStatus'] = 0;
         $sjId = $this->sjId;
         $sjId = $this->sjId;