mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
List<DateOnly >.Contains(DateOnly)
This commit is contained in:
parent
bdd06cffb1
commit
4590c64f93
@ -129,6 +129,11 @@ namespace SqlSugar
|
|||||||
var inStr = Convert.ToDateTime(item).ToString("yyyy-MM-dd HH:mm:ss.fff");
|
var inStr = Convert.ToDateTime(item).ToString("yyyy-MM-dd HH:mm:ss.fff");
|
||||||
inValues.Add(inStr);
|
inValues.Add(inStr);
|
||||||
}
|
}
|
||||||
|
else if (item != null && item.GetType().FullName== "System.DateOnly")
|
||||||
|
{
|
||||||
|
var inStr = UtilMethods.DateOnlyToDateTime(item).ObjToDate().ToString("yyyy-MM-dd");
|
||||||
|
inValues.Add(inStr);
|
||||||
|
}
|
||||||
else if (item != null && item.GetType()==UtilConstants.ByteArrayType)
|
else if (item != null && item.GetType()==UtilConstants.ByteArrayType)
|
||||||
{
|
{
|
||||||
var inStr= BitConverter.ToString((byte[])item).Replace("-", "");
|
var inStr= BitConverter.ToString((byte[])item).Replace("-", "");
|
||||||
|
Loading…
Reference in New Issue
Block a user