重组项目依赖

This commit is contained in:
李鹏军 2024-03-01 09:48:49 +08:00
parent 4c7a94bfff
commit 0763cbf263
8 changed files with 15 additions and 10 deletions

View File

@ -0,0 +1,2 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/UserDictionary/Words/=SJZY/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>

View File

@ -17,15 +17,16 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="SJZY.Expand.AliyunOSS" Version="7.0.10" /> <PackageReference Include="SJZY.Expand.AliyunOSS" Version="7.0.10"/>
<PackageReference Include="SJZY.Expand.Excel" Version="7.0.5" /> <PackageReference Include="SJZY.Expand.Excel" Version="7.0.5"/>
<PackageReference Include="Volo.Abp.Http.Client" Version="7.0.2" /> <PackageReference Include="Volo.Abp.Http.Client" Version="7.0.2"/>
<PackageReference Include="Volo.Abp.FluentValidation" Version="7.0.2" /> <PackageReference Include="Volo.Abp.FluentValidation" Version="7.0.2"/>
<PackageReference Include="SJZY.UserCenter.HttpApi" Version="3.0.3-alpha8"/>
<PackageReference Include="SJZY.Expand.CAP" Version="7.8.0"/>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\SJZY.Track.Domain\SJZY.Track.Domain.csproj" /> <ProjectReference Include="..\SJZY.Track.Domain\SJZY.Track.Domain.csproj" />
<ProjectReference Include="..\SJZY.Track.HttpApi\SJZY.Track.HttpApi.csproj" /> <ProjectReference Include="..\SJZY.Track.HttpApi\SJZY.Track.HttpApi.csproj" />
<ProjectReference Include="..\SJZY.Track.Infrastructure\SJZY.Track.Infrastructure.csproj"/>
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -1,6 +1,6 @@
using System.ComponentModel; using System.ComponentModel;
namespace SJZY.Track.Infrastructure.Enum; namespace SJZY.Track.Domain.Enums;
/// <summary> /// <summary>
/// 枚举属性 /// 枚举属性

View File

@ -35,7 +35,7 @@ public interface IBasicRepository<T> : IBasicQuery<T> where T : IAggregateRoot
/// <param name="entities"></param> /// <param name="entities"></param>
/// <param name="updateColumns">要更新的列</param> /// <param name="updateColumns">要更新的列</param>
/// <returns></returns> /// <returns></returns>
Task<bool> UpdateRangeAsync(List<T> entities, Expression<Func<T, object>> updateColumns = null); Task<bool> UpdateRangeAsync(List<T> entities, Expression<Func<T, object>>? updateColumns = null);
/// <summary> /// <summary>
/// 软删 /// 软删

View File

@ -2,7 +2,7 @@
using SJZY.Track.Domain.Queries; using SJZY.Track.Domain.Queries;
using SJZY.Track.Domain.SeedWork; using SJZY.Track.Domain.SeedWork;
namespace SJZY.Track.Infrastructure; namespace SJZY.Track.Infrastructure.Queries;
#pragma warning disable CS8613 #pragma warning disable CS8613
public class BasicQuery<T> : SimpleClient<T>, IBasicQuery<T> where T : class, IEntity, new() public class BasicQuery<T> : SimpleClient<T>, IBasicQuery<T> where T : class, IEntity, new()

View File

@ -1,6 +1,7 @@
using System.Linq.Expressions; using System.Linq.Expressions;
using SJZY.Track.Domain; using SJZY.Track.Domain;
using SJZY.Track.Domain.SeedWork; using SJZY.Track.Domain.SeedWork;
using SJZY.Track.Infrastructure.Queries;
using Volo.Abp; using Volo.Abp;
namespace SJZY.Track.Infrastructure.Repositories; namespace SJZY.Track.Infrastructure.Repositories;
@ -32,7 +33,7 @@ public class BasicRepository<T> : BasicQuery<T>, IBasicRepository<T> where T : c
.ExecuteCommandHasChangeAsync(); .ExecuteCommandHasChangeAsync();
} }
public async Task<bool> UpdateRangeAsync(List<T> entities, Expression<Func<T, object>> columns = null) public async Task<bool> UpdateRangeAsync(List<T> entities, Expression<Func<T, object>>? columns = null)
{ {
return await Context.Updateable(entities) return await Context.Updateable(entities)
.UpdateColumnsIF(columns != null, columns) .UpdateColumnsIF(columns != null, columns)

View File

@ -5,8 +5,8 @@ using SJZY.Track.Domain.Aggregates.TrackFlagAggregate;
using SJZY.Track.Domain.Aggregates.TrackStatusAggregate; using SJZY.Track.Domain.Aggregates.TrackStatusAggregate;
using SJZY.Track.Domain.Aggregates.TrackTemplateAggregate; using SJZY.Track.Domain.Aggregates.TrackTemplateAggregate;
using SJZY.Track.Domain.Dtos.TrackTemplate; using SJZY.Track.Domain.Dtos.TrackTemplate;
using SJZY.Track.Domain.Enums;
using SJZY.Track.Domain.VEntities; using SJZY.Track.Domain.VEntities;
using SJZY.Track.Infrastructure.Enum;
namespace SJZY.Track.Infrastructure.Repositories; namespace SJZY.Track.Infrastructure.Repositories;

View File

@ -4,6 +4,7 @@ using SJZY.Expand.ABP.Core.SqlSugar.Options;
using SJZY.Expand.ElasticSearch; using SJZY.Expand.ElasticSearch;
using SJZY.Track.Domain; using SJZY.Track.Domain;
using SJZY.Track.Domain.Queries; using SJZY.Track.Domain.Queries;
using SJZY.Track.Infrastructure.Queries;
using SJZY.Track.Infrastructure.Repositories; using SJZY.Track.Infrastructure.Repositories;
using Volo.Abp.Autofac; using Volo.Abp.Autofac;
using Volo.Abp.Modularity; using Volo.Abp.Modularity;