设备上电审核前上报的基础信息表管理接口
This commit is contained in:
@ -108,7 +108,6 @@ public class AgricultureCropYieldServiceImpl implements IAgricultureCropYieldSer
|
||||
Map<String, List<AgricultureCropYield>> collect = list.stream().collect(Collectors.groupingBy(AgricultureCropYield::getHarvestMonth));
|
||||
List<HashMap<String, Object>> result = new ArrayList<>();
|
||||
collect.forEach((month, cropYieldList) -> {
|
||||
System.out.println("月份: " + month);
|
||||
HashMap<String, Object> props = new HashMap<>();
|
||||
props.put("name", month+"月");
|
||||
props.put("value",cropYieldList.get(0).getYieldValue());
|
||||
|
Reference in New Issue
Block a user