fix(reward-service): 修复字段名错误 sourceOrderId → sourceOrderNo

数据库中的字段名是 sourceOrderNo,修复 getRewardEntriesByType 和
getFeeEntriesDetailed 方法中的字段映射错误。

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-06 09:27:25 -08:00
parent 4b5270f130
commit 84fb6b8500
1 changed files with 2 additions and 2 deletions

View File

@ -1289,7 +1289,7 @@ export class RewardApplicationService {
entries: entries.map(entry => ({
id: entry.id.toString(),
accountSequence: entry.accountSequence,
sourceOrderId: entry.sourceOrderId,
sourceOrderId: entry.sourceOrderNo,
rightType: entry.rightType,
rewardStatus: entry.rewardStatus,
usdtAmount: Number(entry.usdtAmount),
@ -1366,7 +1366,7 @@ export class RewardApplicationService {
entries: entries.map(entry => ({
id: entry.id.toString(),
accountSequence: entry.accountSequence,
sourceOrderId: entry.sourceOrderId,
sourceOrderId: entry.sourceOrderNo,
rightType: entry.rightType,
rewardStatus: entry.rewardStatus,
usdtAmount: Number(entry.usdtAmount),