Merge branch 'develop' of github.com:Frappet/bma-ehr-organization into develop

This commit is contained in:
kittapath 2024-09-06 08:04:05 +07:00
commit bee2b69f61
4 changed files with 89 additions and 33 deletions

View file

@ -1392,8 +1392,9 @@ export class OrganizationController extends Controller {
async Edit(
@Path() id: string,
@Body() requestBody: { orgPublishDate: Date },
@Request() request: { user: Record<string, any> },
@Request() request: RequestWithUser,
) {
// await new permission().PermissionUpdate(request, "SYS_ORG");//ไม่แน่ใจOFFปิดไว้ก่อน
const orgRevision = await this.orgRevisionRepository.findOne({
where: {
id: id,