diff --git a/src/main/java/com/kospo/svcm/service/impl/SapServiceImpl.java b/src/main/java/com/kospo/svcm/service/impl/SapServiceImpl.java index 09c6ed1..16ef74f 100644 --- a/src/main/java/com/kospo/svcm/service/impl/SapServiceImpl.java +++ b/src/main/java/com/kospo/svcm/service/impl/SapServiceImpl.java @@ -246,7 +246,7 @@ public class SapServiceImpl implements SapService { public List approve(ZwfApprApprovalRequest zwfApprApprovalRequest) { User user = (User) SecurityContextHolder.getContext().getAuthentication().getPrincipal(); List zwfApprResponseList = new ArrayList<>(); -// if (!zwfApprUpdateRequest.getBname().equals(user.getSabun())) throw new CustomException(ErrorCode.AUTHENTICATION_NOT_SUPPORT); + if (!zwfApprApprovalRequest.getBname().equals(user.getSabun())) throw new CustomException(ErrorCode.AUTHENTICATION_NOT_SUPPORT); String aedat = CommonUtils.dateFormat("yyyyMMdd"); String aezet = CommonUtils.dateFormat("HHmmss");