diboot-core v2.0.2
- 增加了BindEntity注解,用于支持Entity/DTO 自动转换为QueryWrapper对象:
- Entity或者DTO中非等于的比较,添加注解如@BindQuery(comparison = Comparison.LIKE) 进行声明;
- Controller里调用super.buildQueryWrapper(entityOrDto) 或者直接调用 QueryBuilder.toQueryWrapper(entityOrDto) 即可进行转换。
- 优化Pagination对象属性定义,支持在Controller中自动绑定参数值
- 移除了diboot-core中非必须的依赖
- 修复BeanUtils.buildTree()中抓取属性值id的问题