mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-17 12:35:07 +08:00
修改 baseMapper selectCount int -> long
Mybatis Plus 在3.4 版本之后将 selectCount 从Integer 改为Long
This commit is contained in:
@ -24,7 +24,7 @@ public interface FileMapper extends BaseMapperX<FileDO> {
|
||||
.orderByDesc("create_time"));
|
||||
}
|
||||
|
||||
default Integer selectCountById(String id) {
|
||||
default Long selectCountById(String id) {
|
||||
return selectCount(FileDO::getId, id);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user