src/main/java/com/lf/server/mapper/data/UsersMapper.java
@@ -34,7 +34,16 @@ public List<UsersEntity> selectByPage(String uname, Integer limit, Integer offset); /** * 根据token有效期查询 * * @param token * @return */ public UsersEntity selectByToken(String token); /** * 添加数据 * * @param usersEntity * @return */ @@ -81,10 +90,17 @@ public UsersEntity selectUser(int id); /** * 根据uid查询 * * @param uid * @return */ public UsersEntity selectByUid(String uid); /** * 查询全部数据 * * @return */ public List<UsersEntity> selectUserAll(); } }