mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
Update nav query
This commit is contained in:
@@ -344,6 +344,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
ids = ids.Select(it => Convert.ToInt64(it)).Cast<object>().ToList();
|
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()
|
conditionalModels.Add((new ConditionalModel()
|
||||||
{
|
{
|
||||||
ConditionalType = ConditionalType.In,
|
ConditionalType = ConditionalType.In,
|
||||||
@@ -415,6 +419,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
ids = ids.Select(it => Convert.ToInt64(it)).Cast<object>().ToList();
|
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()
|
conditionalModels.Add((new ConditionalModel()
|
||||||
{
|
{
|
||||||
ConditionalType = ConditionalType.In,
|
ConditionalType = ConditionalType.In,
|
||||||
|
Reference in New Issue
Block a user