법인 정보 삭제 시 민감 데이터 초기화 메서드 적용:

- `clearSensitiveDataOnRemoval` 메서드 추가/적용
This commit is contained in:
Rinjae
2026-06-30 19:40:23 +09:00
parent 235f4b67b3
commit 681e4bd014
2 changed files with 2 additions and 11 deletions
@@ -197,17 +197,7 @@ public class PortalUserApprovalListener implements ApprovalListener {
portalOrg.setOrgName("삭제된법인");
portalOrg.setApprovalStatus(ApprovalStatus.REJECTED);
portalOrg.setOrgStatus(OrgStatus.REMOVED);
portalOrg.setOrgCode(null);
portalOrg.setCompRegFile(null);
portalOrg.setCorpRegNo(null);
portalOrg.setCompRegNo(null);
portalOrg.setCeoName(null);
portalOrg.setOrgAddr(null);
portalOrg.setOrgPhoneNumber(null);
portalOrg.setScPhoneNumber(null);
portalOrg.setOrgSectors(null);
portalOrg.setOrgIndustryType(null);
portalOrg.setServiceName(null);
portalOrg.clearSensitiveDataOnRemoval();
portalOrgService.save(portalOrg);
}
@@ -139,6 +139,7 @@ public class PortalOrgManService extends BaseService {
PortalOrg portalOrg = portalOrgService.getById(id);
portalOrg.setOrgName("삭제된법인");
portalOrg.setOrgStatus(OrgStatus.REMOVED);
portalOrg.clearSensitiveDataOnRemoval();
portalOrgService.save(portalOrg);
}