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

59 lines
1.2 KiB
Java

package com.jmfy.dao;
import com.jmfy.model.SupportUser;
import java.util.List;
import java.util.Map;
/**
* @author hj
* 扶持订单
*/
public interface SupportUserDao {
/**
* 获取全部扶持订单信息
* @return
* @throws Exception
*/
List<SupportUser> getSupportUserList() throws Exception;
/**
* 查询单个gs账号
* @param serverId
* @param userId
* @param accountId
* @throws Exception
* @return
*/
SupportUser getSupportUser(int serverId,int userId,String accountId) throws Exception;
/**
* 查询单个gs账号
* @param id
* @throws Exception
* @return
*/
SupportUser getSupportUserById(int id) throws Exception;
/**
* 插入扶持订单信息
* @param sUser
*/
void insertSupportUser(SupportUser sUser) throws Exception;
/**
* 修改扶持订单状态
* @param gsUser
* @throws Exception
*/
void updateSupportUser(SupportUser gsUser) throws Exception;
/**
* 删除gs账号
* @param gsUser
* @throws Exception
*/
void deleteSupportGs(SupportUser gsUser) throws Exception;
}