|
@@ -8,6 +8,7 @@ import com.qs.mp.channel.domain.vo.ChannelCartVO;
|
|
import com.qs.mp.channel.service.IChannelCartService;
|
|
import com.qs.mp.channel.service.IChannelCartService;
|
|
import com.qs.mp.common.core.domain.AjaxResult;
|
|
import com.qs.mp.common.core.domain.AjaxResult;
|
|
import com.qs.mp.common.domain.param.BatchLongIdsParam;
|
|
import com.qs.mp.common.domain.param.BatchLongIdsParam;
|
|
|
|
+import com.qs.mp.common.enums.TicketBoxStatusEnum;
|
|
import com.qs.mp.utils.SecurityUtils;
|
|
import com.qs.mp.utils.SecurityUtils;
|
|
import com.qs.mp.web.controller.common.BaseApiController;
|
|
import com.qs.mp.web.controller.common.BaseApiController;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
@@ -44,7 +45,8 @@ public class ChannelCartController extends BaseApiController {
|
|
Long channelId = SecurityUtils.getLoginUser().getChannelId();
|
|
Long channelId = SecurityUtils.getLoginUser().getChannelId();
|
|
startPage();
|
|
startPage();
|
|
List<ChannelCartVO> channelCartVOS = channelCartService.listCartVO(
|
|
List<ChannelCartVO> channelCartVOS = channelCartService.listCartVO(
|
|
- new LambdaQueryWrapper<ChannelCart>().eq(ChannelCart::getChannelId, channelId)
|
|
|
|
|
|
+ new LambdaQueryWrapper<ChannelCart>().eq(ChannelCart::getChannelId, channelId).eq(ChannelCart::getStatus,
|
|
|
|
+ TicketBoxStatusEnum.PUT_ON)
|
|
.orderByDesc(ChannelCart::getUpdatedTime));
|
|
.orderByDesc(ChannelCart::getUpdatedTime));
|
|
return AjaxResult.success(channelCartVOS);
|
|
return AjaxResult.success(channelCartVOS);
|
|
}
|
|
}
|