소스 검색

小需求V1.3.14

kaick 1 년 전
부모
커밋
833b1b0d79
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/caimei/www/controller/unlimited/EncyclopediaController.java
  2. 1 0
      src/main/resources/mapper/BaikeMapper.xml

+ 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,