fix
This commit is contained in:
parent
a1b0936bf6
commit
53d12da717
1 changed files with 2 additions and 2 deletions
|
|
@ -362,7 +362,7 @@ export class SalaryPeriodController extends Controller {
|
|||
.createQueryBuilder("salaryProfile")
|
||||
.select('SUM(salaryProfile.amountUse)', 'totalAmount')
|
||||
.where({
|
||||
salaryOrgId: salaryProfile?.salaryOrg.id,
|
||||
salaryOrgId: salaryOrg.id,
|
||||
type: 'FULL',
|
||||
})
|
||||
.getRawOne();
|
||||
|
|
@ -708,7 +708,7 @@ export class SalaryPeriodController extends Controller {
|
|||
.createQueryBuilder("salaryProfile")
|
||||
.select('SUM(salaryProfile.amountUse)', 'totalAmount')
|
||||
.where({
|
||||
salaryOrgId: salaryProfile?.salaryOrg.id,
|
||||
salaryOrgId: salaryOrg.id,
|
||||
type: 'FULL',
|
||||
})
|
||||
.getRawOne();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue