no message

This commit is contained in:
Bright 2024-03-05 18:36:41 +07:00
parent 5af1ef281a
commit 3234878df5

View file

@ -28,7 +28,7 @@ import Extension from "../interfaces/extension";
@Route("api/v1/salary/report/1")
@Tags("Report")
// @Security("bearerAuth")
@Security("bearerAuth")
@Response(
HttpStatusCode.INTERNAL_SERVER_ERROR,
"เกิดข้อผิดพลาด ไม่สามารถแสดงรายการได้ กรุณาลองใหม่ในภายหลัง",
@ -82,6 +82,7 @@ export class Report_1_Controller extends Controller {
const mapData = {
effectiveDate : salaryPeriod?.effectiveDate,
root: salaryProfile[0]?.root,
profile: salaryProfile.map((item, index) => ({
no: index+1,
fullname: item.prefix + item.firstName +" "+ item.lastName,