comment ออกก่อนเพราะยังไม่ได้ใช้ #2154

This commit is contained in:
harid 2026-01-06 13:10:57 +07:00
parent 784b9cc441
commit 01cffa44aa

View file

@ -10810,10 +10810,11 @@ export class ProfileController extends Controller {
system?: string; system?: string;
}, },
) { ) {
// ค้นหารายชื่อถ้าไม่ส่ง system มาให้ default ตามทะเบียนประวัติ // comment ออกก่อนเพราะยังไม่ได้ใช้
let _system: string = "SYS_REGISTRY_OFFICER"; // // ค้นหารายชื่อถ้าไม่ส่ง system มาให้ default ตามทะเบียนประวัติ
if (body.system) _system = body.system; // let _system: string = "SYS_REGISTRY_OFFICER";
let _data = await new permission().PermissionOrgList(request, _system); // if (body.system) _system = body.system;
// let _data = await new permission().PermissionOrgList(request, _system);
const findRevision = await this.orgRevisionRepo.findOne({ const findRevision = await this.orgRevisionRepo.findOne({
where: { orgRevisionIsCurrent: true }, where: { orgRevisionIsCurrent: true },
}); });