|
|
@@ -150,7 +150,7 @@ public class NewsService extends BaseMybatisDao<NewsMapper> {
|
|
|
return newsMapper.batchDeleteByPrimaryKey(id);
|
|
|
}
|
|
|
|
|
|
- @Cacheable(value = "NewsPortalListCache", key = "'NewsPortalList:Page:'+#pageNo+'Type:'+#type+'Size:'+#pageSize+'domainName:'+#domainName")
|
|
|
+ @Cacheable(value = "NewsPortalListCache", key = "'NewsPortalList:Page:'+#pNo+'Type:'+#type+'Size:'+#pSize+'domainName:'+#domainName")
|
|
|
public List<NewsPortalList> findPortalList(Integer pSize, Integer pNo, Integer type, String domainName) {
|
|
|
Map<String, Object> params = new HashMap<String, Object>();
|
|
|
params.put("type", type);
|