update
This commit is contained in:
parent
8e0de97b78
commit
17b583eb01
1 changed files with 4 additions and 3 deletions
|
|
@ -201,9 +201,9 @@ export class KpiUserEvaluationController extends Controller {
|
||||||
* @summary รายการประเมินผลการปฏิบัติราชการระดับบุคคลทั้งหมด
|
* @summary รายการประเมินผลการปฏิบัติราชการระดับบุคคลทั้งหมด
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@Post("list")
|
@Post("list-announce")
|
||||||
async listKpiListEvaluation(
|
async listKpiListEvaluationAnnounce(
|
||||||
@Request() request: { user: Record<string, any> },
|
@Request() request: RequestWithUser,
|
||||||
@Body()
|
@Body()
|
||||||
requestBody: {
|
requestBody: {
|
||||||
page: number;
|
page: number;
|
||||||
|
|
@ -216,6 +216,7 @@ export class KpiUserEvaluationController extends Controller {
|
||||||
evaluating?: boolean | null;
|
evaluating?: boolean | null;
|
||||||
},
|
},
|
||||||
) {
|
) {
|
||||||
|
await new permission().PermissionDelete(request, "SYS_RESULT");
|
||||||
let conditionFullName =
|
let conditionFullName =
|
||||||
"CONCAT(kpiUserEvaluation.prefix, kpiUserEvaluation.firstName, ' ', kpiUserEvaluation.lastName) LIKE :keyword";
|
"CONCAT(kpiUserEvaluation.prefix, kpiUserEvaluation.firstName, ' ', kpiUserEvaluation.lastName) LIKE :keyword";
|
||||||
const [kpiUserEvaluation, total] = await AppDataSource.getRepository(KpiUserEvaluation)
|
const [kpiUserEvaluation, total] = await AppDataSource.getRepository(KpiUserEvaluation)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue