wind-core 4.0.5 发布

栏目: 软件资讯 · 发布时间: 4年前

内容简介:新增:支持查询关联对象 service.populateMapping(foo, Foo::setBar); 新增:Cnds,StringCnds条件构造类,任意选择,简化service调用方式 final Cnds<Foo> cnds = Cnds.of(Foo.class).gt(Foo::setId, 0L).l...
  • 新增:支持查询关联对象

    service.populateMapping(foo, Foo::setBar);
  • 新增:Cnds,StringCnds条件构造类,任意选择,简化service调用方式

    final Cnds<Foo> cnds = Cnds.of(Foo.class).gt(Foo::setId, 0L).limit(1, 10).orderBy(Foo::getId);
    // final StringCnds<Foo> cnds = StringCnds.of(Foo.class).gt("id", 0L).limit(1, 10).orderBy("id");
    service.list(cnds);
    // 查询指定字段
    final QueryColumn queryColumn = QueryColumn.of(Foo.class).col(Foo::getId).col(Foo::getName);
    service.list(cnds, queryColumn);
  • 新增:service支持表互操作

    fooService.create(foo);
    // 可操作bar表
    fooService.create(bar);
  • 新增:打印 sql 和参数信息

    logging.level.io.github.ramerf.wind.core=debug
  • 新增:Domain 域对象。继承于Domain的对象自带写入方法(create,update,delete)

  • 更新:去掉实体注解TableInfo依赖,没有TableInfo注解的实体唯一的区别仅仅是不支持自动建表

  • 修复:支持LocalDateTime,LocalDate,LocalTime

  • 修复:当列指定备注时自动建表失败


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Traction: A Startup Guide to Getting Customers

Traction: A Startup Guide to Getting Customers

Gabriel Weinberg、Justin Mares / S-curves Publishing / 2014-8-25 / USD 14.99

Most startups end in failure. Almost every failed startup has a product. What failed startups don't have is traction -- real customer growth. This book introduces startup founders and employees to......一起来看看 《Traction: A Startup Guide to Getting Customers》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

MD5 加密
MD5 加密

MD5 加密工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具