Merge branch 'develop' into adiDev
This commit is contained in:
commit
243b5d3f4f
2 changed files with 5 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ export class ProfileSalaryEmployeeController extends Controller {
|
|||
}
|
||||
|
||||
const dest_item = await this.salaryRepo.findOne({
|
||||
where: { profileId: body.profileEmployeeId },
|
||||
where: { profileEmployeeId: body.profileEmployeeId },
|
||||
order: { order: "DESC" },
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -148,6 +148,10 @@ export class ProfileSalary extends EntityBase {
|
|||
@ManyToOne(() => Profile, (profile) => profile.profileSalary)
|
||||
@JoinColumn({ name: "profileId" })
|
||||
profile: Profile;
|
||||
|
||||
@ManyToOne(() => ProfileEmployee, (ProfileEmployee) => ProfileEmployee.profileSalarys)
|
||||
@JoinColumn({ name: "profileEmployeeId" })
|
||||
profileEmployee: ProfileEmployee;
|
||||
}
|
||||
|
||||
export class CreateProfileSalary {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue