Commit 4214d251 by Neo Turing

优化

parent 92f1a9b9
......@@ -31,14 +31,14 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Kivii.Common.V4.5, Version=5.6.2024.1160, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Kivii.Common.5.6.2024.1160\lib\net45\Kivii.Common.V4.5.dll</HintPath>
<Reference Include="Kivii.Common.V4.5, Version=5.6.2024.11000, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Kivii.Common.5.6.2024.11000\lib\net45\Kivii.Common.V4.5.dll</HintPath>
</Reference>
<Reference Include="Kivii.Core.V4.5, Version=5.6.2023.9000, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Kivii.Core.5.6.2023.9000\lib\net45\Kivii.Core.V4.5.dll</HintPath>
<Reference Include="Kivii.Core.V4.5, Version=5.6.2024.11000, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Kivii.Core.5.6.2024.11000\lib\net45\Kivii.Core.V4.5.dll</HintPath>
</Reference>
<Reference Include="Kivii.Linq.V4.5, Version=5.6.2024.2000, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Kivii.Linq.5.6.2024.2000\lib\net45\Kivii.Linq.V4.5.dll</HintPath>
<Reference Include="Kivii.Linq.V4.5, Version=5.6.2024.11000, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Kivii.Linq.5.6.2024.11000\lib\net45\Kivii.Linq.V4.5.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
......
......@@ -37,5 +37,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.4.2025.4210")]
[assembly: AssemblyFileVersion("5.4.2025.4210")]
[assembly: AssemblyVersion("5.4.2025.4250")]
[assembly: AssemblyFileVersion("5.4.2025.4250")]
......@@ -438,7 +438,7 @@ namespace Kivii.Samples.Transforms
if (BizKvid != Guid.Empty)
{
var queryRootSample = conn.From<Sample>();
queryRootSample.Where(o => o.BizKvid == BizKvid);
queryRootSample.Where(o => o.BizKvid == BizKvid && o.Type == SampleType.Node);
rootSample = conn.Single(queryRootSample);
if (rootSample != null)
{
......@@ -454,7 +454,7 @@ namespace Kivii.Samples.Transforms
if (tidKvid != Guid.Empty)
{
var queryRootSample = conn.From<Sample>();
queryRootSample.Where(o => o.BizKvid == tidKvid);
queryRootSample.Where(o => o.BizKvid == tidKvid && o.Type == SampleType.Node);
rootSample = conn.Single(queryRootSample);
if (rootSample != null)
{
......@@ -466,7 +466,7 @@ namespace Kivii.Samples.Transforms
else if (!BizId.IsNullOrEmpty())
{
var queryRootSample = conn.From<Sample>();
queryRootSample.Where(o => o.BizId == BizId);
queryRootSample.Where(o => o.BizId == BizId && o.Type == SampleType.Node);
queryRootSample.OrderBy(o => o.CreateTime);
rootSample = conn.Single(queryRootSample);
//var querySampleRootKvid = conn.From<Sample>();
......
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Kivii.Common" version="5.6.2024.1160" targetFramework="net45" />
<package id="Kivii.Core" version="5.6.2023.9000" targetFramework="net45" />
<package id="Kivii.Linq" version="5.6.2024.2000" targetFramework="net45" />
<package id="Kivii.Common" version="5.6.2024.11000" targetFramework="net45" />
<package id="Kivii.Core" version="5.6.2024.11000" targetFramework="net45" />
<package id="Kivii.Linq" version="5.6.2024.11000" targetFramework="net45" />
</packages>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment