|
@@ -145,15 +145,15 @@ public class BenchmarkingService {
|
|
|
FjjxbVo vo = new FjjxbVo();
|
|
|
if (sttype.equals("1")){
|
|
|
vo.setId(i.getWindpowerstationId());
|
|
|
- vo.setName(CacheContext.wpmap.get(i.getWindpowerstationId().trim()).getName());
|
|
|
+ vo.setName(CacheContext.wpmap.get(i.getWindpowerstationId().trim()).getAname());
|
|
|
vo.setOrdernum(CacheContext.wpmap.get(i.getWindpowerstationId().trim()).getOrderNum());
|
|
|
}else if(sttype.equals("2")){
|
|
|
vo.setId(i.getProjectId());
|
|
|
- vo.setName(CacheContext.pjmap.get(i.getProjectId().trim()).getName());
|
|
|
+ vo.setName(CacheContext.pjmap.get(i.getProjectId().trim()).getAname());
|
|
|
vo.setOrdernum(CacheContext.pjmap.get(i.getProjectId().trim()).getOrderNum());
|
|
|
}else if(sttype.equals("3")){
|
|
|
vo.setId(i.getLineId());
|
|
|
- vo.setName(CacheContext.lnmap.get(i.getLineId().trim()).getName());
|
|
|
+ vo.setName(CacheContext.lnmap.get(i.getLineId().trim()).getAname());
|
|
|
vo.setOrdernum(CacheContext.lnmap.get(i.getLineId().trim()).getOrderNum());
|
|
|
}else{
|
|
|
vo.setId(i.getWindturbineId());
|
|
@@ -279,15 +279,15 @@ public class BenchmarkingService {
|
|
|
FjjxbmxVo vo = new FjjxbmxVo();
|
|
|
if (sttype.equals("1")){
|
|
|
vo.setId(i.getWindpowerstationId());
|
|
|
- vo.setName(CacheContext.wpmap.get(i.getWindpowerstationId().trim()).getName());
|
|
|
+ vo.setName(CacheContext.wpmap.get(i.getWindpowerstationId().trim()).getAname());
|
|
|
vo.setOrdernum(CacheContext.wpmap.get(i.getWindpowerstationId().trim()).getOrderNum());
|
|
|
}else if(sttype.equals("2")){
|
|
|
vo.setId(i.getProjectId());
|
|
|
- vo.setName(CacheContext.pjmap.get(i.getProjectId().trim()).getName());
|
|
|
+ vo.setName(CacheContext.pjmap.get(i.getProjectId().trim()).getAname());
|
|
|
vo.setOrdernum(CacheContext.pjmap.get(i.getProjectId().trim()).getOrderNum());
|
|
|
}else if(sttype.equals("3")){
|
|
|
vo.setId(i.getLineId());
|
|
|
- vo.setName(CacheContext.lnmap.get(i.getLineId().trim()).getName());
|
|
|
+ vo.setName(CacheContext.lnmap.get(i.getLineId().trim()).getAname());
|
|
|
vo.setOrdernum(CacheContext.lnmap.get(i.getLineId().trim()).getOrderNum());
|
|
|
}else{
|
|
|
vo.setId(i.getWindturbineId());
|
|
@@ -424,15 +424,15 @@ public class BenchmarkingService {
|
|
|
station.get(i.getWindpowerstationId());
|
|
|
if (StringUtils.isNotEmpty(wpids) && StringUtils.isEmpty(projectids) && StringUtils.isEmpty(lineids)){
|
|
|
vo.setId(i.getWindpowerstationId());
|
|
|
- vo.setName(CacheContext.wpmap.get(i.getWindpowerstationId().trim()).getName());
|
|
|
+ vo.setName(CacheContext.wpmap.get(i.getWindpowerstationId().trim()).getAname());
|
|
|
vo.setOrdernum(station.get(i.getWindpowerstationId()).doubleValue());
|
|
|
}else if (StringUtils.isNotEmpty(wpids) && StringUtils.isNotEmpty(projectids) && StringUtils.isEmpty(lineids)){
|
|
|
vo.setId(i.getProjectId());
|
|
|
- vo.setName(CacheContext.pjmap.get(i.getProjectId().trim()).getName());
|
|
|
+ vo.setName(CacheContext.pjmap.get(i.getProjectId().trim()).getAname());
|
|
|
vo.setOrdernum(CacheContext.pjmap.get(i.getProjectId().trim()).getOrderNum().doubleValue());
|
|
|
} else if (StringUtils.isNotEmpty(wpids) && StringUtils.isNotEmpty(projectids) && StringUtils.isNotEmpty(lineids)){
|
|
|
vo.setId(i.getLineId());
|
|
|
- vo.setName(CacheContext.lnmap.get(i.getLineId().trim()).getName());
|
|
|
+ vo.setName(CacheContext.lnmap.get(i.getLineId().trim()).getAname());
|
|
|
vo.setOrdernum(CacheContext.lnmap.get(i.getLineId().trim()).getOrderNum().doubleValue());
|
|
|
}else {
|
|
|
vo.setId(i.getWindpowerstationId());
|
|
@@ -716,19 +716,19 @@ public class BenchmarkingService {
|
|
|
|
|
|
if (type.equals(TYPE_WIND)){
|
|
|
vo.setId(i.getWindpowerstationId());
|
|
|
- vo.setName(CacheContext.wpmap.get(i.getWindpowerstationId().trim()).getName());
|
|
|
+ vo.setName(CacheContext.wpmap.get(i.getWindpowerstationId().trim()).getAname());
|
|
|
vo.setOrdernum(station.get(i.getWindpowerstationId()).doubleValue());
|
|
|
}else if(type.equals(TYPE_PROJECT)){
|
|
|
vo.setId(i.getProjectId());
|
|
|
- vo.setName(CacheContext.pjmap.get(i.getProjectId().trim()).getName());
|
|
|
+ vo.setName(CacheContext.pjmap.get(i.getProjectId().trim()).getAname());
|
|
|
vo.setOrdernum(CacheContext.pjmap.get(i.getProjectId().trim()).getOrderNum().doubleValue());
|
|
|
}else if(type.equals(TYPE_LINE)){
|
|
|
vo.setId(i.getLineId());
|
|
|
- vo.setName(CacheContext.lnmap.get(i.getLineId().trim()).getName());
|
|
|
+ vo.setName(CacheContext.lnmap.get(i.getLineId().trim()).getAname());
|
|
|
vo.setOrdernum(CacheContext.lnmap.get(i.getLineId().trim()).getOrderNum().doubleValue());
|
|
|
}else if(type.equals(TYPE_WINDTURBINE)){
|
|
|
vo.setId(i.getWindturbineId());
|
|
|
- vo.setName(CacheContext.wtmap.get(i.getWindturbineId().trim()).getName());
|
|
|
+ vo.setName(CacheContext.wtmap.get(i.getWindturbineId().trim()).getAname());
|
|
|
vo.setOrdernum(CacheContext.wtmap.get(i.getWindturbineId().trim()).getOrderNum().doubleValue());
|
|
|
}
|
|
|
vo.setDate(i.getRecordDate());
|