mirror of
https://git.hmsn.ink/kospo/svcm/api.git
synced 2026-03-19 19:35:09 +09:00
결재 승인시 권한 체크
This commit is contained in:
@@ -246,7 +246,7 @@ public class SapServiceImpl implements SapService {
|
||||
public List<ZwfApprResponse> approve(ZwfApprApprovalRequest zwfApprApprovalRequest) {
|
||||
User user = (User) SecurityContextHolder.getContext().getAuthentication().getPrincipal();
|
||||
List<ZwfApprResponse> 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");
|
||||
|
||||
Reference in New Issue
Block a user