From 6637ad13043e2a3efbd0a1c18794823c19de1877 Mon Sep 17 00:00:00 2001 From: lanjerry <38046851@qq.com> Date: Thu, 29 Oct 2020 10:40:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DOscar=EF=BC=88=E7=A5=9E?= =?UTF-8?q?=E9=80=9A=E6=95=B0=E6=8D=AE=E5=BA=93=EF=BC=89=E7=94=9F=E6=88=90?= =?UTF-8?q?=E9=94=99=E8=AF=AF.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mybatisplus/generator/config/querys/OscarQuery.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/config/querys/OscarQuery.java b/mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/config/querys/OscarQuery.java index 525b84938b..914de11f50 100644 --- a/mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/config/querys/OscarQuery.java +++ b/mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/config/querys/OscarQuery.java @@ -1,7 +1,7 @@ package com.baomidou.mybatisplus.generator.config.querys; /** - *
+ *Oscar(神通数据库) 表数据查询
* * @author whli * @version 1.0.0 @@ -11,11 +11,11 @@ public class OscarQuery extends AbstractDbQuery { @Override public String tablesSql() { - return "SELECT " + + return "SELECT * FROM (SELECT " + "a.TABLE_NAME, " + "b.COMMENTS " + "FROM USER_TABLES a " + - "INNER JOIN USER_TAB_COMMENTS b ON (b.TABLE_TYPE = 'TABLE' AND a.TABLE_NAME = b.TABLE_NAME) "; + "INNER JOIN USER_TAB_COMMENTS b ON (b.TABLE_TYPE = 'TABLE' AND a.TABLE_NAME = b.TABLE_NAME)) a WHERE 1=1 "; } @Override