|
|
@ -283,12 +283,16 @@ public class AcntCstmrService { |
|
|
|
for(JwtGroupModel group : groupInfo) { |
|
|
|
for(JwtGroupModel group : groupInfo) { |
|
|
|
if(group.getGroupAuthCd().equals("CREATER")) { |
|
|
|
if(group.getGroupAuthCd().equals("CREATER")) { |
|
|
|
PtyGroupBas groupEntity = ptyGroupBasRepository.findByGroupId(group.getGroupId()); |
|
|
|
PtyGroupBas groupEntity = ptyGroupBasRepository.findByGroupId(group.getGroupId()); |
|
|
|
groupEntity.setUseYn("N"); |
|
|
|
if(!(groupEntity == null)) { |
|
|
|
ptyGroupBasRepository.save(groupEntity); |
|
|
|
groupEntity.setUseYn("N"); |
|
|
|
|
|
|
|
ptyGroupBasRepository.save(groupEntity); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
PtyCstmrGroup cstmrEntity = ptyCstmrGroupRepository.findGroupId(group.getGroupId(), cstmrSno); |
|
|
|
PtyCstmrGroup cstmrEntity = ptyCstmrGroupRepository.findGroupId(group.getGroupId(), cstmrSno); |
|
|
|
|
|
|
|
if(!(cstmrEntity == null)) { |
|
|
|
cstmrEntity.setJoinYn("N"); |
|
|
|
cstmrEntity.setJoinYn("N"); |
|
|
|
ptyCstmrGroupRepository.save(cstmrEntity); |
|
|
|
ptyCstmrGroupRepository.save(cstmrEntity); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
List<PtyCstmrGroup> AprvlEntity = ptyCstmrGroupRepository.changeGroupAprvlYn(cstmrSno); |
|
|
|
List<PtyCstmrGroup> AprvlEntity = ptyCstmrGroupRepository.changeGroupAprvlYn(cstmrSno); |
|
|
|
for(PtyCstmrGroup Aprvl : AprvlEntity) { |
|
|
|
for(PtyCstmrGroup Aprvl : AprvlEntity) { |
|
|
|