Helius
2022-02-21 f54f8a92c09a2cd76b3bbb796df680215b63ab8a
gc-user/src/main/resources/mapper/user/AccountMapper.xml
@@ -549,9 +549,14 @@
    <select id="selectAccountInfoByIds" resultType="com.xzx.gc.entity.AccountInfo">
        select * from xzx_account_info
        where id in
        where account_id in
        <foreach collection="list" index="index" item="id" separator="," open="(" close=")">
            #{id}
        </foreach>
    </select>
    <select id="selectAccountInfoByPhone" resultType="com.xzx.gc.entity.AccountInfo">
        select a.* from xzx_account_info a, xzx_user_info b
        where a.user_id=b.user_id and b.mobile_phone=#{phone}
    </select>
</mapper>