fix
This commit is contained in:
parent
a76bdbacba
commit
55ec0d5e93
1 changed files with 1 additions and 1 deletions
|
|
@ -417,7 +417,7 @@ export class SalaryPeriodController extends Controller {
|
|||
const checkPreviousType = await this.salaryProfileRepository.findOne({
|
||||
relations: ["salaryOrg", "salaryOrg.salaryPeriod"],
|
||||
where: {
|
||||
id: body.profileId,
|
||||
citizenId: salaryProfile?.citizenId,
|
||||
salaryOrg: {
|
||||
salaryPeriod: {
|
||||
period: "APR",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue