新版仿ok交易所-后端
sql
zyy
2025-10-09 cd0e4e030b14795d07e50df0f336c6fb6536a8be
trading-order-service/src/main/resources/mapper/ico/UserSubscriptionMapper.xml
@@ -3,5 +3,12 @@
<mapper namespace="com.yami.trading.dao.ico.UserSubscriptionMapper">
    <select id="findList" resultType="com.yami.trading.bean.ico.dto.UserSubscriptionDTO">
        SELECT u.*,t.name,t.symbol,r.user_name,r.user_code
        FROM user_subscription_record u
                 LEFT JOIN t_ico_project t ON t.id = u.ico_project_id
                 LEFT JOIN tz_user r ON r.user_id = u.user_id
        ${ew.customSqlSegment}
    </select>
</mapper>