mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +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)
|
||||
{
|
||||
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user