game-api/ff-admin/src/main/java/com/ff/game/mapper/GameSecretKeyMapper.java

91 lines
2.3 KiB
Java
Raw Normal View History

2025-02-11 15:27:15 +08:00
package com.ff.game.mapper;
import java.util.List;
import com.ff.common.domain.TenantSecretKey;
import com.ff.game.domain.GameSecretKey;
import org.apache.ibatis.annotations.Param;
/**
* Mapper
*
* @author shi
* @date 2025-02-10
*/
public interface GameSecretKeyMapper
{
/**
*
*
* @param id
* @return
*/
GameSecretKey selectGameSecretKeyById(Long id);
/**
*
*
* @param gameSecretKey
* @return
*/
List<GameSecretKey> selectGameSecretKeyList(GameSecretKey gameSecretKey);
/**
*
*
* @param gameSecretKey
* @return
*/
int insertGameSecretKey(GameSecretKey gameSecretKey);
/**
*
*
* @param gameSecretKey
* @return
*/
int updateGameSecretKey(GameSecretKey gameSecretKey);
/**
*
*
* @param id
* @return
*/
int deleteGameSecretKeyById(Long id);
/**
*
*
* @param ids
* @return
*/
int deleteGameSecretKeyByIds(Long[] ids);
/**
*
*
* @param code
* @return {@link String }
*/
String findSystemByCode(@Param("code") String code, @Param("platform")String platform);
/**
*
*
* @param platform
* @param systemCode
* @return {@link TenantSecretKey }
*/
GameSecretKey findSecretKeyByPlatformAndSystemCode(@Param("platform") String platform, @Param("systemCode") String systemCode);
/**
* lang
*
* @param platform
* @param systemLangCode
* @return {@link GameSecretKey }
*/
GameSecretKey findByPlatformAndSystemLangCode(@Param("platform") String platform, @Param("systemLangCode") String systemLangCode);
}