mirror of
https://gitee.com/best_handsome/mybatis-plus-join
synced 2025-07-11 00:02:22 +08:00
低版本错误
This commit is contained in:
parent
14ae83aff5
commit
bf56112b05
@ -179,7 +179,7 @@ public class MPJQueryWrapper<T> extends AbstractWrapper<T, String, MPJQueryWrapp
|
||||
public final MPJQueryWrapper<T> selectAll(Class<?> clazz, String as) {
|
||||
TableInfo info = TableHelper.get(clazz);
|
||||
Assert.notNull(info, "table not find by class <%s>", clazz);
|
||||
if (info.havePK()) {
|
||||
if (ConfigProperties.adapter.mpjHasPK(info)) {
|
||||
selectColumns.add(as + StringPool.DOT + info.getKeySqlSelect());
|
||||
}
|
||||
selectColumns.addAll(info.getFieldList().stream().map(i ->
|
||||
|
Loading…
x
Reference in New Issue
Block a user