You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
797 B
36 lines
797 B
2 days ago
|
package com.milotnt.service;
|
||
|
|
||
|
import com.milotnt.pojo.Member;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
public interface MemberService {
|
||
|
|
||
|
//查询会员信息
|
||
|
List<Member> findAll();
|
||
|
|
||
|
//新增会员信息
|
||
|
Boolean insertMember(Member member);
|
||
|
|
||
|
//根据会员账号修改会员信息
|
||
|
Boolean updateMemberByMemberAccount(Member member);
|
||
|
|
||
|
//查询会员账号密码(登录)
|
||
|
Member userLogin(Member member);
|
||
|
|
||
|
Member selectByPhoneAndPassword(Member member);
|
||
|
|
||
|
//根据会员账号删除会员信息
|
||
|
Boolean deleteByMemberAccount(Integer memberAccount);
|
||
|
|
||
|
//查询会员数
|
||
|
Integer selectTotalCount();
|
||
|
|
||
|
//根据会员账号查询会员
|
||
|
List<Member> selectByMemberAccount(Integer memberAccount);
|
||
|
|
||
|
List<Member> selectByMemberPhone(Integer memberPhone);
|
||
|
|
||
|
|
||
|
}
|