ソースを参照

小需求V1.3.14

kaick 1 年間 前
コミット
833b1b0d79

+ 1 - 1
src/main/java/com/caimei/www/controller/unlimited/EncyclopediaController.java

@@ -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);

+ 1 - 0
src/main/resources/mapper/BaikeMapper.xml

@@ -164,6 +164,7 @@
 			s.logo as shopLogo,
 			t.name as typeName,
 			p.publishSource,
+			p.autoStatus,
 			p.shopId,
 			p.basePv,
 			p.seoKeyword,