sort commandcode
This commit is contained in:
parent
6ac682d98c
commit
4a87969337
2 changed files with 5 additions and 3 deletions
|
|
@ -2629,7 +2629,7 @@ export class ImportDataController extends Controller {
|
|||
@Post("update-profileSalary")
|
||||
async UpdateProfileSalary(@Request() request: { user: Record<string, any> }) {
|
||||
let rowCount = 0;
|
||||
const profileSalarys: any = await this.salaryRepo.find();
|
||||
const profileSalarys: any = await this.salaryRepo.find({ where: { refId: IsNull() } });
|
||||
|
||||
for await (const _item of profileSalarys) {
|
||||
const OFFICER = await this.OFFICERRepo.findOne({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue