mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update 达梦 BUG
This commit is contained in:
parent
f816840f4e
commit
7b9908fd32
@ -41,6 +41,13 @@ namespace SqlSugar
|
||||
return sql;
|
||||
};
|
||||
}
|
||||
public override string SqlParameterKeyWord
|
||||
{
|
||||
get
|
||||
{
|
||||
return ":";
|
||||
}
|
||||
}
|
||||
public override IDbConnection Connection
|
||||
{
|
||||
get
|
||||
|
@ -49,9 +49,9 @@ namespace SqlSugar
|
||||
}
|
||||
this.OrderByValue = oldOrderBy;
|
||||
result = GetSqlQuerySql(result);
|
||||
if (result.IndexOf("-- No table") > 0)
|
||||
if (result.Contains("-- No table") )
|
||||
{
|
||||
return "-- No table";
|
||||
return "select * from (select 1 as id) where id=0 -- No table";
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user