|
|
|
@ -438,12 +438,12 @@ public class SDEnregyServiceImpl extends SDEnregyServiceAbstract { |
|
|
|
|
.map(DATABO::getDATAINFOS) |
|
|
|
|
.map(DATAINFOSBO::getDATAINFO) |
|
|
|
|
.map(i -> { |
|
|
|
|
// 转成List<MdmSyncGroupTaxCodeReqBO>
|
|
|
|
|
// 转成List<MdmGmfxxtbReqBO>
|
|
|
|
|
return i.stream().map(j -> { |
|
|
|
|
return JSONObject.parseObject(JSONObject.toJSONString(j), MdmSyncGroupTaxCodeReqBO.class); |
|
|
|
|
return JSONObject.parseObject(JSONObject.toJSONString(j), MdmGmfxxtbReqBO.class); |
|
|
|
|
}).collect(Collectors.toList()); |
|
|
|
|
}) |
|
|
|
|
.orElse(new ArrayList<MdmSyncGroupTaxCodeReqBO>()); |
|
|
|
|
.orElse(new ArrayList<MdmGmfxxtbReqBO>()); |
|
|
|
|
|
|
|
|
|
AjaxResult syncResult = this.syncBuyerMessage(mdmGmfxxtbReqBOS, resp); |
|
|
|
|
if (syncResult.isSuccess()) { |
|
|
|
|