mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 02:29:39 +08:00
Synchronization code
This commit is contained in:
@@ -104,6 +104,11 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
inValues.Add(Convert.ToInt64(item));
|
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)
|
else if (item != null && item.GetType()==UtilConstants.ByteArrayType)
|
||||||
{
|
{
|
||||||
var inStr= BitConverter.ToString((byte[])item).Replace("-", "");
|
var inStr= BitConverter.ToString((byte[])item).Replace("-", "");
|
||||||
|
Reference in New Issue
Block a user