|
|
|
@ -1,5 +1,9 @@
|
|
|
|
|
package kr.xit.biz.nice.service;
|
|
|
|
|
|
|
|
|
|
import org.apache.commons.lang3.ObjectUtils;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
|
|
|
|
import kr.xit.biz.cmm.service.CmmEnsCacheService;
|
|
|
|
|
import kr.xit.biz.common.ApiConstants.NiceCiWrkDiv;
|
|
|
|
|
import kr.xit.biz.common.ApiConstants.SignguCode;
|
|
|
|
@ -22,9 +26,6 @@ import kr.xit.ens.nice.cmm.CmmNiceCiUtils;
|
|
|
|
|
import kr.xit.ens.nice.service.INiceCiService;
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
import org.apache.commons.lang3.ObjectUtils;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* <pre>
|
|
|
|
@ -252,14 +253,15 @@ public class BizNiceCiService extends AbstractService implements IBizNiceCiServi
|
|
|
|
|
* @param wrkDiv NiceCiWrkDiv
|
|
|
|
|
* </pre>
|
|
|
|
|
*/
|
|
|
|
|
// FIXME : SignguCode
|
|
|
|
|
private void updateNiceCerfInfoSync(final NiceCiInfo niceDTO, final NiceCiRequest reqDTO, final NiceCiWrkDiv wrkDiv) {
|
|
|
|
|
// 교통시설운영처 또는 장사시설인 경우 sync ----------------------------------------
|
|
|
|
|
if(SignguCode.TRAFFIC.getCode().equals(reqDTO.getSignguCode())){
|
|
|
|
|
if(SignguCode.CHUNCHEON.getCode().equals(reqDTO.getSignguCode())){
|
|
|
|
|
niceDTO.setSignguCode(SignguCode.FUNERAL.getCode());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(SignguCode.FUNERAL.getCode().equals(reqDTO.getSignguCode())){
|
|
|
|
|
niceDTO.setSignguCode(SignguCode.TRAFFIC.getCode());
|
|
|
|
|
niceDTO.setSignguCode(SignguCode.CHUNCHEON.getCode());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
switch(wrkDiv){
|
|
|
|
|