|
|
|
@ -86,7 +86,7 @@ public class InfNimsServiceBean extends AbstractServiceBean implements InfNimsSe
|
|
|
|
|
if(!isEmpty(dto.getYmd())) ApiUtil.checkYmdError(dto.getYmd(), null);
|
|
|
|
|
|
|
|
|
|
String rslt = ApiUtil.callNimsApi(nimsUrl + bsshInfoStV1, dto);
|
|
|
|
|
NimsApiResult<NimsApiDto.BsshInfoSt> result = json.parse(rslt, new TypeReference<NimsApiResult<NimsApiDto.BsshInfoSt>>() {});
|
|
|
|
|
NimsApiResult<NimsApiDto.BsshInfoSt> result = json.parse(rslt, new TypeReference<>() {});
|
|
|
|
|
return result.getResponse();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -98,7 +98,7 @@ public class InfNimsServiceBean extends AbstractServiceBean implements InfNimsSe
|
|
|
|
|
if(!isEmpty(dto.getYmd())) ApiUtil.checkYmdError(dto.getYmd(), null);
|
|
|
|
|
|
|
|
|
|
String rslt = ApiUtil.callNimsApi(nimsUrl + productinfoKd, dto);
|
|
|
|
|
NimsApiResult<NimsApiDto.ProductInfoKd> result = json.parse(rslt, new TypeReference<NimsApiResult<NimsApiDto.ProductInfoKd>>() {});
|
|
|
|
|
NimsApiResult<NimsApiDto.ProductInfoKd> result = json.parse(rslt, new TypeReference<>() {});
|
|
|
|
|
return result.getResponse();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -110,7 +110,7 @@ public class InfNimsServiceBean extends AbstractServiceBean implements InfNimsSe
|
|
|
|
|
if(!isEmpty(dto.getYmd())) ApiUtil.checkYmdError(dto.getYmd(), null);
|
|
|
|
|
|
|
|
|
|
String rslt = ApiUtil.callNimsApi(nimsUrl + seqinfo, dto);
|
|
|
|
|
NimsApiResult<NimsApiDto.MnfSeqInfo> result = json.parse(rslt, new TypeReference<NimsApiResult<NimsApiDto.MnfSeqInfo>>() {});
|
|
|
|
|
NimsApiResult<NimsApiDto.MnfSeqInfo> result = json.parse(rslt, new TypeReference<>() {});
|
|
|
|
|
return result.getResponse();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -125,7 +125,7 @@ public class InfNimsServiceBean extends AbstractServiceBean implements InfNimsSe
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
// String rslt = ApiUtil.callNimsApi(nimsUrl + officeinfo, dto);
|
|
|
|
|
// NimsApiResult<NimsApiDto.JurisdictionGovInfo> result = json.parse(rslt, new TypeReference<NimsApiResult<NimsApiDto.JurisdictionGovInfo>>() {});
|
|
|
|
|
// NimsApiResult<NimsApiDto.JurisdictionGovInfo> result = json.parse(rslt, new TypeReference<>() {});
|
|
|
|
|
// return result.getResponse();
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
@ -142,7 +142,7 @@ public class InfNimsServiceBean extends AbstractServiceBean implements InfNimsSe
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
// String rslt = ApiUtil.callNimsApi(nimsUrl + placeinfoV1, dto);
|
|
|
|
|
// NimsApiResult<NimsApiDto.StorageInfo> result = json.parse(rslt, new TypeReference<NimsApiResult<NimsApiDto.StorageInfo>>() {});
|
|
|
|
|
// NimsApiResult<NimsApiDto.StorageInfo> result = json.parse(rslt, new TypeReference<>() {});
|
|
|
|
|
// return result.getResponse();
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
@ -155,7 +155,7 @@ public class InfNimsServiceBean extends AbstractServiceBean implements InfNimsSe
|
|
|
|
|
ApiUtil.checkYmdError(dto.getEdt(), "edt");
|
|
|
|
|
|
|
|
|
|
//String rslt = ApiUtil.callNimsApi(nimsUrl + reportinfo, dto);
|
|
|
|
|
//NimsApiResult<NimsApiDto.DsuseRpt> result = json.parse(rslt, new TypeReference<NimsApiResult<NimsApiDto.DsuseRpt>>() {});
|
|
|
|
|
//NimsApiResult<NimsApiDto.DsuseRpt> result = json.parse(rslt, new TypeReference<>() {});
|
|
|
|
|
//return result.getResponse();
|
|
|
|
|
|
|
|
|
|
return getDsuseRptResponse();
|
|
|
|
|