|
|
|
@ -77,7 +77,6 @@ public class InfNimsServiceBean extends AbstractServiceBean implements InfNimsSe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
@TraceLogging
|
|
|
|
|
public NimsApiResult.Response<NimsApiDto.BsshInfoSt> getBsshInfoSt(NimsApiRequest.BsshInfoReq dto) {
|
|
|
|
|
ApiUtil.validate(dto, null, validator);
|
|
|
|
|
if(isEmpty(dto.getBi()) && isEmpty(dto.getHp()) && isEmpty(dto.getBn()) && isEmpty(dto.getBc())) {
|
|
|
|
@ -91,7 +90,6 @@ public class InfNimsServiceBean extends AbstractServiceBean implements InfNimsSe
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
@TraceLogging
|
|
|
|
|
public NimsApiResult.Response<NimsApiDto.ProductInfoKd> getProductInfoKd(NimsApiRequest.ProductInfoReq dto) {
|
|
|
|
|
ApiUtil.validate(dto, null, validator);
|
|
|
|
|
if(!isEmpty(dto.getYmd())) ApiUtil.checkYmdError(dto.getYmd(), null);
|
|
|
|
@ -113,7 +111,6 @@ public class InfNimsServiceBean extends AbstractServiceBean implements InfNimsSe
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
@TraceLogging
|
|
|
|
|
public NimsApiResult.Response<NimsApiDto.JurisdictionGovInfo> getJurisdictionGovInfo(
|
|
|
|
|
NimsApiRequest.JurisdictionGovInfoReq dto) {
|
|
|
|
|
ApiUtil.validate(dto, null, validator);
|
|
|
|
@ -127,13 +124,12 @@ public class InfNimsServiceBean extends AbstractServiceBean implements InfNimsSe
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
@TraceLogging
|
|
|
|
|
public NimsApiResult.Response<NimsApiDto.DsuseRptInfo> getDsuseRptInfo(NimsApiRequest.DsuseRptInfoReq dto) {
|
|
|
|
|
//FIXME: API 운영반영시 까지 comment 처리 - gc(관할군청코드 필수) skip
|
|
|
|
|
//ApiUtil.validate(dto, null, validator);
|
|
|
|
|
ApiUtil.validate(dto, null, validator);
|
|
|
|
|
ApiUtil.checkYmdError(dto.getSdt(), "sdt");
|
|
|
|
|
ApiUtil.checkYmdError(dto.getEdt(), "edt");
|
|
|
|
|
|
|
|
|
|
// FIXME: API 호출 시 주석 해제
|
|
|
|
|
String rslt = ApiUtil.callNimsApi(nimsUrl + dsuseresult, dto);
|
|
|
|
|
|
|
|
|
|
NimsApiResult<NimsApiDto.DsuseRptInfo> result = json.parse(rslt, new TypeReference<>() {});
|
|
|
|
|