test clean search tree
This commit is contained in:
parent
ff3eea0ec3
commit
1f22908271
2 changed files with 518 additions and 617 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -1474,7 +1474,7 @@ export class ProfileSalaryTempController extends Controller {
|
||||||
const profiles = await this.profileRepo.find();
|
const profiles = await this.profileRepo.find();
|
||||||
let num = 1;
|
let num = 1;
|
||||||
for await (const item of profiles) {
|
for await (const item of profiles) {
|
||||||
let salaryOld = await this.salaryRepo.find({
|
let salaryOld = await this.salaryOldRepo.find({
|
||||||
where: { profileId: item.id },
|
where: { profileId: item.id },
|
||||||
order: { commandDateAffect: "ASC", order: "ASC" },
|
order: { commandDateAffect: "ASC", order: "ASC" },
|
||||||
});
|
});
|
||||||
|
|
@ -1484,7 +1484,7 @@ export class ProfileSalaryTempController extends Controller {
|
||||||
});
|
});
|
||||||
num = num + 1;
|
num = num + 1;
|
||||||
console.log(num);
|
console.log(num);
|
||||||
await this.salaryRepo.save(salaryOld);
|
await this.salaryOldRepo.save(salaryOld);
|
||||||
}
|
}
|
||||||
|
|
||||||
return new HttpSuccess();
|
return new HttpSuccess();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue