Commit 18ae2d67 by jx-art

参数类型内部转换~

parent 0c8205f7
...@@ -231,8 +231,8 @@ public class InteriorChangeConfigServiceImpl implements InteriorChangeConfigServ ...@@ -231,8 +231,8 @@ public class InteriorChangeConfigServiceImpl implements InteriorChangeConfigServ
JSONObject jsonObject = JSONObject.parseObject(GoodsPurchase); JSONObject jsonObject = JSONObject.parseObject(GoodsPurchase);
List<GoodsPurchaseRpc> purchaseRpcs = JSONObject.parseArray(jsonObject.get("data").toString(), GoodsPurchaseRpc.class); List<GoodsPurchaseRpc> purchaseRpcs = JSONObject.parseArray(jsonObject.get("data").toString(), GoodsPurchaseRpc.class);
for (GoodsPurchaseRpc rpc: purchaseRpcs){ for (GoodsPurchaseRpc rpc: purchaseRpcs){
map.get(rpc.getItemId()).setPurchaseName(rpc.getSupplierName()); map.get(rpc.getItemId().longValue()).setPurchaseName(rpc.getSupplierName());
map.get(rpc.getItemId()).setPurchaseEmail(rpc.getSupplierTraceBusiness()); map.get(rpc.getItemId().longValue()).setPurchaseEmail(rpc.getSupplierTraceBusiness());
} }
//SQE //SQE
for(Long itemId : itemIds){ for(Long itemId : itemIds){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment