Commit 016979a6 by 吴佳

增加saveMdlData 和 loadMdlData 供模板保存时使用

parent 329a531c
......@@ -4,6 +4,7 @@ import com.brilliance.mda.runtime.mda.FieldHolder;
import com.brilliance.mda.runtime.mda.IDatafield;
import com.brilliance.mda.runtime.mda.IModule;
import com.brilliance.mda.runtime.mda.driver.MdaDriver;
import com.brilliance.mda.runtime.mda.util.MdaUtils;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
......@@ -51,7 +52,7 @@ public class DatafieldImpl<T> implements IDatafield<T> {
}
}
else{
String prefix = parent.getPath();
String prefix = !MdaUtils.isEmpty(parent)?parent.getPath():"";
if(prefix == null || prefix.length() ==0)
this.path = this.name;
else
......
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