Migration add fields isDeleted #210
This commit is contained in:
parent
3c9e3a1bb6
commit
65e3740cc2
82 changed files with 499 additions and 180 deletions
|
|
@ -1359,7 +1359,7 @@ export class OrganizationDotnetController extends Controller {
|
|||
order: { commandDateAffect: "DESC" },
|
||||
}),
|
||||
this.insigniaRepo.findOne({
|
||||
where: { profileEmployeeId: profile.id },
|
||||
where: { profileEmployeeId: profile.id, isDeleted: false },
|
||||
order: { receiveDate: "DESC" },
|
||||
}),
|
||||
]);
|
||||
|
|
@ -1542,7 +1542,7 @@ export class OrganizationDotnetController extends Controller {
|
|||
order: { commandDateAffect: "DESC" },
|
||||
}),
|
||||
this.insigniaRepo.findOne({
|
||||
where: { profileId: profile.id },
|
||||
where: { profileId: profile.id, isDeleted: false },
|
||||
order: { receiveDate: "DESC" },
|
||||
}),
|
||||
]);
|
||||
|
|
@ -2379,7 +2379,7 @@ export class OrganizationDotnetController extends Controller {
|
|||
order: { commandDateAffect: "DESC" },
|
||||
}),
|
||||
this.insigniaRepo.findOne({
|
||||
where: { profileEmployeeId: profile.id },
|
||||
where: { profileEmployeeId: profile.id, isDeleted: false },
|
||||
order: { receiveDate: "DESC" },
|
||||
}),
|
||||
]);
|
||||
|
|
@ -2694,7 +2694,7 @@ export class OrganizationDotnetController extends Controller {
|
|||
order: { commandDateAffect: "DESC" },
|
||||
}),
|
||||
this.insigniaRepo.findOne({
|
||||
where: { profileId: profile.id },
|
||||
where: { profileId: profile.id, isDeleted: false },
|
||||
order: { receiveDate: "DESC" },
|
||||
}),
|
||||
]);
|
||||
|
|
@ -7441,7 +7441,7 @@ export class OrganizationDotnetController extends Controller {
|
|||
: [];
|
||||
|
||||
const profileEducations = await this.educationRepo.find({
|
||||
where: { profileEmployeeId: profile!.id },
|
||||
where: { profileEmployeeId: profile!.id, isDeleted: false },
|
||||
order: { level: "ASC" },
|
||||
});
|
||||
_educations = profileEducations.length > 0
|
||||
|
|
@ -7581,7 +7581,7 @@ export class OrganizationDotnetController extends Controller {
|
|||
: [];
|
||||
|
||||
const profileEducations = await this.educationRepo.find({
|
||||
where: { profileId: profile!.id },
|
||||
where: { profileId: profile!.id, isDeleted: false },
|
||||
order: { level: "ASC" },
|
||||
});
|
||||
_educations = profileEducations.length > 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue