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({
|
const checkPreviousType = await this.salaryProfileRepository.findOne({
|
||||||
relations: ["salaryOrg", "salaryOrg.salaryPeriod"],
|
relations: ["salaryOrg", "salaryOrg.salaryPeriod"],
|
||||||
where: {
|
where: {
|
||||||
id: body.profileId,
|
citizenId: salaryProfile?.citizenId,
|
||||||
salaryOrg: {
|
salaryOrg: {
|
||||||
salaryPeriod: {
|
salaryPeriod: {
|
||||||
period: "APR",
|
period: "APR",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue