解决批量更新报错 issues/IZA3Q

This commit is contained in:
zhangdaihao 2019-07-29 19:57:45 +08:00
parent b43673dcfc
commit 64647a89a0
1 changed files with 5 additions and 1 deletions

View File

@ -106,7 +106,11 @@ public class MybatisInterceptor implements Interceptor {
Field[] fields = null;
if (parameter instanceof ParamMap) {
ParamMap<?> p = (ParamMap<?>) parameter;
parameter = p.get("param1");
if (p.containsKey("et")) {
parameter = p.get("et");
} else {
parameter = p.get("param1");
}
fields = oConvertUtils.getAllFields(parameter);
} else {
fields = oConvertUtils.getAllFields(parameter);