Synchronization code

This commit is contained in:
sunkaixuan
2023-07-09 17:31:43 +08:00
parent e3f2e5e515
commit 13d7dfdcfd
9 changed files with 43 additions and 3 deletions

View File

@@ -76,6 +76,11 @@ namespace SqlSugar
}
public partial class OracleMethod : DefaultDbMethod, IDbMethods
{
public override string WeekOfYear(MethodCallExpressionModel mode)
{
var parameterNameA = mode.Args[0].MemberName;
return $"TO_NUMBER(TO_CHAR({parameterNameA}, 'WW')) ";
}
public override string BitwiseAnd(MethodCallExpressionModel model)
{
var parameter = model.Args[0];