| 程序包 | 说明 |
|---|---|
| pro.haichuang.framework.mybatis.service |
Mybatis核心Service
|
| 限定符和类型 | 方法和说明 |
|---|---|
default long |
BaseService.countByIdAndValidate(Collection<Long> ids)
批量验证ID获取数量
|
default long |
BaseService.countByIdAndValidate(Collection<Long> ids,
String errorUserTip)
批量验证ID获取数量
|
default long |
BaseService.countByIdAndValidate(Long id)
验证ID获取数量
|
default long |
BaseService.countByIdAndValidate(Long id,
String errorUserTip)
验证ID获取数量
|
default T |
BaseService.getByIdAndValidate(Long id)
验证ID并获取DO
|
default T |
BaseService.getByIdAndValidate(Long id,
String errorUserTip)
验证ID并获取DO
|
default boolean |
BaseService.isExistsByIdAndValidate(Collection<Long> ids)
批量验证ID获取是否存在
|
default boolean |
BaseService.isExistsByIdAndValidate(Collection<Long> ids,
String errorUserTip)
批量验证ID获取是否存在
|
default boolean |
BaseService.isExistsByIdAndValidate(Long id)
验证ID获取是否存在
|
default boolean |
BaseService.isExistsByIdAndValidate(Long id,
String errorUserTip)
验证ID获取是否存在
|
default List<T> |
BaseService.listAndValidate(com.baomidou.mybatisplus.core.conditions.Wrapper<T> wrapper,
String errorUserTip)
验证IDs并获取DOs
|
default List<T> |
BaseService.listByIdAndValidate(Collection<Long> ids)
验证IDs并获取DOs
|
default List<T> |
BaseService.listByIdAndValidate(Collection<Long> ids,
String errorUserTip)
验证IDs并获取DOs
|
default List<T> |
BaseService.listByIdAndValidate(com.baomidou.mybatisplus.core.conditions.Wrapper<T> wrapper)
验证IDs并获取DOs
|
default Pageable<T> |
BaseService.listPageAndValidate(PageRequest pageRequest)
验证PageRequest并获取Pageable
默认根据
BaseDO.MODIFY_TIME 进行排序 |
default Pageable<T> |
BaseService.listPageAndValidate(PageRequest pageRequest,
String errorUserTip)
验证PageRequest并获取Pageable
默认根据
BaseDO.MODIFY_TIME 进行排序 |
default boolean |
BaseService.removeByIdAndValidate(Collection<Long> ids)
批量验证实体类ID并删除
|
default boolean |
BaseService.removeByIdAndValidate(Collection<Long> ids,
String errorUserTip)
批量验证实体类ID并删除
|
default boolean |
BaseService.removeByIdAndValidate(Long id)
验证实体类ID并删除
|
default boolean |
BaseService.removeByIdAndValidate(Long id,
String errorUserTip)
验证实体类ID并删除
|
default boolean |
BaseService.saveAndValidate(Collection<T> entities)
批量验证实体类ID并保存
|
default boolean |
BaseService.saveAndValidate(Collection<T> entities,
int batchSize)
批量验证实体类ID并保存
|
default boolean |
BaseService.saveAndValidate(Collection<T> entities,
int batchSize,
String errorUserTip)
批量验证实体类ID并保存
|
default boolean |
BaseService.saveAndValidate(Collection<T> entities,
String errorUserTip)
批量验证实体类ID并保存
|
default boolean |
BaseService.saveAndValidate(T entity)
验证实体类ID并保存
|
default boolean |
BaseService.saveAndValidate(T entity,
String errorUserTip)
验证实体类ID并保存
|
default boolean |
BaseService.updateByIdAndValidate(Collection<T> entities)
批量验证实体类ID并更新
|
default boolean |
BaseService.updateByIdAndValidate(Collection<T> entities,
int batchSize)
批量验证实体类ID并更新
|
default boolean |
BaseService.updateByIdAndValidate(Collection<T> entities,
int batchSize,
String errorUserTip)
批量验证实体类ID并更新
|
default boolean |
BaseService.updateByIdAndValidate(Collection<T> entities,
String errorUserTip)
批量验证实体类ID并更新
|
default boolean |
BaseService.updateByIdAndValidate(T entity)
批量验证实体类ID并更新
|
default boolean |
BaseService.updateByIdAndValidate(T entity,
String errorUserTip)
批量验证实体类ID并更新
|
Copyright © 2021 HaiChuang Inc.. All rights reserved.