|
|
|
@ -30,6 +30,7 @@ public interface UserInfoDao extends JpaRepository<UserInfo, String>, JpaSpecifi
|
|
|
|
|
@Query(value = "update tb_user_info set fans_count=fans_count+? where id = ?", nativeQuery = true)
|
|
|
|
|
void updatefanscount(int x, String friendid);
|
|
|
|
|
|
|
|
|
|
@Query(value = "select count(*) from tb_user_info where BINARY nick_name = ?1", nativeQuery = true)
|
|
|
|
|
public long countByNickName(String nickName);
|
|
|
|
|
|
|
|
|
|
@Query(value = "select * from tb_user_info where id in ?1 order by field(id,?1)", nativeQuery = true)
|
|
|
|
|