|
@@ -126,7 +126,8 @@ public class I18nSqlProcessInterceptor implements Interceptor {
|
|
if (Map.class.isAssignableFrom(boundSql.getParameterObject().getClass())
|
|
if (Map.class.isAssignableFrom(boundSql.getParameterObject().getClass())
|
|
&& Map.class.isAssignableFrom(parameterClass)) {
|
|
&& Map.class.isAssignableFrom(parameterClass)) {
|
|
MapperMethod.ParamMap parameterMap = (MapperMethod.ParamMap) boundSql.getParameterObject();
|
|
MapperMethod.ParamMap parameterMap = (MapperMethod.ParamMap) boundSql.getParameterObject();
|
|
- if (parameterMap.containsKey("ew")) {
|
|
|
|
|
|
+ if (parameterMap.containsKey("ew") && parameterMap.containsKey("et")
|
|
|
|
+ && parameterMap.get("et") != null) {
|
|
// update method
|
|
// update method
|
|
Object entityWrapper = parameterMap.get("ew");
|
|
Object entityWrapper = parameterMap.get("ew");
|
|
// update 不带where 直接返回原逻辑
|
|
// update 不带where 直接返回原逻辑
|