mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Updaate 达梦
This commit is contained in:
@@ -37,7 +37,11 @@ namespace SqlSugar
|
|||||||
public override string SqlTemplateBatch => "INSERT INTO {0} ({1})";
|
public override string SqlTemplateBatch => "INSERT INTO {0} ({1})";
|
||||||
|
|
||||||
public override string SqlTemplateBatchSelect => " {0} ";
|
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()
|
public override string ToSqlString()
|
||||||
{
|
{
|
||||||
return base.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)
|
public object FormatValue(int i, string name, object value)
|
||||||
{
|
{
|
||||||
if (value == null)
|
if (value == null)
|
||||||
|
Reference in New Issue
Block a user