mybatis-plus
少说废话多干活
寻找巨人,并站在他们的肩膀上
找回男人的自信
展开
-
springboot整合mybats-plus和lombok实现一对多和延迟加载
configuration: map-underscore-to-camel-case: false cache-enabled: true #配置的缓存的全局开关 lazyLoadingEnabled: true #延时加载的开关 multipleResultSetsEnabled: true #开启的话,延时加载一个属性时会加载该对象全部属性,否则按需加载属性 log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #打印sql..原创 2021-03-27 22:28:39 · 249 阅读 · 0 评论 -
mybatis-plus in work
delete(new EntityWrapper<>() ); insert(areaCharging); EntityWrapper<ChargingPile> entityWrapper = getEntiryWrapperByLevel(guid,level); entityWrapper.setSqlSelect(" sum(Replace(remark,'辆','')) as chargingPortNumber ,count(id) as cha..原创 2021-03-20 05:59:58 · 186 阅读 · 0 评论