list employee temp report
This commit is contained in:
parent
7a4b25079f
commit
8665eb1543
1 changed files with 14 additions and 0 deletions
|
|
@ -2805,4 +2805,18 @@ export class ProfileEmployeeController extends Controller {
|
|||
await this.profileRepo.save(_profiles);
|
||||
return new HttpSuccess();
|
||||
}
|
||||
|
||||
/**
|
||||
* API ออกคำสั่งลูกจ้าง
|
||||
*
|
||||
* @summary ORG_038 - ออกคำสั่งลูกจ้าง (ADMIN) #
|
||||
*
|
||||
*/
|
||||
@Get("report")
|
||||
async getReport(@Request() request: RequestWithUser) {
|
||||
const profiles = await this.profileRepo.find({
|
||||
where: { statusTemp: "REPORT", employeeClass: "TEMP" },
|
||||
});
|
||||
return new HttpSuccess(profiles);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue