add viewProfileEmp
This commit is contained in:
parent
db3c9583f6
commit
ee71e985ab
3 changed files with 65 additions and 8 deletions
|
|
@ -1174,12 +1174,12 @@ export class OrganizationUnauthorizeController extends Controller {
|
|||
* @summary ผลการประเมิน 5 ปีย้อนหลังนับจากปีปัจจุบัน
|
||||
*
|
||||
*/
|
||||
@Get("calculateEvaluation")
|
||||
@Get("calculateEvaluation/{type}")
|
||||
async calculateEvaluation(
|
||||
// @Path() node: number,
|
||||
@Path() type: string,
|
||||
// @Path() nodeId: string,
|
||||
) {
|
||||
|
||||
const conType = type.toUpperCase();
|
||||
// let condition :any = {};
|
||||
// switch (node) {
|
||||
// case 0:
|
||||
|
|
@ -1206,7 +1206,10 @@ export class OrganizationUnauthorizeController extends Controller {
|
|||
// ...condition
|
||||
// }
|
||||
})
|
||||
|
||||
// if(conType == "EMPLOYEE"){
|
||||
// const lists = await this.viewProfileEmployeeEvaluationRepo.find({
|
||||
// })
|
||||
// }
|
||||
const groupData: any = {};
|
||||
const year = new Date().getFullYear();
|
||||
const years = [year, year - 1, year - 2, year - 3, year - 4];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue