分条件计算总数 SELECT -- SUM( END) as am, -- SUM( END) as om , -- SUM( END) as aom , -- SUM( then AmoutPrice END) as aaom , SUM( then OnlinePrice END) as pam, SUM( then OnlinePrice END) as wom , SUM( END) as bm, SUM( END) as sm , SUM(Price)as allm from us_c
public Page<Recorded> getRecordeds(Integer page, Integer size, Recorded recorded) { if (page<1){ page=1; } Sort sort = new Sort(Sort.Direction.DESC,"createTime"); Pageable pageable = new PageRequest(page-1,size,sort); Query query = new