shish 2 years ago
parent
commit
dd1965b1ae
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app-pt/controllers/ItemController.php

+ 1 - 0
app-pt/controllers/ItemController.php

@@ -24,6 +24,7 @@ class ItemController extends BaseController
         }
         if (!empty($cpId) && $cpId > 0) {
             $ptCpItemList = PtCpItemClass::getAllByCondition(['cpId' => $cpId], null, 'itemId');
+            print_r($ptCpItemList);die;
             if (!empty($ptCpItemList)) {
                 $ids = array_column($ptCpItemList, 'itemId');
                 $where['id'] = ['in', $ids];