fix
This commit is contained in:
parent
eb1e797354
commit
79b652d628
9 changed files with 32 additions and 32 deletions
|
|
@ -2285,7 +2285,7 @@ export class ProfileController extends Controller {
|
|||
) {
|
||||
const _record = await this.profileRepo.findOneBy({ id: id });
|
||||
if (_record) {
|
||||
await new permission().PermissionOrgUserUpdate(request, "SYS_REGISTRY_OFFICER", _record.id); //ไม่แน่ใจOFF
|
||||
await new permission().PermissionOrgUserUpdate(request, "SYS_REGISTRY_OFFICER", _record.id);
|
||||
}
|
||||
const exists =
|
||||
!!body.citizenId &&
|
||||
|
|
@ -4838,7 +4838,7 @@ export class ProfileController extends Controller {
|
|||
*/
|
||||
@Get("profileid/retire/{year}")
|
||||
async getProfileByRetireYear(@Path() year: number, @Request() req: RequestWithUser) {
|
||||
// await new permission().PermissionOrgUserList(req, "SYS_REGISTRY_OFFICER", id);//ไม่แน่ใจOFF
|
||||
// await new permission().PermissionOrgUserList(req, "SYS_REGISTRY_OFFICER", id);//ไม่แน่ใจOFFปิดไว้ก่อน
|
||||
const profiles = await this.profileRepo
|
||||
.createQueryBuilder("profile")
|
||||
.leftJoinAndSelect("profile.posLevel", "posLevel")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue