|
|
|
|
@ -4,8 +4,10 @@ import egovframework.exception.MessageException;
|
|
|
|
|
import egovframework.util.SessionUtil;
|
|
|
|
|
import egovframework.util.StringUtil;
|
|
|
|
|
import go.kr.project.crdn.crndRegistAndView.main.mapper.CrdnImpltTaskMapper;
|
|
|
|
|
import go.kr.project.crdn.crndRegistAndView.main.mapper.CrdnRegistAndViewMapper;
|
|
|
|
|
import go.kr.project.crdn.crndRegistAndView.main.model.CrdnImpltTaskVO;
|
|
|
|
|
import go.kr.project.crdn.crndRegistAndView.main.model.CrdnImpltTrprInfoVO;
|
|
|
|
|
import go.kr.project.crdn.crndRegistAndView.main.model.CrdnRegistAndViewVO;
|
|
|
|
|
import go.kr.project.crdn.crndRegistAndView.main.service.CrdnImpltTaskService;
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
@ -22,6 +24,8 @@ import java.util.HashMap;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
import static egovframework.constant.CrdnPrcsSttsConstants.CRDN_PRCS_STTS_CD_20_DSPS_BFHD;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* packageName : go.kr.project.crdn.crndRegistAndView.main.impltTask.service.impl
|
|
|
|
|
* fileName : ImpltTaskServiceImpl
|
|
|
|
|
@ -40,6 +44,7 @@ import java.util.Map;
|
|
|
|
|
public class CrdnCrdnImpltTaskServiceImpl extends EgovAbstractServiceImpl implements CrdnImpltTaskService {
|
|
|
|
|
|
|
|
|
|
private final CrdnImpltTaskMapper crdnImpltTaskMapper;
|
|
|
|
|
private final CrdnRegistAndViewMapper crdnRegistAndViewMapper;
|
|
|
|
|
|
|
|
|
|
// ==================== 이행정보 관련 메서드 ====================
|
|
|
|
|
|
|
|
|
|
@ -111,6 +116,12 @@ public class CrdnCrdnImpltTaskServiceImpl extends EgovAbstractServiceImpl implem
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
CrdnRegistAndViewVO crdnRegistAndViewVO = new CrdnRegistAndViewVO();
|
|
|
|
|
crdnRegistAndViewVO.setCrdnYr(vo.getCrdnYr());
|
|
|
|
|
crdnRegistAndViewVO.setCrdnNo(vo.getCrdnNo());
|
|
|
|
|
crdnRegistAndViewVO.setCrdnPrcsSttsCd(CRDN_PRCS_STTS_CD_20_DSPS_BFHD); //단속 처리 상태 코드 - 20: 처분사전
|
|
|
|
|
crdnRegistAndViewMapper.updateStatus(crdnRegistAndViewVO);
|
|
|
|
|
|
|
|
|
|
log.debug("이행정보 등록 완료 - ID: {}", impltInfoId);
|
|
|
|
|
return result;
|
|
|
|
|
|
|
|
|
|
@ -153,6 +164,13 @@ public class CrdnCrdnImpltTaskServiceImpl extends EgovAbstractServiceImpl implem
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
CrdnRegistAndViewVO crdnRegistAndViewVO = new CrdnRegistAndViewVO();
|
|
|
|
|
crdnRegistAndViewVO.setCrdnYr(vo.getCrdnYr());
|
|
|
|
|
crdnRegistAndViewVO.setCrdnNo(vo.getCrdnNo());
|
|
|
|
|
crdnRegistAndViewVO.setDspsBfhdBgngYmd(vo.getImpltBgngYmd());
|
|
|
|
|
crdnRegistAndViewVO.setDspsBfhdEndYmd(vo.getImpltEndYmd());
|
|
|
|
|
crdnRegistAndViewMapper.updateOnlyDate(crdnRegistAndViewVO);
|
|
|
|
|
|
|
|
|
|
log.debug("이행정보 수정 완료 - ID: {}", vo.getImpltInfoId());
|
|
|
|
|
return result;
|
|
|
|
|
|
|
|
|
|
|