Browse Source

群禁言

yuanliang 1 year ago
parent
commit
a44b8ae1ce

+ 4 - 0
cooleshow-user/user-biz/src/main/resources/config/mybatis/ImGroupMapper.xml

@@ -13,6 +13,7 @@
         <result column="auto_pass_flag_" property="autoPassFlag"/>
         <result column="create_time_" jdbcType="TIMESTAMP" property="createTime"/>
         <result column="update_time_" jdbcType="TIMESTAMP" property="updateTime"/>
+        <result column="config_json_" jdbcType="VARCHAR" property="configJson"/>
     </resultMap>
 
     <sql id="Base_Column_List">
@@ -34,6 +35,9 @@
             <if test="et.memo != null and et.memo != ''">
                 memo_ = #{et.memo},
             </if>
+            <if test="et.configJson != null">
+                config_json_ = #{et.configJson},
+            </if>
             update_time_ = NOW()
         </set>
         where id_ = #{et.id}

+ 1 - 0
cooleshow-user/user-biz/src/main/resources/config/mybatis/ImGroupMemberMapper.xml

@@ -98,6 +98,7 @@
     <select id="selectPage" resultType="com.yonge.cooleshow.biz.dal.wrapper.im.ImGroupMemberWrapper$ImGroupMember">
         SELECT
         <include refid="baseColumns" />
+        , t.role_type_ AS clientType
         FROM im_group_member t
         <where>
             <if test="param.groupId != null">