添加字段

This commit is contained in:
he
2025-08-07 11:46:26 +08:00
parent a267bc13b4
commit 90671b2c34
10 changed files with 20009 additions and 10 deletions
@@ -88,7 +88,10 @@ namespace IRaCIS.Application.Contracts
public bool IsDeleted { get; set; }
}
public class GetVisitStageInDto
{
public Guid TrialId { get; set; } = Guid.Empty;
}
public class VisitPlanQueryDTO : PageInput
{
public Guid TrialId { get; set; } = Guid.Empty;
@@ -1,4 +1,5 @@
using IRaCIS.Application.Contracts;
using DocumentFormat.OpenXml.Office2010.ExcelAc;
using IRaCIS.Application.Contracts;
using IRaCIS.Application.Interfaces;
using IRaCIS.Core.Application.Filter;
using IRaCIS.Core.Domain.Share;
@@ -18,7 +19,18 @@ namespace IRaCIS.Core.Application.Service
IRepository<VisitPlanInfluenceStat> _visitPlanInfluenceStatRepository, IMapper _mapper, IUserInfo _userInfo, IStringLocalizer _localizer) : BaseService, IVisitPlanService
{
/// <summary>
/// 获取项目访视计划
/// </summary>
/// <param name="inDto"></param>
/// <returns></returns>
[HttpPost]
public async Task<List<VisitStageDTO>> GetVisitStage(GetVisitStageInDto inDto)
{
var visitStageList = await _visitStageRepository.Where(x => x.TrialId == inDto.TrialId).ProjectTo<VisitStageDTO>(_mapper.ConfigurationProvider).OrderBy(x => x.VisitNum).ToListAsync(); ;
return visitStageList;
}
///暂时不用
/// <summary> 获取项目访视计划</summary>