Przeglądaj źródła

演出列表过滤掉status不为1的

zc 3 miesięcy temu
rodzic
commit
be1c171ecf

+ 1 - 1
alien-store/src/main/java/shop/alien/store/service/impl/PerformanceListServiceImpl.java

@@ -144,7 +144,7 @@ public class PerformanceListServiceImpl implements PerformanceListService {
         queryWrapper.eq(BarPerformance::getStoreId, storeId)
                 .eq(BarPerformance::getDeleteFlag, CommonConstant.DELETE_FLAG_UNDELETE)
                 .eq(BarPerformance::getReviewStatus, CommonConstant.PERFORMANCE_REVIEW_STATUS_APPROVED)
-                .eq(BarPerformance::getOnlineStatus, CommonConstant.PERFORMANCE_ONLINE_STATUS_ONLINE);
+                .eq(BarPerformance::getOnlineStatus, CommonConstant.PERFORMANCE_ONLINE_STATUS_ONLINE).eq(BarPerformance::getStatus, 1);
 
         // 排序规则:按创建时间降序
         queryWrapper.orderByDesc(BarPerformance::getCreatedTime);