Пример #1
0
 //  login
 public Member quUser(String userName, String passwd) {
   Member member = memberMapper.selectMember(userName);
   if (null != member) {
     member.setLastTime(new Date());
   }
   return member;
 }
Пример #2
0
 // update passwd
 public boolean updatePasswd(Member member) {
   return memberMapper.updateByPrimaryKeySelective(member) > 0 ? true : false;
 }
Пример #3
0
 // memberInfo
 public Member findMember(int memberId) {
   return memberMapper.selectByPrimaryKey(memberId);
 }