소스 검색

会话存档用户列表标签筛选

zwhui 2 년 전
부모
커밋
b93b47222d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      netflix-web/src/main/java/com/cyksj/web/controller/manage/corp/CorpMsgAuditController.java

+ 1 - 1
netflix-web/src/main/java/com/cyksj/web/controller/manage/corp/CorpMsgAuditController.java

@@ -62,7 +62,7 @@ public class CorpMsgAuditController {
             builder.field(CorpMsgAuditUserView::getExternalUserid,userIds).op(InList.class);
         }
         if(StringUtils.isNotBlank(tagId)){
-            builder.put("tag", String.format( "and cr.id = t.relation_id and t.tag_id = %s", tagId));
+            builder.put("tag", String.format( "and cr.id = t.relation_id and t.tag_id = '%s'", tagId));
             builder.put("tagTable", ",corp_user_tag t");
         }
         SearchResult<CorpMsgAuditUserView> search = beanSearcher.search(CorpMsgAuditUserView.class, builder.build());