| | |
| | | }
|
| | |
|
| | | @Override
|
| | | // @Cacheable(value = "dynamicCache", key = "'count-'+#cid+'-'+#subId")
|
| | | @Cacheable(value = "dynamicCache", key = "'count-'+#cid+'-'+#subId")
|
| | | public long count(Long cid, Long subId) {
|
| | | return dynamicInfoDao.count(cid, subId);
|
| | | }
|
| | |
|
| | | @Override
|
| | | // @Cacheable(value = "dynamicCache", key = "'query-'+#start+'-'+#count+'-'+#cid+'-'+#subId")
|
| | | @Cacheable(value = "dynamicCache", key = "'query-'+#start+'-'+#count+'-'+#cid+'-'+#subId")
|
| | | public List<DynamicInfo> query(int start, int count, Long cid, Long subId) {
|
| | | List<DynamicInfo> list = dynamicInfoDao.query(start, count, cid, subId);
|
| | |
|