Closed Rakbow closed 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 = '>']"
当前使用版本(必填,否则不予处理)
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 = '>']"