|
|
@ -53,7 +53,6 @@ public class ReportDataController extends BaseController {
|
|
|
|
//去重
|
|
|
|
//去重
|
|
|
|
//条码List
|
|
|
|
//条码List
|
|
|
|
List<String> barcodeList = barcodes.stream().distinct().collect(Collectors.toList());
|
|
|
|
List<String> barcodeList = barcodes.stream().distinct().collect(Collectors.toList());
|
|
|
|
|
|
|
|
|
|
|
|
//参数List
|
|
|
|
//参数List
|
|
|
|
List<String> paraNameList = paraName.stream().distinct().collect(Collectors.toList());
|
|
|
|
List<String> paraNameList = paraName.stream().distinct().collect(Collectors.toList());
|
|
|
|
//工位名集合
|
|
|
|
//工位名集合
|
|
|
@ -69,15 +68,14 @@ public class ReportDataController extends BaseController {
|
|
|
|
for (String station:stationList) {
|
|
|
|
for (String station:stationList) {
|
|
|
|
for(String param:paraNameList){
|
|
|
|
for(String param:paraNameList){
|
|
|
|
for (ReportData rpd:reportDataList) {
|
|
|
|
for (ReportData rpd:reportDataList) {
|
|
|
|
// if (rpd.getBarcode().equals(item)&&rpd.getStationName().equals(station)){
|
|
|
|
map1.put("beginTime",rpd.getBeginTime());
|
|
|
|
// map1.put(station,rpd.getStationName());
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
if (rpd.getBarcode().equals(item)&&rpd.getStationName().equals(station)&&rpd.getParameaning().equals(param)){
|
|
|
|
if (rpd.getBarcode().equals(item)&&rpd.getStationName().equals(station)&&rpd.getParameaning().equals(param)){
|
|
|
|
if(rpd.getValue()==null){
|
|
|
|
if(rpd.getValue()==null){
|
|
|
|
rpd.setValue("-");
|
|
|
|
rpd.setValue("-");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
map1.put(station,param);
|
|
|
|
String paramName = rpd.getStationName()+"-"+rpd.getParameaning();
|
|
|
|
map1.put(param,rpd.getValue());
|
|
|
|
// map1.put(station,param);
|
|
|
|
|
|
|
|
map1.put(paramName,rpd.getValue());
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|