Helius
2021-06-28 cedf9aab0ee975b04c52c0a75749e1eba852db2c
gc-shop/src/main/resources/mapper/shop/ScoreDetailsMapper.xml
@@ -5,6 +5,7 @@
    <select id="queryScoreDetailsList" resultType="com.xzx.gc.shop.vo.QueryScoreDetailsListVo">
        SELECT
        a.*,
               b.nick_name name,
        a.CREATED_TIME createTime
        FROM
        xzx_score_details a
@@ -26,4 +27,12 @@
        order by a.CREATED_TIME desc
    </select>
    <select id="selectXcxScoreDetailsList" resultType="com.xzx.gc.shop.vo.XcxScoreDetailsVo">
        select
            *
            ,change_score score
        from xzx_score_details
        where user_id=#{record.userId}
        order by id desc
    </select>
</mapper>