【spring data jpa】jpa中使用count計數方法

spring data jpa中使用count計數方法很簡單spring 直接在dao層寫方法便可post int countByUidAndTenementId(String parentUid, String tenementId); 這樣便可根據傳入的字段查詢便可。spa
相關文章
相關標籤/搜索