sqltoy-orm-4.17.2 发版,部分功能优化
开源地址:
- github: https://github.com/sagframe/sagacity-sqltoy
- gitee: https://gitee.com/sagacity/sagacity-sqltoy
- idea 插件(可直接在idea中检索安装): https://github.com/threefish/sqltoy-idea-plugins
更新内容
1、优化update(entity,forceUpdateFields) 强制属性优先于统一字段处理
2、 为org.sagacity.sqltoy.plugins.datasource.ObtainDataSource 接口方法增加了一个参数,便于今后扩展
3、 findEntity 放开条件限制,允许无查询条件查询
4、 sql查询或executeSql对象传参时,sql中的参数变量支持:xxxx.xxxx 支持子对象属性读取
5、quickvo工具支持extends指定继承父类,entity和vo都支持该属性
<task active="true" author="zhangsan" include="^SYS_\w+" datasource="strict" swagger-model="true">
<entity package="${project.package}.system.entity" substr="Sys" name="#{subName}"/>
<vo package="${project.package}.system.dto" substr="Sys" name="#{subName}VO" extends="com.sagframe.model.Request"/>
</task>
0条评论