mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-24 16:18:47 +08:00
Update SqlSugar.OceanBaseForOracleCore
This commit is contained in:
parent
3b136bddfc
commit
c1a3d9da6f
@ -273,7 +273,7 @@ namespace SqlSugar.OceanBaseForOracle
|
|||||||
public override string ToDate(MethodCallExpressionModel model)
|
public override string ToDate(MethodCallExpressionModel model)
|
||||||
{
|
{
|
||||||
var parameter = model.Args[0];
|
var parameter = model.Args[0];
|
||||||
return string.Format(" cast({0} as TIMESTAMP)", parameter.MemberName);
|
return string.Format(" TO_TIMESTAMP({0}, 'YYYY-MM-DD HH24:MI:SS.FF') ", parameter.MemberName);
|
||||||
}
|
}
|
||||||
public override string ToDateShort(MethodCallExpressionModel model)
|
public override string ToDateShort(MethodCallExpressionModel model)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user