소스 검색

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

zc 3 달 전
부모
커밋
be1c171ecf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      alien-store/src/main/java/shop/alien/store/service/impl/PerformanceListServiceImpl.java

+ 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);