提交 24d68774 编写于 作者: zhouweidong's avatar zhouweidong

主键判断

上级 04eb4bf5
...@@ -219,6 +219,7 @@ public class DELogicAspect { ...@@ -219,6 +219,7 @@ public class DELogicAspect {
for (ExtensionElement globalParam : globalParams) { for (ExtensionElement globalParam : globalParams) {
Object value = null; Object value = null;
Map<String, List<ExtensionAttribute>> globalParamAttr = globalParam.getAttributes(); Map<String, List<ExtensionAttribute>> globalParamAttr = globalParam.getAttributes();
if (globalParamAttr.containsKey("name") && globalParamAttr.containsKey("type") && globalParamAttr.containsKey("express")) {
ExtensionAttribute name = globalParamAttr.get("name").get(0); ExtensionAttribute name = globalParamAttr.get("name").get(0);
ExtensionAttribute type = globalParamAttr.get("type").get(0); ExtensionAttribute type = globalParamAttr.get("type").get(0);
ExtensionAttribute express = globalParamAttr.get("express").get(0); ExtensionAttribute express = globalParamAttr.get("express").get(0);
...@@ -239,6 +240,7 @@ public class DELogicAspect { ...@@ -239,6 +240,7 @@ public class DELogicAspect {
} }
} }
} }
}
/** /**
* 获取逻辑配置 * 获取逻辑配置
...@@ -736,6 +738,7 @@ public class DELogicAspect { ...@@ -736,6 +738,7 @@ public class DELogicAspect {
for (ExtensionElement globalParam : globalParams) { for (ExtensionElement globalParam : globalParams) {
Object value = null; Object value = null;
Map<String, List<ExtensionAttribute>> globalParamAttr = globalParam.getAttributes(); Map<String, List<ExtensionAttribute>> globalParamAttr = globalParam.getAttributes();
if (globalParamAttr.containsKey("name") && globalParamAttr.containsKey("type") && globalParamAttr.containsKey("express")) {
ExtensionAttribute name = globalParamAttr.get("name").get(0); ExtensionAttribute name = globalParamAttr.get("name").get(0);
ExtensionAttribute type = globalParamAttr.get("type").get(0); ExtensionAttribute type = globalParamAttr.get("type").get(0);
ExtensionAttribute express = globalParamAttr.get("express").get(0); ExtensionAttribute express = globalParamAttr.get("express").get(0);
...@@ -756,6 +759,7 @@ public class DELogicAspect { ...@@ -756,6 +759,7 @@ public class DELogicAspect {
} }
} }
} }
}
/** /**
* 获取逻辑配置 * 获取逻辑配置
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册