This commit is contained in:
AdisakKanthawilang 2024-08-27 16:15:41 +07:00
parent 546f3330b2
commit 0762463eae
3 changed files with 42 additions and 43 deletions

View file

@ -1310,7 +1310,7 @@ export class ProfileEmployeeTempController extends Controller {
@Get("history/{id}")
async getProfileHistory(@Path() id: string, @Request() req: RequestWithUser) {
await new permission().PermissionList(req, "SYS_REGISTRY_TEMP");
// await new permission().PermissionList(req, "SYS_REGISTRY_TEMP");//ไม่แน่ใจTEMPปิดไว้ก่อน
const profile = await this.profileHistoryRepo.find({
relations: {
posLevel: true,