Commit d588193b by 吴佳

加载模型时不需要传入模型名称

parent c4d080d1
......@@ -1035,7 +1035,7 @@ public class MdaUtils {
return Codetables.getCodetableLabel(key, codetable, locale.getLanguage());
}
public static void loadMdlData(IModule module, String moduleName ,IStream stream) {
public static void loadMdlData(IModule module ,IStream stream) {
module.clear();
String[] lines = null;
try {
......@@ -1045,7 +1045,7 @@ public class MdaUtils {
}
boolean isLoading = false;
if(lines.length > 0){
// Class moduleClass = module.getClass();
Class moduleClass = module.getClass();
for (String line : lines ) {
//去除空格
line.trim();
......@@ -1054,7 +1054,7 @@ public class MdaUtils {
continue;
}
//读取到本模型模型名相同数据的行,开始获取模型数据
if(moduleName.toUpperCase().indexOf(line.toUpperCase()) != -1){
if(moduleClass.toUpperCase().indexOf(line.toUpperCase()) != -1){
//开始获取模型数据标识
isLoading = true;
continue;
......
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