Helius
2021-08-09 00a8e2f76d02cfc17ca9ff156aa97f85bae5897d
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>