zwhui 2 年 前
コミット
15fffbbef5

+ 1 - 1
netflix-dao/src/main/java/com/cyksj/model/manage/views/CorpMsgAuditUserView.java

@@ -12,7 +12,7 @@ import java.util.Date;
  */
 
 @Data
-@SearchBean(tables = " corp_user c,corp_user_auth cu, corp_follow f, corp_user_follow_relation cr ,corp_user_tag t ",
+@SearchBean(tables = " corp_user c,corp_user_auth cu, corp_follow f, corp_user_follow_relation cr :tagTable:",
         where = " c.id = cu.corp_user_id " +
                 "and cu.external_userid = cr.corp_user_id " +
                 "and f.userid = cr.follow_id " +

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

@@ -63,6 +63,7 @@ public class CorpMsgAuditController {
         }
         if(StringUtils.isNotBlank(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");
         }
         if (StringUtils.isNotBlank(followId)) {
             builder.field(CorpMsgAuditUserView::getFollowId, followId).op(Operator.Equal);