Commit 98b214c9 by zhangkb

修改系统导出逻辑

parent 1ba2fc2a
...@@ -860,7 +860,9 @@ public class TagFileService { ...@@ -860,7 +860,9 @@ public class TagFileService {
if (method.getName().startsWith("set")) { if (method.getName().startsWith("set")) {
String field = method.getName(); // 截取属性名 String field = method.getName(); // 截取属性名
field = field.substring(field.indexOf("set") + 3); field = field.substring(field.indexOf("set") + 3);
if(!"url".equals(field.toLowerCase())) {
field = field.toLowerCase().charAt(0) + field.substring(1); field = field.toLowerCase().charAt(0) + field.substring(1);
}
if (map.containsKey(field)) { if (map.containsKey(field)) {
method.invoke(javabean, map.get(field)); method.invoke(javabean, map.get(field));
} }
......
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