|
@@ -441,7 +441,7 @@ object RelationTypeProjectService : RService<RelationTypeProject>(SMybatisDao(Re
|
|
|
try {
|
|
|
var zoneType = zone
|
|
|
val len = relType.indexOf("_")
|
|
|
- val cmd = if (len > 0) {
|
|
|
+ var cmd = if (len > 0) {
|
|
|
relType.substring(0, len)
|
|
|
} else {
|
|
|
relType
|
|
@@ -464,7 +464,10 @@ object RelationTypeProjectService : RService<RelationTypeProject>(SMybatisDao(Re
|
|
|
excelImport.javaClass.getDeclaredMethod("sh2flfor", String::class.java, String::class.java, String::class.java, String::class.java)
|
|
|
}else if (relType == "sh2sh_ArchForArch"){
|
|
|
excelImport.javaClass.getDeclaredMethod("sh2shfor", String::class.java, String::class.java, String::class.java, String::class.java)
|
|
|
- }else if (cmd == "sp2sp"||cmd == "bd2sp"||cmd == "fl2sp"||cmd == "sh2sp"
|
|
|
+ }else if(relType == "sy2sh_for"){
|
|
|
+ cmd = "sy2shfor"
|
|
|
+ excelImport.javaClass.getDeclaredMethod(cmd, String::class.java, String::class.java, String::class.java, String::class.java)
|
|
|
+ } else if (cmd == "sp2sp"||cmd == "bd2sp"||cmd == "fl2sp"||cmd == "sh2sp"
|
|
|
||cmd == "sp2bd"||cmd == "sp2fl"||cmd == "sp2sh"){
|
|
|
excelImport.javaClass.getDeclaredMethod(cmd, String::class.java, String::class.java, String::class.java, String::class.java, String::class.java)
|
|
|
} else {
|