Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdab0e09

Browse files
committed
sqlSugarCore升级到5.0.9
1 parent0275e34 commitdab0e09

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

‎APIJSON.NET/APIJSONCommon/ApiJson.Common.csproj

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,26 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
5-
<Version>0.0.1</Version>
6-
<Description>通用查询组件</Description>
5+
<Version>0.0.6</Version>
6+
<Description>0.0.6 增加ToSql接口,处理sql注入的情况
7+
通用查询组件</Description>
8+
<PackageId>ApiJson.Common.Core</PackageId>
9+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
710
</PropertyGroup>
811

912
<ItemGroup>
13+
<CompileRemove="Properties\AssemblyInfo.cs" />
1014
<CompileRemove="SelectTable - 副本.cs" />
1115
</ItemGroup>
1216

1317
<ItemGroup>
1418
<PackageReferenceInclude="AspectCore.Extensions.Reflection"Version="1.1.0" />
1519
<PackageReferenceInclude="Microsoft.Extensions.Options"Version="2.1.1" />
16-
<PackageReferenceInclude="sqlSugarCore"Version="4.9.9.10" />
20+
<PackageReferenceInclude="sqlSugarCore"Version="5.0.0.9" />
21+
</ItemGroup>
22+
23+
<ItemGroup>
24+
<FolderInclude="Properties\" />
1725
</ItemGroup>
1826

1927
</Project>

‎APIJSON.NET/APIJSONCommon/SelectTable.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ private void ProcessHaving(JObject values, ISugarQueryable<ExpandoObject> tb)
625625
hw.Add(model);
626626
}
627627

628-
vard=db.Context.Utilities.ConditionalModelToSql(hw);
628+
//var d = db.Context.Utilities.ConditionalModelToSql(hw);
629629
//tb.Having(d.Key, d.Value);
630630
tb.Having(string.Join(",",havingItems));
631631
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp