@Query(value = "select * from bid_info WHERE city_code in(?1) ORDER BY create_time DESC limit 0,5",nativeQuery = true)
List<BidInfo> getTaskBidInfo(List<String> list);
springdatajpa使用@query批量查询
最新推荐文章于 2024-09-15 11:55:53 发布
@Query(value = "select * from bid_info WHERE city_code in(?1) ORDER BY create_time DESC limit 0,5",nativeQuery = true)
List<BidInfo> getTaskBidInfo(List<String> list);