43 lines
1016 B
Java
43 lines
1016 B
Java
package com.ping.study.mapper;
|
|
|
|
import com.ping.study.model.vo.live.LiveUrl;
|
|
import com.ping.study.pojo.Urls;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.HashMap;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @author Administrator
|
|
* @description 针对表【urls】的数据库操作Mapper
|
|
* @createDate 2025-04-18 00:09:37
|
|
* @Entity com.ping.study.pojo.Urls
|
|
*/
|
|
public interface UrlsMapper {
|
|
|
|
int deleteByPrimaryKey(Long id);
|
|
|
|
int insert(Urls record);
|
|
|
|
int insertSelective(Urls record);
|
|
|
|
Urls selectByPrimaryKey(Long id);
|
|
|
|
int updateByPrimaryKeySelective(Urls record);
|
|
|
|
int updateByPrimaryKey(Urls record);
|
|
List<String> selectGameIds();
|
|
|
|
List<LiveUrl> selectUrlsListByGameId(String gameId);
|
|
|
|
void insertUrlsWithGameId(@Param("gameId") String gameId, @Param("list") List<LiveUrl> urls);
|
|
|
|
//删除url
|
|
void deleteUrlById(Integer id);
|
|
//删除所有url
|
|
void deleteAllUrls();
|
|
|
|
//更新比赛直播链接
|
|
void updateUrlsWithGameId(String gameId, String s);
|
|
}
|