mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-02-27 16:50:33 +08:00
-
This commit is contained in:
@@ -189,7 +189,7 @@ namespace SqlSugar
|
||||
case ConditionalType.In:
|
||||
if (item.FieldValue == null) item.FieldValue = string.Empty;
|
||||
var inValue1 = string.Empty;
|
||||
if (item.CSharpTypeName.EqualCase("string"))
|
||||
if (item.CSharpTypeName.EqualCase("string")|| item.CSharpTypeName==null)
|
||||
{
|
||||
inValue1 = ("(" + item.FieldValue.Split(',').Distinct().ToArray().ToJoinSqlInVals() + ")");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user