| | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.dsh.other.entity.Banner; |
| | | import com.dsh.other.entity.CreateHistoryDto; |
| | | import com.dsh.other.entity.GetHistoryDto; |
| | | import com.dsh.other.mapper.BannerMapper; |
| | | import com.dsh.other.service.IBannerService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | |
| | | */ |
| | | @Service |
| | | public class BannerServiceImpl extends ServiceImpl<BannerMapper, Banner> implements IBannerService { |
| | | @Override |
| | | public void createHistory(CreateHistoryDto createHistoryDto) { |
| | | this.baseMapper.createHistory(createHistoryDto); |
| | | } |
| | | |
| | | @Override |
| | | public List<GetHistoryDto> gethistory(Integer studentId) { |
| | | return baseMapper.getHistory(studentId); |
| | | } |
| | | } |