Sfoglia il codice sorgente

Merge remote-tracking branch 'origin/test' into test

lqc 4 anni fa
parent
commit
6cfdb5aa74

+ 1 - 1
src/main/java/com/mokamrp/privates/mapper/CorpMapper.xml

@@ -34,7 +34,7 @@
     <select id="selectCorpList" resultType="com.mokamrp.privates.mapper.pojo.Corp">
     <select id="selectCorpList" resultType="com.mokamrp.privates.mapper.pojo.Corp">
         SELECT A.* FROM mc_corp AS A
         SELECT A.* FROM mc_corp AS A
         <if test="userId != null">
         <if test="userId != null">
-            RIGHT JOIN private_user_corp AS B ON B.corp_id = A.id
+            RIGHT JOIN mochat.private_user_corp AS B ON B.corp_id = A.id
         </if>
         </if>
         <where>
         <where>
             <if test="userId != null">AND B.user_id = #{userId} </if>
             <if test="userId != null">AND B.user_id = #{userId} </if>