mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update nav query
This commit is contained in:
parent
9032a28ebd
commit
1600b8a67a
@ -344,6 +344,10 @@ namespace SqlSugar
|
||||
{
|
||||
ids = ids.Select(it => Convert.ToInt64(it)).Cast<object>().ToList();
|
||||
}
|
||||
if (navPkColumn?.UnderType?.Name == UtilConstants.StringType.Name)
|
||||
{
|
||||
ids = ids.Select(it => it?.ToString()?.Replace(",", "[comma]")).Cast<object>().ToList();
|
||||
}
|
||||
conditionalModels.Add((new ConditionalModel()
|
||||
{
|
||||
ConditionalType = ConditionalType.In,
|
||||
@ -415,6 +419,10 @@ namespace SqlSugar
|
||||
{
|
||||
ids = ids.Select(it => Convert.ToInt64(it)).Cast<object>().ToList();
|
||||
}
|
||||
if (navColumn?.UnderType?.Name == UtilConstants.StringType.Name)
|
||||
{
|
||||
ids = ids.Select(it => it?.ToString()?.Replace(",", "[comma]")).Cast<object>().ToList();
|
||||
}
|
||||
conditionalModels.Add((new ConditionalModel()
|
||||
{
|
||||
ConditionalType = ConditionalType.In,
|
||||
|
Loading…
Reference in New Issue
Block a user