shish 2 年 前
コミット
84e08903a0
2 ファイル変更1 行追加2 行削除
  1. 0 1
      app-ghs/controllers/CpController.php
  2. 1 1
      biz-ghs/cp/classes/CpClass.php

+ 0 - 1
app-ghs/controllers/CpController.php

@@ -21,7 +21,6 @@ class CpController extends BaseController
         $mainId = $this->mainId ?? 0;
         $where = [];
         $where['mainId'] = $mainId;
-        $where['delStatus'] = 0;
         if (!empty($search)) {
             if (stringUtil::isLetter($search)) {
                 $where['py'] = ['like', $search];

+ 1 - 1
biz-ghs/cp/classes/CpClass.php

@@ -92,7 +92,7 @@ class CpClass extends BaseClass
 
     public static function getCpList($where)
     {
-        $data = self::getList('*', $where, 'inTurn DESC,addTime DESC');
+        $data = self::getList('*', $where, 'inTurn DESC,addTime DESC,delStatus DESC');
         if (!empty($data['list'])) {
             foreach ($data['list'] as $key => $val) {
                 $shortCover = $val['cover'] ?? '';