Skip to content

Commit

Permalink
fix: 修复作业计费中账户计费项 id 记录错误的问题 (#1463)
Browse files Browse the repository at this point in the history
  • Loading branch information
tongchong authored Dec 2, 2024
1 parent 5726a47 commit 43a2b75
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/kind-lemons-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@scow/mis-server": patch
---

修复记录账户计费计费项 id 错误的问题
2 changes: 1 addition & 1 deletion apps/mis-server/src/entities/JobInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export class JobInfo {
this.tenantPrice = jobPriceInfo.tenant?.price ?? new Decimal(0);
this.tenantBillingItemId = jobPriceInfo.tenant?.billingItemId ?? UNKNOWN_PRICE_ITEM;
this.accountPrice = jobPriceInfo.account?.price ?? new Decimal(0);
this.accountBillingItemId = jobPriceInfo.tenant?.billingItemId ?? UNKNOWN_PRICE_ITEM;
this.accountBillingItemId = jobPriceInfo.account?.billingItemId ?? UNKNOWN_PRICE_ITEM;

this.timeSubmit = new Date(job.submitTime!);
this.timeStart = new Date(job.startTime!);
Expand Down

0 comments on commit 43a2b75

Please sign in to comment.