⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 imemberdao.java

📁 针对网络跑步爱好者作为用户而开发的
💻 JAVA
字号:
package com.briup.run.dao;

import java.util.List;

import com.briup.run.dao.bean.GradeRecord;
import com.briup.run.dao.bean.MemberInfo;
import com.briup.run.dao.bean.PointAction;
import com.briup.run.dao.bean.PointRecord;
import com.briup.run.dao.bean.Province;

public interface IMemberDao {

	// 保存或更新会员信息
	void saveOrUpdateMemberInfo(MemberInfo info) throws Exception;

	// 根据用户名查找用户信息
	MemberInfo findMemberByNickName(String nickname) throws Exception;

	// 根据行为的名字查找行为对象
	PointAction findPointActionByName(String actionname) throws Exception;

	// 根据积分查找级别对象
	GradeRecord findGradeRecordByPoint(long point) throws Exception;

	// 保存积分记录
	void savePointRecord(PointRecord record) throws Exception;

	// 查找积分前10名的会员信息
	@SuppressWarnings("unchecked")
	List findMembersByNum(int num) throws Exception;

	// 统计在线用户的数量
	Integer findOnlineMemberInfo() throws Exception;

	// 随机查找一个用户
	MemberInfo getRandomMember(int num) throws Exception;

	// 根据条件查询会员信息
	@SuppressWarnings("unchecked")
	List getMembersByConditions(Long minAge, Long maxAge, String gender,
			String provincecity, int start, int end) throws Exception;

	// 查找会员的总数
	public Integer findNumMemberInfo() throws Exception;

	// 使所有用户下线
	public void updateOnlineStatus() throws Exception;

	// 查找省份
	@SuppressWarnings("unchecked")
	public List findProvince() throws Exception;
	
	public Province findProvinceByCode(String code) throws Exception;

	public Integer getTotalNumByConditions(Long minAge, Long maxAge, String gender,
			String provinceCity) throws Exception;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -