2017年6月4日

spring data jpa 自定义sql 左链接查询

摘要: @Query(value = "select u.* from appuser_te u LEFT JOIN app_user_history his on his.user_id=u.id where his.apple_app_id=:appleAppId limit 1,3",nativeQuery = true) List findByFlushId(@Param(value="appl... 阅读全文

posted @ 2017-06-04 09:03 蝌蚪的精神 阅读(6114) 评论(0) 推荐(0) 编辑

导航