|
@@ -112,7 +112,7 @@ public class EncyclopediaController extends BaseController {
|
|
|
List<BaikeHotSearch> hotSeracherWords=productService.getHotWords();
|
|
|
//相关词条
|
|
|
List<Map> articles = null;
|
|
|
- if (null != baikeproduct && baikeproduct.getAutoStatus() == 0) {
|
|
|
+ if (null != baikeproduct && 0== baikeproduct.getAutoStatus()) {
|
|
|
articles = productService.getAutoBaikeRelatedLimit(id,baikeproduct.getLabelIds());
|
|
|
} else {
|
|
|
articles = productService.getBaikeRelatedLimit(id);
|