Merge pull request #1746 from littleSaltZz/patch-1

Mongo常量里用的oracle的别名后缀
This commit is contained in:
taojinlong 2022-02-14 12:18:07 +08:00 committed by GitHub
commit 01b0761d21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,6 @@ package io.dataease.provider.query.mongodb;
import io.dataease.provider.query.SQLConstants; import io.dataease.provider.query.SQLConstants;
import static io.dataease.commons.constants.DatasourceTypes.mongo; import static io.dataease.commons.constants.DatasourceTypes.mongo;
import static io.dataease.commons.constants.DatasourceTypes.oracle;
/** /**
* @Author gin * @Author gin
@ -14,7 +13,7 @@ public class MongoConstants extends SQLConstants {
public static final String KEYWORD_FIX = "%s." + mongo.getKeywordPrefix() + "%s" + mongo.getKeywordSuffix(); public static final String KEYWORD_FIX = "%s." + mongo.getKeywordPrefix() + "%s" + mongo.getKeywordSuffix();
public static final String ALIAS_FIX = mongo.getAliasPrefix() + "%s" + oracle.getAliasSuffix(); public static final String ALIAS_FIX = mongo.getAliasPrefix() + "%s" + mongo.getAliasSuffix();
public static final String toInt32 = "toInt32(%s)"; public static final String toInt32 = "toInt32(%s)";