mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update exp to sql
This commit is contained in:
parent
bfdb20413a
commit
8b0c69028a
@ -104,6 +104,11 @@ namespace SqlSugar
|
||||
{
|
||||
inValues.Add(Convert.ToInt64(item));
|
||||
}
|
||||
else if (item != null && item.GetType() == UtilConstants.DateType)
|
||||
{
|
||||
var inStr = Convert.ToDateTime(item).ToString("yyyy-MM-dd HH:mm:ss.fff");
|
||||
inValues.Add(inStr);
|
||||
}
|
||||
else if (item != null && item.GetType()==UtilConstants.ByteArrayType)
|
||||
{
|
||||
var inStr= BitConverter.ToString((byte[])item).Replace("-", "");
|
||||
|
Loading…
Reference in New Issue
Block a user