|
|
@@ -467,11 +467,11 @@ public class CacheContext implements CommandLineRunner {
|
|
|
//初始化标杆风机
|
|
|
for (ProBasicEquipment wt : wtls) {
|
|
|
if (wpwtmap.containsKey(wt.getWindpowerstationId())) {
|
|
|
- List<ProBasicEquipment> wts = wpwtmap.get(wt.getWindpowerstationId());
|
|
|
- for (ProBasicEquipment w : wts) {
|
|
|
- wtstandardmap.put(wt.getId(), w.getId());
|
|
|
- break;
|
|
|
- }
|
|
|
+ if (wt.getProjectId().equals("NX_FGS_HAF01_EG")){
|
|
|
+ wtstandardmap.put(wt.getId(), "NX_FGS_HA_F_WT_0018_EQ");
|
|
|
+ }else {
|
|
|
+ wtstandardmap.put(wt.getId(), "NX_FGS_HA_F_WT_0039_EQ");
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
}
|