|
@@ -1,10 +1,12 @@
|
|
|
package com.qs.mp.channel.service.impl;
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
|
|
import com.qs.mp.channel.domain.ChannelOrderDetail;
|
|
|
import com.qs.mp.channel.domain.ChannelTicketTransfer;
|
|
|
import com.qs.mp.channel.domain.param.ChannelTicketTransferParam;
|
|
|
+import com.qs.mp.channel.domain.vo.ChannelMyTicketVO;
|
|
|
import com.qs.mp.channel.mapper.ChannelTicketTransferMapper;
|
|
|
import com.qs.mp.channel.service.IChannelOrderDetailService;
|
|
|
import com.qs.mp.channel.service.IChannelTicketTransferService;
|
|
@@ -13,6 +15,8 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
/**
|
|
|
* <p>
|
|
|
* 经销商盲票转让信息表 服务实现类
|
|
@@ -52,4 +56,12 @@ public class ChannelTicketTransferServiceImpl extends ServiceImpl<ChannelTicketT
|
|
|
|
|
|
return true;
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public List<ChannelMyTicketVO> listTransferTicketList(Long transferChannelId) {
|
|
|
+ QueryWrapper<ChannelMyTicketVO> queryWrapper = new QueryWrapper<>();
|
|
|
+ queryWrapper.eq("t.transfer_channel_id", transferChannelId);
|
|
|
+ queryWrapper.orderByDesc("t.created_time");
|
|
|
+ return this.baseMapper.listTransferTicketList(queryWrapper);
|
|
|
+ }
|
|
|
}
|