Compare commits

..

No commits in common. "2208e1dbe5a098ed69f9fa74d2eb5d76dac6367c" and "08f4a0877b8929dafdb8b718f6f71d156738ce8e" have entirely different histories.

11 changed files with 5 additions and 18117 deletions

View File

@ -90,7 +90,7 @@ public class UrgentMedicalReviewAddedEventConsumer(
{ {
var topicStr = string.Format(input.topicStr, companyName, trialInfo.ResearchProgramNo); var topicStr = string.Format(input.topicStr, companyName, trialInfo.ResearchProgramNo);
var htmlBodyStr = string.Format( var htmlBodyStr = string.Format(
CommonEmailHelper.ReplaceCompanyName(_systemEmailConfig, input.htmlBodyStr), CommonEmailHelper.ReplaceCompanyName(_systemEmailConfig, input.htmlBodyStr),
userinfo.FullName, // 用户名 userinfo.FullName, // 用户名
trialInfo.ExperimentName, // 项目 trialInfo.ExperimentName, // 项目
criterion.CriterionName, // 阅片标准 criterion.CriterionName, // 阅片标准
@ -105,7 +105,7 @@ public class UrgentMedicalReviewAddedEventConsumer(
return (topicStr, htmlBodyStr); return (topicStr, htmlBodyStr);
}; };
await CommonEmailHelper.GetEmailSubejctAndHtmlInfoAndBuildAsync(_emailNoticeConfigrepository, EmailBusinessScenario.EligibilityVerification_MedicalQC, messageToSend, emailConfigFunc); await CommonEmailHelper.GetEmailSubejctAndHtmlInfoAndBuildAsync(_emailNoticeConfigrepository, EmailBusinessScenario.SiteSurveyReject, messageToSend, emailConfigFunc);
await SendEmailHelper.SendEmailAsync(messageToSend, _systemEmailConfig); await SendEmailHelper.SendEmailAsync(messageToSend, _systemEmailConfig);
} }

View File

@ -318,11 +318,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public class ReadingTableQuestionTrialAddOrEdit public class ReadingTableQuestionTrialAddOrEdit
{ {
public Guid? ClassifyTableQuestionId { get; set; }
public string ClassifyAlgorithms { get; set; } = string.Empty;
/// <summary> /// <summary>
/// 自定义计算标记 /// 自定义计算标记
/// </summary> /// </summary>
@ -467,12 +462,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// </summary> /// </summary>
public ValueOfType? ValueType { get; set; } public ValueOfType? ValueType { get; set; }
public bool IsCopy { get; set; } = false;
public Guid? ClassifyTableQuestionId { get; set; }
public string ClassifyAlgorithms { get; set; } = string.Empty;
/// <summary> /// <summary>
/// 问题分类 /// 问题分类
/// </summary> /// </summary>
@ -845,16 +834,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public Guid Id { get; set; } public Guid Id { get; set; }
/// <summary>
/// 导出标识
/// </summary>
public ExportIdentification? ExportIdentification { get; set; }
/// <summary>
/// 导出结果
/// </summary>
public ExportResult? ExportResult { get; set; }
/// <summary> /// <summary>
/// 分组 /// 分组
/// </summary> /// </summary>
@ -1119,14 +1098,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public class ReadingQuestionSystemView public class ReadingQuestionSystemView
{ {
[Comment("导出标识")]
public ExportIdentification? ExportIdentification { get; set; }
[Comment("导出结果")]
public ExportResult? ExportResult { get; set; }
/// <summary> /// <summary>
/// 数值类型 /// 数值类型
/// </summary> /// </summary>
@ -1665,19 +1636,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
} }
public class AddOrUpdateReadingQuestionSystemInDto public class AddOrUpdateReadingQuestionSystemInDto
{ {
/// <summary>
/// 导出标识
/// </summary>
public ExportIdentification? ExportIdentification { get; set; }
/// <summary>
/// 导出结果
/// </summary>
public ExportResult? ExportResult { get; set; }
/// <summary> /// <summary>
/// 数值类型 /// 数值类型
/// </summary> /// </summary>
@ -1896,16 +1854,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// </summary> /// </summary>
public Guid? Id { get; set; } public Guid? Id { get; set; }
/// <summary>
/// 导出标识
/// </summary>
public ExportIdentification? ExportIdentification { get; set; }
/// <summary>
/// 导出结果
/// </summary>
public ExportResult? ExportResult { get; set; }
public bool IsAdditional { get; set; } public bool IsAdditional { get; set; }
/// <summary> /// <summary>

View File

@ -667,9 +667,6 @@ namespace IRaCIS.Core.Application.Service.RC
// 标准的默认值 标准默认值 // 标准的默认值 标准默认值
foreach (var criterion in needAddCriterionList) foreach (var criterion in needAddCriterionList)
{ {
switch (criterion.CriterionType) switch (criterion.CriterionType)
{ {
case CriterionType.IVUS: case CriterionType.IVUS:

View File

@ -369,31 +369,6 @@ namespace IRaCIS.Core.Domain.Share
} }
/// <summary>
/// 导出标识
/// </summary>
public enum ExportIdentification
{
/// <summary>
/// 无
/// </summary>
None = 0,
}
/// <summary>
/// 导出结果
/// </summary>
public enum ExportResult
{
/// <summary>
/// 无
/// </summary>
None = 0,
}
/// <summary> /// <summary>
/// 自定义计算标记 /// 自定义计算标记

View File

@ -190,10 +190,4 @@ public class ReadingQuestionSystem : BaseAddAuditEntity
[Comment("高亮问题的答案")] [Comment("高亮问题的答案")]
public string HighlightAnswer { get; set; } = "[]"; public string HighlightAnswer { get; set; } = "[]";
[Comment("导出标识")]
public ExportIdentification? ExportIdentification { get; set; }
[Comment("导出结果")]
public ExportResult? ExportResult { get; set; }
} }

View File

@ -255,12 +255,6 @@ public class ReadingQuestionTrial : BaseAddAuditEntity
public QuestionClassify? QuestionClassify { get; set; } public QuestionClassify? QuestionClassify { get; set; }
[Comment("高亮问题的答案")] [Comment("高亮问题的答案")]
public string HighlightAnswer { get; set; } = "[]"; public string HighlightAnswer { get; set; } = "[]";
[Comment("导出标识")]
public ExportIdentification? ExportIdentification { get; set; }
[Comment("导出结果")]
public ExportResult? ExportResult { get; set; }
} }
public class CalculateInfo public class CalculateInfo
{ {

View File

@ -72,7 +72,6 @@ public class ReadingTableQuestionSystem : BaseAddAuditEntity
[Comment("是否启用")] [Comment("是否启用")]
public bool IsEnable { get; set; } public bool IsEnable { get; set; }
[Comment("备注")]
public string Remark { get; set; } = string.Empty; public string Remark { get; set; } = string.Empty;
[Comment("显示父问题")] [Comment("显示父问题")]
@ -132,9 +131,4 @@ public class ReadingTableQuestionSystem : BaseAddAuditEntity
[Comment("问题分类")] [Comment("问题分类")]
public QuestionClassify? QuestionClassify { get; set; } public QuestionClassify? QuestionClassify { get; set; }
[Comment("复制病灶的时候 是否复制这个问题")]
public bool IsCopy { get; set; } = false;
} }

View File

@ -84,7 +84,7 @@ public class ReadingTableQuestionTrial : BaseAddAuditEntity
public string TypeValue { get; set; } = string.Empty; public string TypeValue { get; set; } = string.Empty;
public bool IsEnable { get; set; } public bool IsEnable { get; set; }
[Comment("注释")]
public string Remark { get; set; } = string.Empty; public string Remark { get; set; } = string.Empty;
public Guid? RelevanceId { get; set; } public Guid? RelevanceId { get; set; }
@ -112,9 +112,6 @@ public class ReadingTableQuestionTrial : BaseAddAuditEntity
[Comment("数值类型")] [Comment("数值类型")]
public ValueOfType? ValueType { get; set; } public ValueOfType? ValueType { get; set; }
[Comment("分类算法")]
public string ClassifyAlgorithms { get; set; } = string.Empty;
[Comment("单位")] [Comment("单位")]
public ValueUnit? Unit { get; set; } public ValueUnit? Unit { get; set; }
@ -145,13 +142,9 @@ public class ReadingTableQuestionTrial : BaseAddAuditEntity
[Comment("问题分类")] [Comment("问题分类")]
public QuestionClassify? QuestionClassify { get; set; } public QuestionClassify? QuestionClassify { get; set; }
[Comment("复制病灶的时候 是否复制这个问题")] [Comment("复制病灶的时候 是否复制这个问题")]
public bool IsCopy { get; set; } = false; public bool IsCopy { get; set; } = false;
[Comment("系统表格问题Id")] [Comment("系统表格问题Id")]
public Guid? SystemTableQuestionId { get; set; } public Guid? SystemTableQuestionId { get; set; }
[Comment("分类问题表格Id")]
public Guid? ClassifyTableQuestionId { get; set; }
} }

File diff suppressed because it is too large Load Diff

View File

@ -1,143 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
/// <inheritdoc />
public partial class Question : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "Remark",
table: "ReadingTableQuestionTrial",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
comment: "注释",
oldClrType: typeof(string),
oldType: "nvarchar(400)",
oldMaxLength: 400);
migrationBuilder.AddColumn<string>(
name: "ClassifyAlgorithms",
table: "ReadingTableQuestionTrial",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "",
comment: "分类算法");
migrationBuilder.AddColumn<Guid>(
name: "ClassifyTableQuestionId",
table: "ReadingTableQuestionTrial",
type: "uniqueidentifier",
nullable: true,
comment: "分类问题表格Id");
migrationBuilder.AlterColumn<string>(
name: "Remark",
table: "ReadingTableQuestionSystem",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
comment: "备注",
oldClrType: typeof(string),
oldType: "nvarchar(400)",
oldMaxLength: 400);
migrationBuilder.AddColumn<bool>(
name: "IsCopy",
table: "ReadingTableQuestionSystem",
type: "bit",
nullable: false,
defaultValue: false,
comment: "复制病灶的时候 是否复制这个问题");
migrationBuilder.AddColumn<int>(
name: "ExportIdentification",
table: "ReadingQuestionTrial",
type: "int",
nullable: true,
comment: "导出标识");
migrationBuilder.AddColumn<int>(
name: "ExportResult",
table: "ReadingQuestionTrial",
type: "int",
nullable: true,
comment: "导出结果");
migrationBuilder.AddColumn<int>(
name: "ExportIdentification",
table: "ReadingQuestionSystem",
type: "int",
nullable: true,
comment: "导出标识");
migrationBuilder.AddColumn<int>(
name: "ExportResult",
table: "ReadingQuestionSystem",
type: "int",
nullable: true,
comment: "导出结果");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ClassifyAlgorithms",
table: "ReadingTableQuestionTrial");
migrationBuilder.DropColumn(
name: "ClassifyTableQuestionId",
table: "ReadingTableQuestionTrial");
migrationBuilder.DropColumn(
name: "IsCopy",
table: "ReadingTableQuestionSystem");
migrationBuilder.DropColumn(
name: "ExportIdentification",
table: "ReadingQuestionTrial");
migrationBuilder.DropColumn(
name: "ExportResult",
table: "ReadingQuestionTrial");
migrationBuilder.DropColumn(
name: "ExportIdentification",
table: "ReadingQuestionSystem");
migrationBuilder.DropColumn(
name: "ExportResult",
table: "ReadingQuestionSystem");
migrationBuilder.AlterColumn<string>(
name: "Remark",
table: "ReadingTableQuestionTrial",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
oldClrType: typeof(string),
oldType: "nvarchar(400)",
oldMaxLength: 400,
oldComment: "注释");
migrationBuilder.AlterColumn<string>(
name: "Remark",
table: "ReadingTableQuestionSystem",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
oldClrType: typeof(string),
oldType: "nvarchar(400)",
oldMaxLength: 400,
oldComment: "备注");
}
}
}

