xiaoyong931011
2021-11-11 0561b12e8c5570a0f7e812543cc3460f80fee416
gc-order/src/main/resources/mapper/order/AccountMapper.xml
@@ -89,4 +89,12 @@
    </update>
    <select id="selectAccountInfoByUserId" resultType="com.xzx.gc.entity.AccountInfo">
        select * from xzx_account_info where user_id=#{userId}
    </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>