Merge branch 'Test_IRC_Net8' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
a9c80a670b
|
|
@ -26,7 +26,9 @@ public class UserAgreementAddOrEdit
|
||||||
public DateTime EffectiveDate { get; set; }
|
public DateTime EffectiveDate { get; set; }
|
||||||
|
|
||||||
public string FileContent { get; set; }
|
public string FileContent { get; set; }
|
||||||
|
|
||||||
|
public string FileEnContent { get; set; }
|
||||||
|
|
||||||
public string FileName { get; set; }
|
public string FileName { get; set; }
|
||||||
|
|
||||||
public string FileVersion { get; set; }
|
public string FileVersion { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -1120,7 +1120,8 @@ namespace IRaCIS.Core.Application.Service
|
||||||
{
|
{
|
||||||
UserAgreementTypeEnum = UserAgreementType.UserAgreement,
|
UserAgreementTypeEnum = UserAgreementType.UserAgreement,
|
||||||
FileVersion=userAgreement.FileVersion,
|
FileVersion=userAgreement.FileVersion,
|
||||||
UserAgreementId=userAgreement.Id
|
UserAgreementId=userAgreement.Id,
|
||||||
|
IsEn_Us= _userInfo.IsEn_Us,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1350,6 +1350,10 @@ namespace IRaCIS.Core.Application.Service
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
var isHaveBindingQuestion=(await _readingQuestionTrialRepository.AnyAsync(x=>x.ReadingQuestionCriterionTrialId==taskInfo.TrialReadingCriterionId&&x.ImageToolAttribute!=string.Empty))
|
||||||
|
|
||||||
|
|| (await _readingTableQuestionTrialRepository.AnyAsync(x=>x.ReadingQuestionTrial.ReadingQuestionCriterionTrialId == taskInfo.TrialReadingCriterionId && x.ImageToolAttribute != string.Empty));
|
||||||
|
|
||||||
return (await GetReadingTableQuestion(
|
return (await GetReadingTableQuestion(
|
||||||
new GetReadingTableQuestionOrAnswerInDto()
|
new GetReadingTableQuestionOrAnswerInDto()
|
||||||
{
|
{
|
||||||
|
|
@ -1364,6 +1368,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
}
|
}
|
||||||
), new
|
), new
|
||||||
{
|
{
|
||||||
|
IsHaveBindingQuestion= isHaveBindingQuestion,
|
||||||
IsBaseline = taskInfo.SourceSubjectVisit != null && taskInfo.SourceSubjectVisit.IsBaseLine,
|
IsBaseline = taskInfo.SourceSubjectVisit != null && taskInfo.SourceSubjectVisit.IsBaseLine,
|
||||||
ReadingTaskState = taskInfo.ReadingTaskState,
|
ReadingTaskState = taskInfo.ReadingTaskState,
|
||||||
QuestionMarkInfoList = tableQuestionMarkList,
|
QuestionMarkInfoList = tableQuestionMarkList,
|
||||||
|
|
|
||||||
|
|
@ -291,12 +291,14 @@ namespace IRaCIS.Core.Application.Service
|
||||||
public async Task<IResponseOutput> AddNoneDicomMark(AddNoneDicomMarkInDto inDto)
|
public async Task<IResponseOutput> AddNoneDicomMark(AddNoneDicomMarkInDto inDto)
|
||||||
{
|
{
|
||||||
|
|
||||||
var entity = await _readingNoneDicomMarkRepository.InsertOrUpdateAsync(inDto, true);
|
var entity = await _readingNoneDicomMarkRepository.InsertOrUpdateAsync(inDto,true);
|
||||||
|
|
||||||
if (inDto.Proportion != null)
|
if (inDto.Proportion != null)
|
||||||
{
|
{
|
||||||
await this.ChangePlottingScale(entity.Id, inDto.Proportion.Value);
|
await this.ChangePlottingScale(entity.Id, inDto.Proportion.Value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await _visitTaskRepository.SaveChangesAsync();
|
||||||
return ResponseOutput.Ok(entity.Id);
|
return ResponseOutput.Ok(entity.Id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,12 @@ public class UserAgreement : BaseFullAuditEntity
|
||||||
[MaxLength]
|
[MaxLength]
|
||||||
public string FileContent { get; set; } = string.Empty;
|
public string FileContent { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 文件内容
|
||||||
|
/// </summary>
|
||||||
|
[MaxLength]
|
||||||
|
public string FileEnContent { get; set; } = string.Empty;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 更新日期
|
/// 更新日期
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
20816
IRaCIS.Core.Infra.EFCore/Migrations/20251024024237_FileEnContent.Designer.cs
generated
Normal file
20816
IRaCIS.Core.Infra.EFCore/Migrations/20251024024237_FileEnContent.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,53 @@
|
||||||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||||||
|
|
||||||
|
#nullable disable
|
||||||
|
|
||||||
|
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
public partial class FileEnContent : Migration
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.DropForeignKey(
|
||||||
|
name: "FK_ReadingNoneDicomMarkBinding_NoneDicomStudy_NoneDicomMarkId",
|
||||||
|
table: "ReadingNoneDicomMarkBinding");
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "FileEnContent",
|
||||||
|
table: "UserAgreement",
|
||||||
|
type: "nvarchar(max)",
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: "");
|
||||||
|
|
||||||
|
migrationBuilder.AddForeignKey(
|
||||||
|
name: "FK_ReadingNoneDicomMarkBinding_ReadingNoneDicomMark_NoneDicomMarkId",
|
||||||
|
table: "ReadingNoneDicomMarkBinding",
|
||||||
|
column: "NoneDicomMarkId",
|
||||||
|
principalTable: "ReadingNoneDicomMark",
|
||||||
|
principalColumn: "Id",
|
||||||
|
onDelete: ReferentialAction.Cascade);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.DropForeignKey(
|
||||||
|
name: "FK_ReadingNoneDicomMarkBinding_ReadingNoneDicomMark_NoneDicomMarkId",
|
||||||
|
table: "ReadingNoneDicomMarkBinding");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "FileEnContent",
|
||||||
|
table: "UserAgreement");
|
||||||
|
|
||||||
|
migrationBuilder.AddForeignKey(
|
||||||
|
name: "FK_ReadingNoneDicomMarkBinding_NoneDicomStudy_NoneDicomMarkId",
|
||||||
|
table: "ReadingNoneDicomMarkBinding",
|
||||||
|
column: "NoneDicomMarkId",
|
||||||
|
principalTable: "NoneDicomStudy",
|
||||||
|
principalColumn: "Id",
|
||||||
|
onDelete: ReferentialAction.Cascade);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -14620,6 +14620,10 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasColumnType("nvarchar(max)");
|
.HasColumnType("nvarchar(max)");
|
||||||
|
|
||||||
|
b.Property<string>("FileEnContent")
|
||||||
|
.IsRequired()
|
||||||
|
.HasColumnType("nvarchar(max)");
|
||||||
|
|
||||||
b.Property<string>("FileName")
|
b.Property<string>("FileName")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasMaxLength(400)
|
.HasMaxLength(400)
|
||||||
|
|
@ -17355,7 +17359,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
.OnDelete(DeleteBehavior.Cascade)
|
.OnDelete(DeleteBehavior.Cascade)
|
||||||
.IsRequired();
|
.IsRequired();
|
||||||
|
|
||||||
b.HasOne("IRaCIS.Core.Domain.Models.NoneDicomStudy", "NoneDicomStudy")
|
b.HasOne("IRaCIS.Core.Domain.Models.ReadingNoneDicomMark", "ReadingNoneDicomMark")
|
||||||
.WithMany()
|
.WithMany()
|
||||||
.HasForeignKey("NoneDicomMarkId")
|
.HasForeignKey("NoneDicomMarkId")
|
||||||
.OnDelete(DeleteBehavior.Cascade)
|
.OnDelete(DeleteBehavior.Cascade)
|
||||||
|
|
@ -17363,7 +17367,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
|
|
||||||
b.Navigation("CreateUserRole");
|
b.Navigation("CreateUserRole");
|
||||||
|
|
||||||
b.Navigation("NoneDicomStudy");
|
b.Navigation("ReadingNoneDicomMark");
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("IRaCIS.Core.Domain.Models.ReadingOncologyTaskInfo", b =>
|
modelBuilder.Entity("IRaCIS.Core.Domain.Models.ReadingOncologyTaskInfo", b =>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue