|
@@ -130,8 +130,7 @@ public class TicketBoxServiceImpl extends ServiceImpl<TicketBoxMapper, TicketBox
|
|
|
|
|
|
|
|
|
// 清除盲票关联商品
|
|
|
- Assert.isTrue(ticketBoxGoodsService.remove(
|
|
|
- new LambdaUpdateWrapper<TicketBoxGoods>().eq(TicketBoxGoods::getBoxId, ticketBox.getBoxId())), "清除盲票关联商品失败");
|
|
|
+ ticketBoxGoodsService.remove(new LambdaUpdateWrapper<TicketBoxGoods>().eq(TicketBoxGoods::getBoxId, ticketBox.getBoxId()));
|
|
|
|
|
|
// 关联商品
|
|
|
if (CollectionUtils.isNotEmpty(param.getGoodsList())) {
|
|
@@ -140,8 +139,7 @@ public class TicketBoxServiceImpl extends ServiceImpl<TicketBoxMapper, TicketBox
|
|
|
|
|
|
|
|
|
// 清除指定渠道内容
|
|
|
- Assert.isTrue(ticketBoxChannelService.remove(
|
|
|
- new LambdaUpdateWrapper<TicketBoxChannel>().eq(TicketBoxChannel::getBoxId, ticketBox.getBoxId())), "清除清除指定渠道内容失败");
|
|
|
+ ticketBoxChannelService.remove(new LambdaUpdateWrapper<TicketBoxChannel>().eq(TicketBoxChannel::getBoxId, ticketBox.getBoxId()));
|
|
|
|
|
|
// 指定渠道
|
|
|
if (TicketBoxSaleChannelTypeEnum.PART.getValue().equals(param.getSaleChannelType())) {
|