@Override public LpInvite getInvite(String invitecode) { String sql = "SELECT * FROM lp_invite l WHERE l.invite_code=? AND l.is_send=? and l.invite_status=?"; LpInvite invite = inviteDao.getInviteBycode(sql, invitecode, 1, 0); return invite; }
@Override public void updateInvite(LpInvite invite) { inviteDao.updateObject(invite); }