Update exp to sql

This commit is contained in:
sunkaixuan 2023-06-29 11:54:59 +08:00
parent bfdb20413a
commit 8b0c69028a

View File

@ -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("-", "");