Commit 719ba89779566b3ea2844344913e51dcb2f1b54a
1 parent
3ddd467c
JeecgBoot 2.1.1 代码生成器AI版本发布
Showing
1 changed file
with
7 additions
and
0 deletions
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/config/mybatis/MybatisInterceptor.java
... | ... | @@ -120,6 +120,13 @@ public class MybatisInterceptor implements Interceptor { |
120 | 120 | parameter = p.get("param1"); |
121 | 121 | } |
122 | 122 | //update-end-author:scott date:20190729 for:批量更新报错issues/IZA3Q- |
123 | + | |
124 | + //update-begin-author:scott date:20190729 for:更新指定字段时报错 issues/#516- | |
125 | + if (parameter == null) { | |
126 | + return invocation.proceed(); | |
127 | + } | |
128 | + //update-end-author:scott date:20190729 for:更新指定字段时报错 issues/#516- | |
129 | + | |
123 | 130 | fields = oConvertUtils.getAllFields(parameter); |
124 | 131 | } else { |
125 | 132 | fields = oConvertUtils.getAllFields(parameter); |
... | ... |