Compare commits
No commits in common. "9a40cf66cc9eabcec02ceae6765c37a8e4cd7903" and "24261a3dcb51e5fcafd9bc0d33496c2af7803fe3" have entirely different histories.
9a40cf66cc
...
24261a3dcb
|
|
@ -15273,13 +15273,6 @@
|
||||||
<param name="segmentationId"></param>
|
<param name="segmentationId"></param>
|
||||||
<returns></returns>
|
<returns></returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:IRaCIS.Core.Application.Service.SegmentationService.ChangeSegmentationSavedStatus(IRaCIS.Core.Application.ViewModel.ChangeSegmentationSavedStatusInDto)">
|
|
||||||
<summary>
|
|
||||||
修改分割组的保存状态
|
|
||||||
</summary>
|
|
||||||
<param name="inDto"></param>
|
|
||||||
<returns></returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:IRaCIS.Core.Application.Service.SegmentationService.GetSegmentList(IRaCIS.Core.Application.ViewModel.SegmentQuery)">
|
<member name="M:IRaCIS.Core.Application.Service.SegmentationService.GetSegmentList(IRaCIS.Core.Application.ViewModel.SegmentQuery)">
|
||||||
<summary>
|
<summary>
|
||||||
获取分割
|
获取分割
|
||||||
|
|
@ -17057,17 +17050,17 @@
|
||||||
</member>
|
</member>
|
||||||
<member name="F:IRaCIS.Core.Application.ViewModel.AccessToDialogueEnum.Question">
|
<member name="F:IRaCIS.Core.Application.ViewModel.AccessToDialogueEnum.Question">
|
||||||
<summary>
|
<summary>
|
||||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
质疑
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="F:IRaCIS.Core.Application.ViewModel.AccessToDialogueEnum.Consistency">
|
<member name="F:IRaCIS.Core.Application.ViewModel.AccessToDialogueEnum.Consistency">
|
||||||
<summary>
|
<summary>
|
||||||
һ<EFBFBD><EFBFBD><EFBFBD>Ժ˲<EFBFBD>
|
一致性核查
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="T:IRaCIS.Core.Application.ViewModel.CopyFrontAuditConfigItemDto">
|
<member name="T:IRaCIS.Core.Application.ViewModel.CopyFrontAuditConfigItemDto">
|
||||||
<summary>
|
<summary>
|
||||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
复制
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="T:IRaCIS.Core.Application.ViewModel.SystemNoticeView">
|
<member name="T:IRaCIS.Core.Application.ViewModel.SystemNoticeView">
|
||||||
|
|
@ -17845,16 +17838,6 @@
|
||||||
任务类型
|
任务类型
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:IRaCIS.Core.Application.ViewModel.ChangeSegmentationSavedStatusInDto.IsSaved">
|
|
||||||
<summary>
|
|
||||||
是否保存
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:IRaCIS.Core.Application.ViewModel.SegmentationAddOrEdit.IsSaved">
|
|
||||||
<summary>
|
|
||||||
是否保存
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:IRaCIS.Core.Application.ViewModel.SegmentBindingView.SegmentationName">
|
<member name="P:IRaCIS.Core.Application.ViewModel.SegmentBindingView.SegmentationName">
|
||||||
<summary>
|
<summary>
|
||||||
分割分组名称
|
分割分组名称
|
||||||
|
|
|
||||||
|
|
@ -19,16 +19,6 @@ public class SegmentationView : SegmentationAddOrEdit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public class ChangeSegmentationSavedStatusInDto
|
|
||||||
{
|
|
||||||
public Guid Id { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否保存
|
|
||||||
/// </summary>
|
|
||||||
public bool IsSaved { get; set; } = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
public class SegmentationAddOrEdit
|
public class SegmentationAddOrEdit
|
||||||
{
|
{
|
||||||
public Guid? Id { get; set; }
|
public Guid? Id { get; set; }
|
||||||
|
|
@ -50,12 +40,7 @@ public class SegmentationAddOrEdit
|
||||||
public Guid TrialId { get; set; }
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
public Guid VisitTaskId { get; set; }
|
public Guid VisitTaskId { get; set; }
|
||||||
|
}
|
||||||
/// <summary>
|
|
||||||
/// 是否保存
|
|
||||||
/// </summary>
|
|
||||||
public bool IsSaved { get; set; } = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
public class SegmentationQuery:PageInput
|
public class SegmentationQuery:PageInput
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -93,23 +93,6 @@ public class SegmentationService(IRepository<Segmentation> _segmentationReposito
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 修改分割组的保存状态
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="inDto"></param>
|
|
||||||
/// <returns></returns>
|
|
||||||
[HttpPost]
|
|
||||||
public async Task<IResponseOutput> ChangeSegmentationSavedStatus(ChangeSegmentationSavedStatusInDto inDto)
|
|
||||||
{
|
|
||||||
await _segmentationRepository.UpdatePartialFromQueryAsync(x => x.Id == inDto.Id, t => new Segmentation
|
|
||||||
{
|
|
||||||
IsSaved = inDto.IsSaved
|
|
||||||
});
|
|
||||||
await _segmentationRepository.SaveChangesAsync();
|
|
||||||
return ResponseOutput.Ok();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取分割
|
/// 获取分割
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
|
|
@ -55,10 +55,5 @@ public class Segmentation : BaseFullDeleteAuditEntity
|
||||||
[MaxLength]
|
[MaxLength]
|
||||||
public string SEGUrl { get; set; } = string.Empty;
|
public string SEGUrl { get; set; } = string.Empty;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否保存
|
|
||||||
/// </summary>
|
|
||||||
public bool IsSaved { get; set; } = false;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,38 +0,0 @@
|
||||||
using Microsoft.EntityFrameworkCore.Migrations;
|
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|
||||||
{
|
|
||||||
/// <inheritdoc />
|
|
||||||
public partial class SegmentationSaved : Migration
|
|
||||||
{
|
|
||||||
/// <inheritdoc />
|
|
||||||
protected override void Up(MigrationBuilder migrationBuilder)
|
|
||||||
{
|
|
||||||
migrationBuilder.AddColumn<bool>(
|
|
||||||
name: "IsSaved",
|
|
||||||
table: "Segmentation",
|
|
||||||
type: "bit",
|
|
||||||
nullable: false,
|
|
||||||
defaultValue: false);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <inheritdoc />
|
|
||||||
protected override void Down(MigrationBuilder migrationBuilder)
|
|
||||||
{
|
|
||||||
migrationBuilder.DropForeignKey(
|
|
||||||
name: "FK_SegmentBinding_Segment_SegmentId",
|
|
||||||
table: "SegmentBinding");
|
|
||||||
|
|
||||||
migrationBuilder.DropForeignKey(
|
|
||||||
name: "FK_SegmentBinding_Segmentation_SegmentationId",
|
|
||||||
table: "SegmentBinding");
|
|
||||||
|
|
||||||
migrationBuilder.DropColumn(
|
|
||||||
name: "IsSaved",
|
|
||||||
table: "Segmentation");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -9402,9 +9402,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.HasColumnType("bit");
|
.HasColumnType("bit");
|
||||||
|
|
||||||
b.Property<bool>("IsSaved")
|
|
||||||
.HasColumnType("bit");
|
|
||||||
|
|
||||||
b.Property<string>("SEGUrl")
|
b.Property<string>("SEGUrl")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasColumnType("nvarchar(max)");
|
.HasColumnType("nvarchar(max)");
|
||||||
|
|
@ -19100,23 +19097,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
.OnDelete(DeleteBehavior.Cascade)
|
.OnDelete(DeleteBehavior.Cascade)
|
||||||
.IsRequired();
|
.IsRequired();
|
||||||
|
|
||||||
b.HasOne("IRaCIS.Core.Domain.Models.Segment", "Segment")
|
|
||||||
.WithMany()
|
|
||||||
.HasForeignKey("SegmentId")
|
|
||||||
.OnDelete(DeleteBehavior.Cascade)
|
|
||||||
.IsRequired();
|
|
||||||
|
|
||||||
b.HasOne("IRaCIS.Core.Domain.Models.Segmentation", "Segmentation")
|
|
||||||
.WithMany()
|
|
||||||
.HasForeignKey("SegmentationId")
|
|
||||||
.OnDelete(DeleteBehavior.Cascade)
|
|
||||||
.IsRequired();
|
|
||||||
|
|
||||||
b.Navigation("CreateUserRole");
|
b.Navigation("CreateUserRole");
|
||||||
|
|
||||||
b.Navigation("Segment");
|
|
||||||
|
|
||||||
b.Navigation("Segmentation");
|
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("IRaCIS.Core.Domain.Models.Segmentation", b =>
|
modelBuilder.Entity("IRaCIS.Core.Domain.Models.Segmentation", b =>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue