mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-04 04:37:58 +08:00
Update exp to sql
This commit is contained in:
parent
443f677a25
commit
f2bfd93d73
@ -338,7 +338,8 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
public override string MergeString(params string[] strings)
|
public override string MergeString(params string[] strings)
|
||||||
{
|
{
|
||||||
return " concat(" + string.Join(",", strings).Replace("+", "") + ") ";
|
var key = Guid.NewGuid() + "";
|
||||||
|
return " concat(" + string.Join(",", strings.Select(it => it?.Replace("+", key))).Replace("+", "").Replace(key, "+") + ") ";
|
||||||
}
|
}
|
||||||
public override string IsNull(MethodCallExpressionModel model)
|
public override string IsNull(MethodCallExpressionModel model)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user