Commit 92a5519e by 阮思源

修改sql

parent ab5c9c28
......@@ -33,6 +33,6 @@
<!--根据用户查询社群码id-->
<select id="getBookGroupIdByWxUserId" parameterType="String" resultType="long">
select book_group_id t where t.wx_user_id=#{wxUserId} order by create_time desc limit 1
select book_group_id from book_group_cipher_user t where t.wx_user_id=#{wxUserId} order by create_time desc limit 1
</select>
</mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment