package com.fjs.scenic.service.scenic.impl;

import com.fjs.scenic.entity.scenic.Scenic;
import com.fjs.scenic.entity.scenic.TicketInformation;
import com.fjs.scenic.entity.scenic.po.ScenicPo;
import com.fjs.scenic.mapper.scenic.ScenicMapper;
import com.fjs.scenic.mapper.scenic.TicketInformationMapper;
import com.fjs.scenic.service.common.impl.BaseServiceImpl;
import com.fjs.scenic.service.scenic.ScenicService;
import com.fjs.scenic.service.scenic.TicketInformationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * This class is used for ...
 *
 * @author lfj
 * @version 1.0
 * @CreateDate ${date} ${time}
 */
@Service
public class TicketInformationServiceImpl implements TicketInformationService {

    @Autowired
    private TicketInformationMapper ticketInformationMapper;

    @Override
    public int updateByScenicId(TicketInformation ticketInformation) {
        return ticketInformationMapper.updateByScenicId(ticketInformation);
    }
}
