|
@@ -67,7 +67,7 @@ public class SiteArticleServiceImpl extends AbstractCrudService<SiteArticleMappe
|
|
|
|
|
|
for (int i = 0; i < page.getRecords().size(); i++) {
|
|
|
for (int j = 0; j < list.size(); j++) {
|
|
|
- if (page.getRecords().get(i).getCategoryid() == list.get(j).getId()) {
|
|
|
+ if ((int)page.getRecords().get(i).getCategoryid() == (int)list.get(j).getId()) {
|
|
|
page.getRecords().get(i).setCategoryName(list.get(j).getCategoryName());
|
|
|
}
|
|
|
}
|