Просмотр исходного кода

增加评论ategoryId字段查询

o2sword 5 лет назад
Родитель
Сommit
64a7a7b32f

+ 1 - 1
o2server/x_cms_assemble_control/src/main/java/com/x/cms/assemble/control/jaxrs/comment/WrapInQueryDocumentCommentInfo.java

@@ -156,7 +156,7 @@ public class WrapInQueryDocumentCommentInfo {
 		if( StringUtils.isNotEmpty( this.getAppId() )) {
 			queryFilter.addEqualsTerm( new EqualsTerm( "appId", this.getAppId() ) );
 		}
-		if( StringUtils.isNotEmpty( this.getAppId() )) {
+		if( StringUtils.isNotEmpty( this.getCategoryId() )) {
 			queryFilter.addEqualsTerm( new EqualsTerm( "categoryId", this.getCategoryId() ) );
 		}
 		if( StringUtils.isNotEmpty( this.getDocumentId() )) {