|
@@ -747,7 +747,7 @@ public class SpecificService {
|
|
} else {
|
|
} else {
|
|
currentqw.like("foreign_key_id", "_GDC_");
|
|
currentqw.like("foreign_key_id", "_GDC_");
|
|
}
|
|
}
|
|
- if (companys.endsWith("ZGS")) {
|
|
|
|
|
|
+ if (companys.endsWith("ZGS") || companys.endsWith("FGS")) {
|
|
currentqw.eq("company_id", companys);
|
|
currentqw.eq("company_id", companys);
|
|
} else {
|
|
} else {
|
|
currentqw.eq("region_id", companys);
|
|
currentqw.eq("region_id", companys);
|
|
@@ -770,7 +770,7 @@ public class SpecificService {
|
|
} else {
|
|
} else {
|
|
currentqw.like("foreign_key_id", "_GDC_");
|
|
currentqw.like("foreign_key_id", "_GDC_");
|
|
}
|
|
}
|
|
- if (companys.endsWith("ZGS")) {
|
|
|
|
|
|
+ if (companys.endsWith("ZGS") || companys.endsWith("FGS")) {
|
|
currentqw.eq("company_id", companys);
|
|
currentqw.eq("company_id", companys);
|
|
} else {
|
|
} else {
|
|
currentqw.eq("region_id", companys);
|
|
currentqw.eq("region_id", companys);
|
|
@@ -792,7 +792,7 @@ public class SpecificService {
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
String wpid = i.getForeignKeyId();
|
|
String wpid = i.getForeignKeyId();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -842,7 +842,7 @@ public class SpecificService {
|
|
SpecificTarget vo = new SpecificTarget();
|
|
SpecificTarget vo = new SpecificTarget();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
int orderNum = 100;
|
|
int orderNum = 100;
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -860,7 +860,7 @@ public class SpecificService {
|
|
} else {
|
|
} else {
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
vo1.setWpid(wpid);
|
|
vo1.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -873,9 +873,9 @@ public class SpecificService {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
vo.setTargetList(tempList);
|
|
vo.setTargetList(tempList);
|
|
resultendList.add(vo);
|
|
resultendList.add(vo);
|
|
|
|
+
|
|
});
|
|
});
|
|
}
|
|
}
|
|
SortUtils.sort(resultendList, "orderNum", SortUtils.ASC);
|
|
SortUtils.sort(resultendList, "orderNum", SortUtils.ASC);
|
|
@@ -940,7 +940,7 @@ public class SpecificService {
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
String wpid = i.getForeignKeyId();
|
|
String wpid = i.getForeignKeyId();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -991,7 +991,7 @@ public class SpecificService {
|
|
SpecificTarget vo = new SpecificTarget();
|
|
SpecificTarget vo = new SpecificTarget();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
int orderNum = 100;
|
|
int orderNum = 100;
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS")|| wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -1009,7 +1009,7 @@ public class SpecificService {
|
|
} else {
|
|
} else {
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
vo1.setWpid(wpid);
|
|
vo1.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS")|| wpid.contains("_FGS" + type)) {
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -1088,7 +1088,7 @@ public class SpecificService {
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
String wpid = i.getForeignKeyId();
|
|
String wpid = i.getForeignKeyId();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS")|| wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -1138,7 +1138,7 @@ public class SpecificService {
|
|
SpecificTarget vo = new SpecificTarget();
|
|
SpecificTarget vo = new SpecificTarget();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
int orderNum = 100;
|
|
int orderNum = 100;
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS")|| wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -1156,7 +1156,7 @@ public class SpecificService {
|
|
} else {
|
|
} else {
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
vo1.setWpid(wpid);
|
|
vo1.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS")|| wpid.contains("_FGS" + type)) {
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -1237,7 +1237,7 @@ public class SpecificService {
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
String wpid = i.getForeignKeyId();
|
|
String wpid = i.getForeignKeyId();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS")|| wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -1286,7 +1286,7 @@ public class SpecificService {
|
|
SpecificTarget vo = new SpecificTarget();
|
|
SpecificTarget vo = new SpecificTarget();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
int orderNum = 100;
|
|
int orderNum = 100;
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS")|| wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -1304,7 +1304,7 @@ public class SpecificService {
|
|
} else {
|
|
} else {
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
vo1.setWpid(wpid);
|
|
vo1.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS")|| wpid.contains("_FGS" + type)) {
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -1385,7 +1385,7 @@ public class SpecificService {
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
String wpid = i.getForeignKeyId();
|
|
String wpid = i.getForeignKeyId();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS")|| wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -1434,7 +1434,7 @@ public class SpecificService {
|
|
SpecificTarget vo = new SpecificTarget();
|
|
SpecificTarget vo = new SpecificTarget();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
int orderNum = 100;
|
|
int orderNum = 100;
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS")|| wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -1452,7 +1452,7 @@ public class SpecificService {
|
|
} else {
|
|
} else {
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
vo1.setWpid(wpid);
|
|
vo1.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS")|| wpid.contains("_FGS" + type)) {
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -1501,7 +1501,8 @@ public class SpecificService {
|
|
currentqw.groupBy("to_char(record_date,'yyyy-MM'),foreign_key_id");
|
|
currentqw.groupBy("to_char(record_date,'yyyy-MM'),foreign_key_id");
|
|
currentList.addAll(proEconPowerstationInfoDay5Service.list(currentqw));
|
|
currentList.addAll(proEconPowerstationInfoDay5Service.list(currentqw));
|
|
|
|
|
|
- int subYear = Integer.parseInt(year) - 1;
|
|
|
|
|
|
+// int subYear = Integer.parseInt(year) - 1;
|
|
|
|
+ int subYear = Integer.parseInt(year) ;
|
|
QueryWrapper<ProEconPowerstationInfoDay5> sameperiodqw = new QueryWrapper<>();
|
|
QueryWrapper<ProEconPowerstationInfoDay5> sameperiodqw = new QueryWrapper<>();
|
|
sameperiodqw.select("foreign_key_id,max(record_date) record_date,sum(rfdldb) yfdldb");
|
|
sameperiodqw.select("foreign_key_id,max(record_date) record_date,sum(rfdldb) yfdldb");
|
|
sameperiodqw.eq("location", "wp");
|
|
sameperiodqw.eq("location", "wp");
|
|
@@ -1540,7 +1541,7 @@ public class SpecificService {
|
|
capacity = (gsrl.get(0).getJrCapacity() / 10000) + (gsrl.get(0).getJrwindCapacity() / 10000);
|
|
capacity = (gsrl.get(0).getJrCapacity() / 10000) + (gsrl.get(0).getJrwindCapacity() / 10000);
|
|
}
|
|
}
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS")|| wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -1600,7 +1601,7 @@ public class SpecificService {
|
|
SpecificTarget vo = new SpecificTarget();
|
|
SpecificTarget vo = new SpecificTarget();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
int orderNum = 100;
|
|
int orderNum = 100;
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS")|| wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -1618,7 +1619,7 @@ public class SpecificService {
|
|
} else {
|
|
} else {
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
vo1.setWpid(wpid);
|
|
vo1.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS")|| wpid.contains("_FGS" + type)) {
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -1675,7 +1676,7 @@ public class SpecificService {
|
|
} else {
|
|
} else {
|
|
currentqw.like("foreign_key_id", "_GDC_");
|
|
currentqw.like("foreign_key_id", "_GDC_");
|
|
}
|
|
}
|
|
- if (companys.endsWith("ZGS")) {
|
|
|
|
|
|
+ if (companys.endsWith("ZGS") || companys.endsWith("FGS")) {
|
|
currentqw.eq("company_id", companys);
|
|
currentqw.eq("company_id", companys);
|
|
} else {
|
|
} else {
|
|
currentqw.eq("region_id", companys);
|
|
currentqw.eq("region_id", companys);
|
|
@@ -1697,7 +1698,7 @@ public class SpecificService {
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
String wpid = i.getForeignKeyId();
|
|
String wpid = i.getForeignKeyId();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (companys.endsWith("ZGS") || companys.endsWith("FGS")) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -1746,7 +1747,7 @@ public class SpecificService {
|
|
SpecificTarget vo = new SpecificTarget();
|
|
SpecificTarget vo = new SpecificTarget();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
int orderNum = 100;
|
|
int orderNum = 100;
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -1764,7 +1765,7 @@ public class SpecificService {
|
|
} else {
|
|
} else {
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
vo1.setWpid(wpid);
|
|
vo1.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -1843,7 +1844,7 @@ public class SpecificService {
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
String wpid = i.getForeignKeyId();
|
|
String wpid = i.getForeignKeyId();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -1892,7 +1893,7 @@ public class SpecificService {
|
|
SpecificTarget vo = new SpecificTarget();
|
|
SpecificTarget vo = new SpecificTarget();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
int orderNum = 100;
|
|
int orderNum = 100;
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -1910,7 +1911,7 @@ public class SpecificService {
|
|
} else {
|
|
} else {
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
vo1.setWpid(wpid);
|
|
vo1.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -1923,7 +1924,6 @@ public class SpecificService {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
vo.setTargetList(tempList);
|
|
vo.setTargetList(tempList);
|
|
resultendList.add(vo);
|
|
resultendList.add(vo);
|
|
});
|
|
});
|
|
@@ -1989,7 +1989,7 @@ public class SpecificService {
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
String wpid = i.getForeignKeyId();
|
|
String wpid = i.getForeignKeyId();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -2038,7 +2038,7 @@ public class SpecificService {
|
|
SpecificTarget vo = new SpecificTarget();
|
|
SpecificTarget vo = new SpecificTarget();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
int orderNum = 100;
|
|
int orderNum = 100;
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -2056,7 +2056,7 @@ public class SpecificService {
|
|
} else {
|
|
} else {
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
vo1.setWpid(wpid);
|
|
vo1.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -2135,7 +2135,7 @@ public class SpecificService {
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
String wpid = i.getForeignKeyId();
|
|
String wpid = i.getForeignKeyId();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -2184,7 +2184,7 @@ public class SpecificService {
|
|
SpecificTarget vo = new SpecificTarget();
|
|
SpecificTarget vo = new SpecificTarget();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
int orderNum = 100;
|
|
int orderNum = 100;
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -2202,7 +2202,7 @@ public class SpecificService {
|
|
} else {
|
|
} else {
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
vo1.setWpid(wpid);
|
|
vo1.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -2281,7 +2281,7 @@ public class SpecificService {
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
String wpid = i.getForeignKeyId();
|
|
String wpid = i.getForeignKeyId();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -2330,7 +2330,7 @@ public class SpecificService {
|
|
SpecificTarget vo = new SpecificTarget();
|
|
SpecificTarget vo = new SpecificTarget();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
int orderNum = 100;
|
|
int orderNum = 100;
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -2348,7 +2348,7 @@ public class SpecificService {
|
|
} else {
|
|
} else {
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
vo1.setWpid(wpid);
|
|
vo1.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -2427,7 +2427,7 @@ public class SpecificService {
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
String wpid = i.getForeignKeyId();
|
|
String wpid = i.getForeignKeyId();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -2476,7 +2476,7 @@ public class SpecificService {
|
|
SpecificTarget vo = new SpecificTarget();
|
|
SpecificTarget vo = new SpecificTarget();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
int orderNum = 100;
|
|
int orderNum = 100;
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -2494,7 +2494,7 @@ public class SpecificService {
|
|
} else {
|
|
} else {
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
vo1.setWpid(wpid);
|
|
vo1.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -2866,7 +2866,7 @@ public class SpecificService {
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
String wpid = i.getForeignKeyId();
|
|
String wpid = i.getForeignKeyId();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -2915,7 +2915,7 @@ public class SpecificService {
|
|
SpecificTarget vo = new SpecificTarget();
|
|
SpecificTarget vo = new SpecificTarget();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
int orderNum = 100;
|
|
int orderNum = 100;
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -2933,7 +2933,7 @@ public class SpecificService {
|
|
} else {
|
|
} else {
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
vo1.setWpid(wpid);
|
|
vo1.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -3012,7 +3012,7 @@ public class SpecificService {
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
SpecificTargetVo vo = new SpecificTargetVo();
|
|
String wpid = i.getForeignKeyId();
|
|
String wpid = i.getForeignKeyId();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -3061,7 +3061,7 @@ public class SpecificService {
|
|
SpecificTarget vo = new SpecificTarget();
|
|
SpecificTarget vo = new SpecificTarget();
|
|
vo.setWpid(wpid);
|
|
vo.setWpid(wpid);
|
|
int orderNum = 100;
|
|
int orderNum = 100;
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
@@ -3079,7 +3079,7 @@ public class SpecificService {
|
|
} else {
|
|
} else {
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
SpecificTargetVo vo1 = new SpecificTargetVo();
|
|
vo1.setWpid(wpid);
|
|
vo1.setWpid(wpid);
|
|
- if (wpid.contains("_ZGS")) {
|
|
|
|
|
|
+ if (wpid.contains("_ZGS") || wpid.contains("_FGS" + type)) {
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.cpmap.get(companys).getAname());
|
|
} else if (wpid.contains("_RGN")) {
|
|
} else if (wpid.contains("_RGN")) {
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|
|
vo1.setWpname(CacheContext.rgmap.get(companys).getAname());
|