重组项目依赖
This commit is contained in:
parent
4c7a94bfff
commit
0763cbf263
2
SJZY.Track.Api.sln.DotSettings
Normal file
2
SJZY.Track.Api.sln.DotSettings
Normal 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>
|
||||
@ -17,15 +17,16 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="SJZY.Expand.AliyunOSS" Version="7.0.10" />
|
||||
<PackageReference Include="SJZY.Expand.Excel" Version="7.0.5" />
|
||||
<PackageReference Include="Volo.Abp.Http.Client" Version="7.0.2" />
|
||||
<PackageReference Include="Volo.Abp.FluentValidation" Version="7.0.2" />
|
||||
<PackageReference Include="SJZY.Expand.AliyunOSS" Version="7.0.10"/>
|
||||
<PackageReference Include="SJZY.Expand.Excel" Version="7.0.5"/>
|
||||
<PackageReference Include="Volo.Abp.Http.Client" 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>
|
||||
<ProjectReference Include="..\SJZY.Track.Domain\SJZY.Track.Domain.csproj" />
|
||||
<ProjectReference Include="..\SJZY.Track.HttpApi\SJZY.Track.HttpApi.csproj" />
|
||||
<ProjectReference Include="..\SJZY.Track.Infrastructure\SJZY.Track.Infrastructure.csproj"/>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace SJZY.Track.Infrastructure.Enum;
|
||||
namespace SJZY.Track.Domain.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// 枚举属性
|
||||
@ -35,7 +35,7 @@ public interface IBasicRepository<T> : IBasicQuery<T> where T : IAggregateRoot
|
||||
/// <param name="entities"></param>
|
||||
/// <param name="updateColumns">要更新的列</param>
|
||||
/// <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>
|
||||
/// 软删
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
using SJZY.Track.Domain.Queries;
|
||||
using SJZY.Track.Domain.SeedWork;
|
||||
|
||||
namespace SJZY.Track.Infrastructure;
|
||||
namespace SJZY.Track.Infrastructure.Queries;
|
||||
|
||||
#pragma warning disable CS8613
|
||||
public class BasicQuery<T> : SimpleClient<T>, IBasicQuery<T> where T : class, IEntity, new()
|
||||
@ -1,6 +1,7 @@
|
||||
using System.Linq.Expressions;
|
||||
using SJZY.Track.Domain;
|
||||
using SJZY.Track.Domain.SeedWork;
|
||||
using SJZY.Track.Infrastructure.Queries;
|
||||
using Volo.Abp;
|
||||
|
||||
namespace SJZY.Track.Infrastructure.Repositories;
|
||||
@ -32,7 +33,7 @@ public class BasicRepository<T> : BasicQuery<T>, IBasicRepository<T> where T : c
|
||||
.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)
|
||||
.UpdateColumnsIF(columns != null, columns)
|
||||
|
||||
@ -5,8 +5,8 @@ using SJZY.Track.Domain.Aggregates.TrackFlagAggregate;
|
||||
using SJZY.Track.Domain.Aggregates.TrackStatusAggregate;
|
||||
using SJZY.Track.Domain.Aggregates.TrackTemplateAggregate;
|
||||
using SJZY.Track.Domain.Dtos.TrackTemplate;
|
||||
using SJZY.Track.Domain.Enums;
|
||||
using SJZY.Track.Domain.VEntities;
|
||||
using SJZY.Track.Infrastructure.Enum;
|
||||
|
||||
namespace SJZY.Track.Infrastructure.Repositories;
|
||||
|
||||
|
||||
@ -4,6 +4,7 @@ using SJZY.Expand.ABP.Core.SqlSugar.Options;
|
||||
using SJZY.Expand.ElasticSearch;
|
||||
using SJZY.Track.Domain;
|
||||
using SJZY.Track.Domain.Queries;
|
||||
using SJZY.Track.Infrastructure.Queries;
|
||||
using SJZY.Track.Infrastructure.Repositories;
|
||||
using Volo.Abp.Autofac;
|
||||
using Volo.Abp.Modularity;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user