解决批量更新报错 issues/IZA3Q
This commit is contained in:
parent
b43673dcfc
commit
64647a89a0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue