|
|
|
|
@ -58,6 +58,8 @@ public class LocalResidentsCarInfo {
|
|
|
|
|
|
|
|
|
|
boolean isMovingOut = false;
|
|
|
|
|
|
|
|
|
|
String movingOutReason = "";
|
|
|
|
|
|
|
|
|
|
//연계
|
|
|
|
|
try {
|
|
|
|
|
Map<String, String> carSearchMap = new HashMap<String, String>();
|
|
|
|
|
@ -92,16 +94,18 @@ public class LocalResidentsCarInfo {
|
|
|
|
|
|
|
|
|
|
if(!StringUtil.nullToNull(carSearchResultData.get("processImprtyResnCode")).equals("00")
|
|
|
|
|
&& !StringUtil.nullToNull(carSearchResultData.get("processImprtyResnCode")).equals("03")){
|
|
|
|
|
|
|
|
|
|
movingOutReason = "처리불가사유코드:"+StringUtil.nullToNull(carSearchResultData.get("processImprtyResnCode"));
|
|
|
|
|
isMovingOut = true;
|
|
|
|
|
|
|
|
|
|
} else if(StringUtil.nullToNull(carSearchResultData.get("mberSeCode")).equals("11")
|
|
|
|
|
&& StringUtil.nullToNull(carSearchResultData.get("ownerLegaldongCode")).startsWith("11140")) {
|
|
|
|
|
} else if(StringUtil.nullToNull(carSearchResultData.get("useStrnghldLegaldongCode")).startsWith("11140")) {
|
|
|
|
|
|
|
|
|
|
isMovingOut = false;
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
movingOutReason = "(본거지법정동코드:"+StringUtil.nullToNull(carSearchResultData.get("useStrnghldLegaldongCode"))+")";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
isMovingOut = true;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
@ -112,14 +116,24 @@ public class LocalResidentsCarInfo {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(isMovingOut){
|
|
|
|
|
//전출로 인한 삭제
|
|
|
|
|
target.put("REASON", movingOutReason);
|
|
|
|
|
schdDao.insertMovingoutHistory(target);
|
|
|
|
|
|
|
|
|
|
//적용일시 업데이트
|
|
|
|
|
target.put("PROC_STRT_DTTM", procStrtDttm);
|
|
|
|
|
target.put("APPLY_DATE", procStrtDttm);
|
|
|
|
|
schdDao.deleteMovingOut(target);
|
|
|
|
|
schdDao.updateApplyDate(target);
|
|
|
|
|
|
|
|
|
|
//전출로 인한 삭제
|
|
|
|
|
//target.put("PROC_STRT_DTTM", procStrtDttm);
|
|
|
|
|
//target.put("APPLY_DATE", procStrtDttm);
|
|
|
|
|
//schdDao.deleteMovingOut(target);
|
|
|
|
|
|
|
|
|
|
//감면마스터에서 삭제
|
|
|
|
|
schdDao.deleteGammyeon(target);
|
|
|
|
|
//schdDao.deleteGammyeon(target);
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
//적용일시 업데이트
|
|
|
|
|
@ -128,8 +142,8 @@ public class LocalResidentsCarInfo {
|
|
|
|
|
schdDao.updateApplyDate(target);
|
|
|
|
|
|
|
|
|
|
//감면마스터에 등록
|
|
|
|
|
target.put("START_DAY", levyStdde);
|
|
|
|
|
schdDao.insertGammyeon(target);
|
|
|
|
|
//target.put("START_DAY", levyStdde);
|
|
|
|
|
//schdDao.insertGammyeon(target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|