add BaseMapper.listAll

This commit is contained in:
Timi
2025-11-04 14:58:49 +08:00
parent e08a50a9b2
commit 9bcf17a118
2 changed files with 13 additions and 0 deletions

View File

@ -61,6 +61,9 @@ public interface BaseMapper<T, P> {
@SelectProvider(type = SQLProvider.class, method = "listOrder")
List<T> listOrder(long offset, int limit, Map<String, OrderType> orderMap);
@SelectProvider(type = SQLProvider.class, method = "listAll")
List<T> listAll();
/**
* 创建数据。默认自增主键为 id如需修改请重写此接口
*