Bladeren bron

不显示复制花材

shish 4 jaren geleden
bovenliggende
commit
e59ba58271
1 gewijzigde bestanden met toevoegingen van 5 en 0 verwijderingen
  1. 5 0
      app-ghs/controllers/PtItemController.php

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

@@ -31,6 +31,11 @@ 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['delStatus'] = 0;
         $where['delStatus'] = 0;
         $sjId = $this->sjId;
         $sjId = $this->sjId;