mybatis-dynamic-query icon indicating copy to clipboard operation
mybatis-dynamic-query copied to clipboard

refactor(dynamic): 优化动态查询参数处理

Open AlejandroZuniega opened this issue 9 months ago • 1 comments

  • 重构了 BaseDynamicQuery 类中的 whereExpression 生成逻辑
  • 新增 whereExpressionWithPrefix 方法,支持自定义参数前缀
  • 优化了参数替换逻辑,使用 ThreadLocal 实现参数前缀
  • 添加了性能测试,验证大量参数情况下的查询性能

AlejandroZuniega avatar Feb 06 '25 02:02 AlejandroZuniega