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