Commit 90addeb9 authored by 李健华's avatar 李健华

修改条数正式500条

parent 1ff2e32d
# Created by https://www.gitignore.io # Created by https://www.gitignore.io
### log ### ### log ###
*.log *.log
*.gz
### svn ### ### svn ###
.svn/ .svn/
......
...@@ -18,7 +18,7 @@ public interface IUserAttachedRepository extends JpaRepository<UserAttached, Lon ...@@ -18,7 +18,7 @@ public interface IUserAttachedRepository extends JpaRepository<UserAttached, Lon
@Transactional @Transactional
void deleteByUserId(Long userId); void deleteByUserId(Long userId);
@Query(value = "select * from user_attached where id>?1 limit 5" ,nativeQuery = true) @Query(value = "select * from user_attached where id>?1 limit 500" ,nativeQuery = true)
List<UserAttached> findALlAttached(Long id); List<UserAttached> findALlAttached(Long id);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment