feat(theme): 支持购买记录查询并调整积分类型为BigDecimal

- 新增 /themes/purchase/list 接口,支持用户查询主题购买记录
- 将 KeyboardThemePurchase 中的积分字段由 Integer 改为 BigDecimal,确保金额精度
- 对应 Mapper XML 中 jdbcType 由 INTEGER 调整为 NUMERIC
- 补充 getUserPurchaseList 服务及返回 VO ThemePurchaseListRespVO
- 开放接口权限并完善跨域配置
This commit is contained in:
2025-12-10 19:58:48 +08:00
parent 22b97b99aa
commit 1a6fb944b2
8 changed files with 107 additions and 10 deletions

View File

@@ -8,8 +8,8 @@
<result column="order_no" jdbcType="VARCHAR" property="orderNo" />
<result column="user_id" jdbcType="BIGINT" property="userId" />
<result column="theme_id" jdbcType="BIGINT" property="themeId" />
<result column="cost_points" jdbcType="INTEGER" property="costPoints" />
<result column="paid_points" jdbcType="INTEGER" property="paidPoints" />
<result column="cost_points" jdbcType="NUMERIC" property="costPoints" />
<result column="paid_points" jdbcType="NUMERIC" property="paidPoints" />
<result column="pay_status" jdbcType="SMALLINT" property="payStatus" />
<result column="wallet_tx_id" jdbcType="BIGINT" property="walletTxId" />
<result column="refund_points" jdbcType="INTEGER" property="refundPoints" />