|
@@ -440,9 +440,9 @@ public class TicketBoxServiceImpl extends ServiceImpl<TicketBoxMapper, TicketBox
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // 指定渠道
|
|
|
+ // 线下票指定渠道
|
|
|
if (TicketBoxSaleChannelTypeEnum.PART.getValue().equals(param.getSaleChannelType())
|
|
|
- && TicketTypeEnum.OFFLINE.getValue().equals(param.getType())) {
|
|
|
+ && TicketTypeEnum.OFFLINE.getValue().equals(param.getType().getValue())) {
|
|
|
List<Long> channelIdList = param.getChannelIdList();
|
|
|
if (CollectionUtils.isEmpty(channelIdList)) {
|
|
|
throw new ServiceException("渠道列表为空");
|
|
@@ -478,7 +478,7 @@ public class TicketBoxServiceImpl extends ServiceImpl<TicketBoxMapper, TicketBox
|
|
|
|
|
|
// 线上票指定门店
|
|
|
if (TicketBoxSaleChannelTypeEnum.PART.getValue().equals(param.getSaleChannelType())
|
|
|
- && TicketTypeEnum.ONLINE.getValue().equals(param.getType())) {
|
|
|
+ && TicketTypeEnum.ONLINE.getValue().equals(param.getType().getValue())) {
|
|
|
List<Long> channelIdList = param.getChannelIdList();
|
|
|
if (CollectionUtils.isEmpty(channelIdList)) {
|
|
|
throw new ServiceException("门店列表为空");
|