Commit 3bd6afd1 by scott Committed by GitHub

Merge pull request #359 from klniu/master

修复updateBatchById的org.apache.ibatis.binding.BindingException: Paramet…
parents b73eeffc 2a992551
......@@ -106,7 +106,11 @@ public class MybatisInterceptor implements Interceptor {
Field[] fields = null;
if (parameter instanceof ParamMap) {
ParamMap<?> p = (ParamMap<?>) parameter;
if (p.containsKey("et")) {
parameter = p.get("et");
} else {
parameter = p.get("param1");
}
fields = oConvertUtils.getAllFields(parameter);
} else {
fields = oConvertUtils.getAllFields(parameter);
......
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