View File

@ -5434,14 +5434,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasColumnType("nvarchar(400)") .HasColumnType("nvarchar(400)")
.HasComment("字典code"); .HasComment("字典code");
b.Property<int?>("ExportIdentification")
.HasColumnType("int")
.HasComment("导出标识");
b.Property<int?>("ExportResult")
.HasColumnType("int")
.HasComment("导出结果");
b.Property<string>("FileType") b.Property<string>("FileType")
.IsRequired() .IsRequired()
.HasMaxLength(400) .HasMaxLength(400)
@ -5692,14 +5684,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasColumnType("nvarchar(400)") .HasColumnType("nvarchar(400)")
.HasComment("字典code"); .HasComment("字典code");
b.Property<int?>("ExportIdentification")
.HasColumnType("int")
.HasComment("导出标识");
b.Property<int?>("ExportResult")
.HasColumnType("int")
.HasComment("导出结果");
b.Property<string>("FileType") b.Property<string>("FileType")
.IsRequired() .IsRequired()
.HasMaxLength(400) .HasMaxLength(400)
@ -6270,10 +6254,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasColumnType("nvarchar(400)") .HasColumnType("nvarchar(400)")
.HasComment("文件类型"); .HasComment("文件类型");
b.Property<bool>("IsCopy")
.HasColumnType("bit")
.HasComment("复制病灶的时候 是否复制这个问题");
b.Property<int>("IsDepend") b.Property<int>("IsDepend")
.HasColumnType("int") .HasColumnType("int")
.HasComment("是否关联"); .HasComment("是否关联");
@ -6343,8 +6323,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<string>("Remark") b.Property<string>("Remark")
.IsRequired() .IsRequired()
.HasMaxLength(400) .HasMaxLength(400)
.HasColumnType("nvarchar(400)") .HasColumnType("nvarchar(400)");
.HasComment("备注");
b.Property<int>("ShowOrder") b.Property<int>("ShowOrder")
.HasColumnType("int") .HasColumnType("int")
@ -6403,16 +6382,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasColumnType("nvarchar(max)") .HasColumnType("nvarchar(max)")
.HasComment("自定义计算标记"); .HasComment("自定义计算标记");
b.Property<string>("ClassifyAlgorithms")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)")
.HasComment("分类算法");
b.Property<Guid?>("ClassifyTableQuestionId")
.HasColumnType("uniqueidentifier")
.HasComment("分类问题表格Id");
b.Property<DateTime>("CreateTime") b.Property<DateTime>("CreateTime")
.HasColumnType("datetime2"); .HasColumnType("datetime2");
@ -6524,8 +6493,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<string>("Remark") b.Property<string>("Remark")
.IsRequired() .IsRequired()
.HasMaxLength(400) .HasMaxLength(400)
.HasColumnType("nvarchar(400)") .HasColumnType("nvarchar(400)");
.HasComment("注释");
b.Property<int>("ShowOrder") b.Property<int>("ShowOrder")
.HasColumnType("int"); .HasColumnType("int");