mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 10:38:09 +08:00
Update 人大金仓[SqlSever]
This commit is contained in:
@@ -404,6 +404,10 @@ namespace SqlSugar
|
|||||||
public override string MergeString(params string[] strings)
|
public override string MergeString(params string[] strings)
|
||||||
{
|
{
|
||||||
var key = Guid.NewGuid() + "";
|
var key = Guid.NewGuid() + "";
|
||||||
|
if (strings.Length == 1)
|
||||||
|
{
|
||||||
|
return " pg_catalog.concat(" + string.Join(",", strings.Select(it => it?.Replace("+", key))).Replace("+", "").Replace(key, "+") + ",null) ";
|
||||||
|
}
|
||||||
return " pg_catalog.concat(" + string.Join(",", strings.Select(it => it?.Replace("+", key))).Replace("+", "").Replace(key, "+") + ") ";
|
return " pg_catalog.concat(" + string.Join(",", strings.Select(it => it?.Replace("+", key))).Replace("+", "").Replace(key, "+") + ") ";
|
||||||
}
|
}
|
||||||
public override string IsNull(MethodCallExpressionModel model)
|
public override string IsNull(MethodCallExpressionModel model)
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
<package >
|
<package >
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>SqlSugarCore</id>
|
<id>SqlSugarCore</id>
|
||||||
<version>5.1.4.177-preview02</version>
|
<version>5.1.4.177-preview03</version>
|
||||||
<authors>sunkaixuan</authors>
|
<authors>sunkaixuan</authors>
|
||||||
<owners>果糖大数据科技</owners>
|
<owners>果糖大数据科技</owners>
|
||||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||||
|
Reference in New Issue
Block a user