fix : 심사대상 등록 fix

dev
minuk926 3 years ago
parent 4733ce061b
commit 8ad0ad63fd

@ -137,7 +137,6 @@ public class GnRecallSc {
@PrePersist
public void onPrePersist(){
this.scTransfer = CtgyConstants.Judge.TRANSFER_NONE.getCode();
this.scDatagb = CtgyConstants.Judge.DATAGB_RESIDENT.getCode();
this.scState = CtgyConstants.Judge.DATA_STATE_RECEIPT.getCode();
}

@ -152,7 +152,7 @@ public class ResidentAndDisabledService implements IResidentAndDisabledService {
//---------------------------------------------------------
GnRecallSc entity = gnReacallRepository.findById(dto.getScCode()).orElseThrow(() -> new CustomBaseException(ErrorCode.DATA_NOT_FOUND));
entity.setScTransfer(CtgyConstants.Judge.TRANSFER_ACCEPT.getCode());
entity.setScState(CtgyConstants.Judge.DATA_STATE_JUDGE.getCode());
// entity.setScState(CtgyConstants.Judge.DATA_STATE_JUDGE.getCode());
//JpaUtil.saveIfNullId(dto.getScCode(), repository, entity);
gnReacallRepository.save(entity);

Loading…
Cancel
Save