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:
parent
4b5270f130
commit
84fb6b8500
|
|
@ -1289,7 +1289,7 @@ export class RewardApplicationService {
|
||||||
entries: entries.map(entry => ({
|
entries: entries.map(entry => ({
|
||||||
id: entry.id.toString(),
|
id: entry.id.toString(),
|
||||||
accountSequence: entry.accountSequence,
|
accountSequence: entry.accountSequence,
|
||||||
sourceOrderId: entry.sourceOrderId,
|
sourceOrderId: entry.sourceOrderNo,
|
||||||
rightType: entry.rightType,
|
rightType: entry.rightType,
|
||||||
rewardStatus: entry.rewardStatus,
|
rewardStatus: entry.rewardStatus,
|
||||||
usdtAmount: Number(entry.usdtAmount),
|
usdtAmount: Number(entry.usdtAmount),
|
||||||
|
|
@ -1366,7 +1366,7 @@ export class RewardApplicationService {
|
||||||
entries: entries.map(entry => ({
|
entries: entries.map(entry => ({
|
||||||
id: entry.id.toString(),
|
id: entry.id.toString(),
|
||||||
accountSequence: entry.accountSequence,
|
accountSequence: entry.accountSequence,
|
||||||
sourceOrderId: entry.sourceOrderId,
|
sourceOrderId: entry.sourceOrderNo,
|
||||||
rightType: entry.rightType,
|
rightType: entry.rightType,
|
||||||
rewardStatus: entry.rewardStatus,
|
rewardStatus: entry.rewardStatus,
|
||||||
usdtAmount: Number(entry.usdtAmount),
|
usdtAmount: Number(entry.usdtAmount),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue