diff --git a/prisma/schema.prisma b/prisma/schema.prisma index e444ae1..771f8f2 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -965,7 +965,7 @@ model EmployeeWork { ownerName String? positionName String? - jobType String? + businessTypeId String? workplace String? identityNo String? workPermitNo String? diff --git a/src/controllers/03-employee-work-controller.ts b/src/controllers/03-employee-work-controller.ts index 89f8ccf..ebf4dac 100644 --- a/src/controllers/03-employee-work-controller.ts +++ b/src/controllers/03-employee-work-controller.ts @@ -39,7 +39,7 @@ function globalAllow(user: RequestWithUser["user"]) { type EmployeeWorkPayload = { ownerName?: string | null; positionName?: string | null; - jobType?: string | null; + businessTypeId?: string | null; workplace?: string | null; identityNo?: string | null; workPermitNo?: string | null;