mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-17 21:49:33 +08:00
-
This commit is contained in:
parent
a785908009
commit
3ce21eff43
@ -149,7 +149,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
inValueString = inValues.ToArray().ToJoinSqlInValsN();
|
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));
|
inValueString = string.Join(",", inValues.Select(it => Convert.ToBoolean(it) ? 1 : 0));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user