From 616772aaaeff533b3ded9f3161025dae07d938cb Mon Sep 17 00:00:00 2001 From: 28810 <28810@YEXIANGQIN> Date: Thu, 7 May 2020 22:43:37 +0800 Subject: [PATCH] update --- 查询.md | 4 ++++ 骚操作.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/查询.md b/查询.md index a940952..281dfbf 100644 --- a/查询.md +++ b/查询.md @@ -78,6 +78,10 @@ sql = fsql.Select().WhereDynamicFilter(JsonConvert.Deseriali ] } ")).ToList(); +//SELECT a.""Code"", a.""Name"", a.""ParentCode"", a__Parent.""Code"" as4, a__Parent.""Name"" as5, a__Parent.""ParentCode"" as6 +//FROM ""D_District"" a +//LEFT JOIN ""D_District"" a__Parent ON a__Parent.""Code"" = a.""ParentCode"" +//WHERE ((not((a.""Code"") LIKE '%val1%') AND not((a.""Name"") LIKE 'val2%') OR not((a.""Name"") LIKE '%val3') OR a.""ParentCode"" <> 'val4' OR a__Parent.""Code"" = 'val11' AND (a__Parent.""Name"") LIKE '%val22%' OR a__Parent.""Name"" = 'val33' OR a__Parent.""ParentCode"" = 'val44')) ``` ## API diff --git a/骚操作.md b/骚操作.md index fb43b27..c430b76 100644 --- a/骚操作.md +++ b/骚操作.md @@ -243,6 +243,10 @@ sql = fsql.Select().WhereDynamicFilter(JsonConvert.Deseriali ] } ")).ToList(); +//SELECT a.""Code"", a.""Name"", a.""ParentCode"", a__Parent.""Code"" as4, a__Parent.""Name"" as5, a__Parent.""ParentCode"" as6 +//FROM ""D_District"" a +//LEFT JOIN ""D_District"" a__Parent ON a__Parent.""Code"" = a.""ParentCode"" +//WHERE ((not((a.""Code"") LIKE '%val1%') AND not((a.""Name"") LIKE 'val2%') OR not((a.""Name"") LIKE '%val3') OR a.""ParentCode"" <> 'val4' OR a__Parent.""Code"" = 'val11' AND (a__Parent.""Name"") LIKE '%val22%' OR a__Parent.""Name"" = 'val33' OR a__Parent.""ParentCode"" = 'val44')) ``` ---