添加项目文件。
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using IRaCIS.Core.Application.Contracts;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using IRaCIS.Core.Infra.EFCore;
|
||||
|
||||
namespace IRaCIS.Application.Interfaces
|
||||
{
|
||||
public interface ITrialConfigService
|
||||
{
|
||||
|
||||
Task<TrialConfigDTO> GetTrialConfigInfo(Guid trialId);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
//--------------------------------------------------------------------
|
||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||
// 生成时间 2022-03-04 13:33:52
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||
//--------------------------------------------------------------------
|
||||
|
||||
using IRaCIS.Core.Application.ViewModel;
|
||||
namespace IRaCIS.Core.Application.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// ITrialExternalUserService
|
||||
/// </summary>
|
||||
public interface ITrialExternalUserService
|
||||
{
|
||||
|
||||
|
||||
Task<List<TrialExternalUserView>> GetTrialExternalUserList(TrialExternalUserQuery queryTrialExternalUser);
|
||||
|
||||
Task<IResponseOutput> AddOrUpdateTrialExternalUser(TrialExternalUserAddOrEdit addOrEditTrialExternalUser);
|
||||
|
||||
Task<IResponseOutput> DeleteTrialExternalUser(Guid trialExternalUserId, bool isSystemUser,
|
||||
Guid systemUserId);
|
||||
|
||||
Task<IResponseOutput> UserConfirmJoinTrial(Guid trialId, Guid trialExternalUserId);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using IRaCIS.Application.Contracts;
|
||||
using IRaCIS.Core.Application.Contracts.DTO;
|
||||
|
||||
namespace IRaCIS.Application.Interfaces
|
||||
{
|
||||
public interface ITrialMaintenanceService
|
||||
{
|
||||
Task<IResponseOutput> AddTrialUsers(TrialUserAddCommand[] userTrialCommands);
|
||||
Task<IResponseOutput> DeleteMaintenanceUser(Guid id, bool isDelete);
|
||||
Task<PageOutput<TrialMaintenanceDTO>> GetMaintenanceUserList(TrialMaintenanceQuery param);
|
||||
Task<PageOutput<AssginSiteCRCListDTO>> GetSiteCRCScreeningList(SiteCRCQuery param);
|
||||
Task<PageOutput<TrialUserScreeningDTO>> GetTrialUserScreeningList(TrialUserQuery trialUserQuery);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
using IRaCIS.Application.Contracts;
|
||||
|
||||
namespace IRaCIS.Application.Interfaces
|
||||
{
|
||||
|
||||
public interface ITrialService
|
||||
{
|
||||
bool TrialExpeditedChange { get; set; }
|
||||
|
||||
Task<IResponseOutput> AddOrUpdateTrial(TrialCommand trialAddModel);
|
||||
Task<IResponseOutput> UpdateTrialStatus(Guid trialId, string statusStr);
|
||||
|
||||
Task<IResponseOutput> ConfirmTrialVisitPlan(Guid trialId, bool confirmOrCancel = true);
|
||||
Task<IResponseOutput> DeleteTrial(Guid trialId);
|
||||
Task<PageOutput<TrialDetailDTO>> GetReviewerTrialListByEnrollmentStatus(TrialByStatusQueryDTO param);
|
||||
Task<List<Guid>> GetTrialEnrollmentReviewerIds(Guid trialId);
|
||||
Task<int> GetTrialExpeditedState(Guid trialId);
|
||||
Task<TrialDetailDTO> GetTrialInfoAndLockState(Guid projectId);
|
||||
Task<TrialAndTrialStateVieModel> GetTrialInfoAndMaxTrialState(Guid trialId);
|
||||
Task<PageOutput<TrialDetailDTO>> GetTrialList(TrialQueryDTO searchParam);
|
||||
Task<PageOutput<TrialDetailDTO>> GetTrialListByReviewer(ReviewerTrialQueryDTO searchModel);
|
||||
Task<int> GetTrialMaxState(Guid trialId);
|
||||
Task<IResponseOutput> UpdateEnrollStatus(Guid trialId, int status);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
using IRaCIS.Application.Contracts;
|
||||
using IRaCIS.Core.Application.Contracts;
|
||||
using IRaCIS.Core.Application.Contracts.DTO;
|
||||
|
||||
namespace IRaCIS.Core.Application.Interfaces
|
||||
{
|
||||
public interface ITrialSiteService
|
||||
{
|
||||
Task<IResponseOutput> AddTrialSites(List<TrialSiteCommand> trialSites);
|
||||
Task<IResponseOutput> AssignSiteCRC(List<AssginSiteCRCCommand> trialSiteCRCList);
|
||||
Task<IResponseOutput> DeleteSiteCRC(Guid id, bool isDelete);
|
||||
Task<IResponseOutput> DeleteTrialSite(Guid id);
|
||||
Task<IResponseOutput> EditTrialSite(Guid id, Guid trialId, string trialSiteCode, string? trialSiteAliasName);
|
||||
Task<PageOutput<SiteStatDTO>> GetSiteCRCList(SiteCrcQueryDTO param);
|
||||
Task<PageOutput<SiteStatSimpleDTO>> GetSiteCRCSimpleList(SiteCrcQueryDTO param);
|
||||
Task<PageOutput<TrialSiteScreeningDTO>> GetTrialSiteScreeningList(TrialSiteQuery trialSiteQuery);
|
||||
Task<IEnumerable<TrialSiteForSelect>> GetTrialSiteSelect(Guid trialId);
|
||||
}
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
//--------------------------------------------------------------------
|
||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||
// 生成时间 2022-03-24 13:22:50
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||
//--------------------------------------------------------------------
|
||||
|
||||
using IRaCIS.Core.Application.ViewModel;
|
||||
namespace IRaCIS.Core.Application.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// ITrialUserPreparation Service
|
||||
/// </summary>
|
||||
public interface ITrialUserPreparationService
|
||||
{
|
||||
|
||||
|
||||
Task<List<TrialUserPreparationView>> GetTrialUserPreparationList(TrialUserPreparationQuery queryTrialUserPreparation );
|
||||
|
||||
|
||||
|
||||
//Task<IResponseOutput> AddOrUpdateTrialUserPreparation (TrialUserPreparationAddOrEdit addOrEditTrialUserPreparation );
|
||||
|
||||
//Task<IResponseOutput> DeleteTrialUserPreparation (Guid trialUserPreparationId);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user