mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-15 20:49:31 +08:00
-
This commit is contained in:
parent
a785908009
commit
3ce21eff43
@ -149,7 +149,7 @@ namespace SqlSugar
|
||||
{
|
||||
inValueString = inValues.ToArray().ToJoinSqlInValsN();
|
||||
}
|
||||
else if (inValues.Any()&&inValues.All(it => it is bool))
|
||||
else if (inValues.Any()&&inValues.FirstOrDefault() is bool &&inValues.All(it => it is bool))
|
||||
{
|
||||
inValueString = string.Join(",", inValues.Select(it => Convert.ToBoolean(it) ? 1 : 0));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user