Commit ee9542a7 by s_guodong

修复bug

parent dfdce68a
...@@ -313,7 +313,7 @@ public class MyBatisDaoSession extends AbstractDaoSession implements IDaoSession ...@@ -313,7 +313,7 @@ public class MyBatisDaoSession extends AbstractDaoSession implements IDaoSession
if (list == null || list.size() == 0) { if (list == null || list.size() == 0) {
setNoMoreRow(); setNoMoreRow();
} }
return new ArrayList<>(); return new ArrayList<>(list);
} }
private <T> List<T> dyncRead(Class<T> clazz, Map params) { private <T> List<T> dyncRead(Class<T> clazz, Map params) {
...@@ -323,7 +323,7 @@ public class MyBatisDaoSession extends AbstractDaoSession implements IDaoSession ...@@ -323,7 +323,7 @@ public class MyBatisDaoSession extends AbstractDaoSession implements IDaoSession
if (list == null || list.size() == 0) { if (list == null || list.size() == 0) {
setNoMoreRow(); setNoMoreRow();
} }
return new ArrayList<>(); return new ArrayList<>(list);
} }
public static class ResultSet { public static class ResultSet {
......
...@@ -29,9 +29,9 @@ public abstract class AbstractAutoCompileEmitter extends AbstractRuleEmitter { ...@@ -29,9 +29,9 @@ public abstract class AbstractAutoCompileEmitter extends AbstractRuleEmitter {
} }
if(target != null){ if(target != null){
target = getRealPath(target); target = getRealPath(target);
if(target.charAt(0) == '.' || target.charAt(0) == '\\') { // if(target.charAt(0) == '.' || target.charAt(0) == '\\') {
target = target.substring(1); // target = target.substring(1);
} // }
MdaEnv.getContext().pushEventPath(target); MdaEnv.getContext().pushEventPath(target);
} }
List<RuleItem> ruleItemList = null; List<RuleItem> ruleItemList = null;
......
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