Spring 聚合查询
目前在spring data jpa查询还没有支持聚合查询,工作中需要得使用原生查询。
@Repository 接口查询
@Query(value = “select send_to_test_by as developerId,type,sum(spend_time_with_plan) as plantime,
sum(spend_time_with_develop) as developti...
原创
2019-11-01 15:42:56 ·
145 阅读 ·
0 评论