|
|
@@ -201,7 +201,7 @@ class ItemClass extends BaseClass
|
|
|
], true);
|
|
|
$customClassId = $customClass->id ?? 0;
|
|
|
|
|
|
- $currentCpList = PtCpClass::getAllByCondition(['classId' => $ptCpClassId], null, '*', null, true);
|
|
|
+ $currentCpList = PtCpClass::getAllByCondition(['classId' => $ptCpClassId, 'delStatus' => 0], null, '*', null, true);
|
|
|
if (!empty($currentCpList)) {
|
|
|
foreach ($currentCpList as $currentCp) {
|
|
|
$cpId = $currentCp->id ?? 0;
|