fix #689
This commit is contained in:
parent
16766fbb1f
commit
6f098ef6c2
1 changed files with 2 additions and 2 deletions
|
|
@ -2748,7 +2748,7 @@ export class CommandController extends Controller {
|
||||||
await this.profileEmployeeRepository.save(data);
|
await this.profileEmployeeRepository.save(data);
|
||||||
return new HttpSuccess();
|
return new HttpSuccess();
|
||||||
}
|
}
|
||||||
@Post("command21/employee/delete")
|
@Post("command21/employee/report/delete")
|
||||||
public async command21SalaryEmployeeDelete(
|
public async command21SalaryEmployeeDelete(
|
||||||
@Request() req: RequestWithUser,
|
@Request() req: RequestWithUser,
|
||||||
@Body()
|
@Body()
|
||||||
|
|
@ -2759,7 +2759,7 @@ export class CommandController extends Controller {
|
||||||
const profile = await this.profileEmployeeRepository.find({ where: { id: In(body.refIds) } });
|
const profile = await this.profileEmployeeRepository.find({ where: { id: In(body.refIds) } });
|
||||||
const data = profile.map((_data) => ({
|
const data = profile.map((_data) => ({
|
||||||
..._data,
|
..._data,
|
||||||
statusTemp: "WAITTING",
|
statusTemp: "PENDING",
|
||||||
}));
|
}));
|
||||||
await this.profileEmployeeRepository.save(data);
|
await this.profileEmployeeRepository.save(data);
|
||||||
return new HttpSuccess();
|
return new HttpSuccess();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue