yulichang / mybatis-plus-join

支持连表查询的mybatis-plus,mybatis-plus风格的连表操作提供wrapper.leftJoin(),wrapper.rightJoin()等操作
https://mybatis-plus-join.github.io
Apache License 2.0
1.18k stars 128 forks source link

UpdateJoinWrapper联表更新时提示拼接联表条件语句报错 #132

Closed Rakbow closed 7 months ago

Rakbow commented 7 months ago

当前使用版本(必填,否则不予处理)

1.4.12

该问题是如何引起的?(确定最新版也有问题再提!!!)

联表更新时提示拼接联表条件语句报错

重现步骤(如果有就写完整)

UpdateJoinWrapper<Item> wrapper = JoinWrappers .update(Item.class) .setUpdateEntity(subItem) .leftJoin("item_album t1 on t1.id = t.entity_id") .eq("t.id", dto.getId()); mapper.updateJoin(item, wrapper);

报错信息

"Error evaluating expression 'ew != null and ew.sqlSet != null'. Cause: org.apache.ibatis.ognl.OgnlException: sqlSet [java.util.UnknownFormatConversionException: Conversion = '>']"