miduo_gm/src/main/java/com/jmfy/dao/GsGuildDao.java

41 lines
791 B
Java

package com.jmfy.dao;
import com.jmfy.model.GsGuildInfoBean;
import java.util.List;
/**
* @Author hj
* @Date 2021/5/20 10:32
* @Description:
* @Version 1.0
*/
public interface GsGuildDao {
/**
* 获取公会列表
* @return
* @param serverId
* @throws Exception
*/
List<GsGuildInfoBean> getGuildList(int serverId) throws Exception;
/**
* 查找单个公会
* @param serverId
* @param guildId
* @return
* @throws Exception
*/
GsGuildInfoBean findGuildInfo(int serverId, int guildId) throws Exception;
/**
* 修改公会信息
* @param serverId
* @param guildInfoBean
* @throws Exception
*/
void updateGuildInfo(int serverId, GsGuildInfoBean guildInfoBean) throws Exception;
}