mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Updaate 达梦
This commit is contained in:
parent
c12a3530a3
commit
183c4681a3
@ -37,7 +37,11 @@ namespace SqlSugar
|
||||
public override string SqlTemplateBatch => "INSERT INTO {0} ({1})";
|
||||
|
||||
public override string SqlTemplateBatchSelect => " {0} ";
|
||||
|
||||
public override string FormatDateTimeOffset(object value)
|
||||
{
|
||||
var date = UtilMethods.ConvertFromDateTimeOffset((DateTimeOffset)value);
|
||||
return "'" + date.ToString("yyyy-MM-dd HH:mm:ss.fff zzz") + "'";
|
||||
}
|
||||
public override string ToSqlString()
|
||||
{
|
||||
return base.ToSqlString();
|
||||
|
@ -65,6 +65,11 @@ namespace SqlSugar
|
||||
}
|
||||
}
|
||||
}
|
||||
public override string FormatDateTimeOffset(object value)
|
||||
{
|
||||
var date = UtilMethods.ConvertFromDateTimeOffset((DateTimeOffset)value);
|
||||
return "'" + date.ToString("yyyy-MM-dd HH:mm:ss.fff zzz") + "'";
|
||||
}
|
||||
public object FormatValue(int i, string name, object value)
|
||||
{
|
||||
if (value == null)
|
||||
|
Loading…
Reference in New Issue
Block a user