Commit 38716cdc authored by 张永's avatar 张永

需求 #14244

parent a9feda07
...@@ -1026,10 +1026,10 @@ public class OrderServiceImpl implements OrderService { ...@@ -1026,10 +1026,10 @@ public class OrderServiceImpl implements OrderService {
" order by a.nIdx" ; " order by a.nIdx" ;
List<Map<String, Object>> goodsList = jdbcTemplate.queryForList(detailSql); List<Map<String, Object>> goodsList = jdbcTemplate.queryForList(detailSql);
Map<String, List<Map<String, Object>>> gmList = Util.listToML(goodsList, "SalesOrderID"); Map<String, List<Map<String, Object>>> gmList = Util.listToML(goodsList, "SubOrderID");
for(Map<String, Object> orderMap : orderList) { for(Map<String, Object> orderMap : orderList) {
orderMap.put("SalesOrderDtl", gmList.get(orderMap.get("SalesOrderID"))); orderMap.put("SalesOrderDtl", gmList.get(orderMap.get("SubOrderID")));
} }
} }
Map<String, Object> result = new HashMap<String, Object>(); Map<String, Object> result = new HashMap<String, Object>();
......
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