Commit 4cbf1859 authored by 喻训浩's avatar 喻训浩

fix: 测试数据

parent 7596a614
......@@ -41,6 +41,7 @@ public class AreaController {
Map<String, PaintshopStation> stationMap = new HashMap<>();
Map<String, PaintshopStation> stationMap2 = new HashMap<>();
Map<String, PaintshopStation> stationMap3 = new HashMap<>();
Map<String, PaintshopStation> stationMap4 = new HashMap<>();
for (int i = 0; i < 9; i++) {
PaintshopStation station = new PaintshopStation();
station.setBusNo("No" + i);
......@@ -76,9 +77,24 @@ public class AreaController {
station.setBusType(ProductionType.OWN);
stationMap3.put("HDG1-19" + i,station);
}
PaintshopArea area4 = new PaintshopArea();
area4.setCode("5");
area4.setName("中涂");
area4.setOnlineNum("44");
for (int i = 0; i < 9; i++) {
PaintshopStation station = new PaintshopStation();
station.setBusNo("No" + i);
station.setKeyStation(true);
station.setCode("HDG1-12" + i);
station.setState(StationState.USE);
station.setBusType(ProductionType.OTHER);
stationMap4.put("HDG1-12" + i,station);
}
area.setStationMap(stationMap);
area2.setStationMap(stationMap2);
area3.setStationMap(stationMap3);
area4.setStationMap(stationMap4);
areas.add(area4);
areas.add(area);
areas.add(area2);
areas.add(area3);
......
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