mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
fixed: "Every derived table must have its own alias"; close #I7CUE8
This commit is contained in:
parent
48e6495bd1
commit
c16c99d72d
@ -50,7 +50,7 @@ public class MapperUtil {
|
||||
public static QueryWrapper rawCountQueryWrapper(QueryWrapper queryWrapper) {
|
||||
return QueryWrapper.create()
|
||||
.select(count().as("total"))
|
||||
.from(queryWrapper);
|
||||
.from(queryWrapper).as("t");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user