| | |
| | | import java.util.List;
|
| | |
|
| | | import javax.annotation.Resource;
|
| | | import javax.transaction.Transactional;
|
| | |
|
| | | import org.springframework.stereotype.Service;
|
| | | import org.springframework.transaction.annotation.Transactional;
|
| | | import org.yeshi.utils.tencentcloud.COSManager;
|
| | |
|
| | | import com.yeshi.fanli.dao.mybatis.homemodule.SwiperBannerMapper;
|
| | | import com.yeshi.fanli.entity.bus.homemodule.SwiperBanner;
|
| | |
| | | import com.yeshi.fanli.service.inter.homemodule.SwiperBannerService;
|
| | | import com.yeshi.fanli.service.inter.homemodule.SwiperPictureService;
|
| | | import com.yeshi.fanli.util.StringUtil;
|
| | | import org.yeshi.utils.tencentcloud.COSManager;
|
| | |
|
| | | @Service
|
| | | public class SwiperBannerServiceImpl implements SwiperBannerService {
|
| | |
| | |
|
| | |
|
| | | @Override
|
| | | public int deleteByPrimaryKey(Long id) throws SwiperBannerException{
|
| | | public int deleteByPrimaryKey(Long id){
|
| | | return swiperBannerMapper.deleteByPrimaryKey(id);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public int insert(SwiperBanner record) throws SwiperBannerException{
|
| | | public int insert(SwiperBanner record){
|
| | | return swiperBannerMapper.insert(record);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public int insertSelective(SwiperBanner record) throws SwiperBannerException{
|
| | | public int insertSelective(SwiperBanner record){
|
| | | return swiperBannerMapper.insertSelective(record);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public SwiperBanner selectByPrimaryKey(Long id) throws SwiperBannerException{
|
| | | public SwiperBanner selectByPrimaryKey(Long id){
|
| | | return swiperBannerMapper.selectByPrimaryKey(id);
|
| | | }
|
| | |
|
| | |
| | | return swiperBannerMapper.deleteBatchByPrimaryKey(list);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public List<SwiperBanner> getEffectiveOption() {
|
| | | return swiperBannerMapper.getEffectiveOption();
|
| | | }
|
| | | }
|
| | |
|