Compare commits
No commits in common. "558258fd899077c41790ca29781f460926702f68" and "acf9709d3abbddb3239a0401ca20f7311ed68cce" have entirely different histories.
558258fd89
...
acf9709d3a
|
|
@ -1620,11 +1620,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
public Guid SystemCriterionId { get; set; }
|
public Guid SystemCriterionId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
public string Type { get; set; } = string.Empty;
|
public string Type { get; set; }
|
||||||
|
|
||||||
public List<string> TypeList { get; set; } = new List<string>();
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1634,7 +1630,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
public Guid TrialCriterionId { get; set; }
|
public Guid TrialCriterionId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
public string Type { get; set; } = string.Empty;
|
public string Type { get; set; }
|
||||||
|
|
||||||
public List<string> TypeList { get; set; } = new List<string>();
|
public List<string> TypeList { get; set; } = new List<string>();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,6 @@ namespace IRaCIS.Core.Application.Service
|
||||||
|
|
||||||
.Where(x => x.ReadingQuestionCriterionSystemId == inDto.SystemCriterionId)
|
.Where(x => x.ReadingQuestionCriterionSystemId == inDto.SystemCriterionId)
|
||||||
.WhereIf(!inDto.Type.IsNullOrEmpty(), x => x.Type == inDto.Type)
|
.WhereIf(!inDto.Type.IsNullOrEmpty(), x => x.Type == inDto.Type)
|
||||||
.WhereIf(inDto.TypeList.Count() > 0, x => inDto.TypeList.Contains(x.Type))
|
|
||||||
.OrderBy(x => x.ShowOrder)
|
.OrderBy(x => x.ShowOrder)
|
||||||
.Select(x => new GetCalculateQuestionsOutDto
|
.Select(x => new GetCalculateQuestionsOutDto
|
||||||
()
|
()
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,62 +0,0 @@
|
||||||
using Microsoft.EntityFrameworkCore.Migrations;
|
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|
||||||
{
|
|
||||||
/// <inheritdoc />
|
|
||||||
public partial class question202410240915 : Migration
|
|
||||||
{
|
|
||||||
/// <inheritdoc />
|
|
||||||
protected override void Up(MigrationBuilder migrationBuilder)
|
|
||||||
{
|
|
||||||
migrationBuilder.AddColumn<int>(
|
|
||||||
name: "ClassifyType",
|
|
||||||
table: "ReadingTableQuestionTrial",
|
|
||||||
type: "int",
|
|
||||||
nullable: true,
|
|
||||||
comment: "分类类型");
|
|
||||||
|
|
||||||
migrationBuilder.AddColumn<int>(
|
|
||||||
name: "ClassifyType",
|
|
||||||
table: "ReadingTableQuestionSystem",
|
|
||||||
type: "int",
|
|
||||||
nullable: true,
|
|
||||||
comment: "分类类型");
|
|
||||||
|
|
||||||
migrationBuilder.AddColumn<int>(
|
|
||||||
name: "ClassifyType",
|
|
||||||
table: "ReadingQuestionTrial",
|
|
||||||
type: "int",
|
|
||||||
nullable: true,
|
|
||||||
comment: "分类类型");
|
|
||||||
|
|
||||||
migrationBuilder.AddColumn<int>(
|
|
||||||
name: "ClassifyType",
|
|
||||||
table: "ReadingQuestionSystem",
|
|
||||||
type: "int",
|
|
||||||
nullable: true,
|
|
||||||
comment: "分类类型");
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <inheritdoc />
|
|
||||||
protected override void Down(MigrationBuilder migrationBuilder)
|
|
||||||
{
|
|
||||||
migrationBuilder.DropColumn(
|
|
||||||
name: "ClassifyType",
|
|
||||||
table: "ReadingTableQuestionTrial");
|
|
||||||
|
|
||||||
migrationBuilder.DropColumn(
|
|
||||||
name: "ClassifyType",
|
|
||||||
table: "ReadingTableQuestionSystem");
|
|
||||||
|
|
||||||
migrationBuilder.DropColumn(
|
|
||||||
name: "ClassifyType",
|
|
||||||
table: "ReadingQuestionTrial");
|
|
||||||
|
|
||||||
migrationBuilder.DropColumn(
|
|
||||||
name: "ClassifyType",
|
|
||||||
table: "ReadingQuestionSystem");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -5479,10 +5479,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
.HasColumnType("uniqueidentifier")
|
.HasColumnType("uniqueidentifier")
|
||||||
.HasComment("分类问题Id");
|
.HasComment("分类问题Id");
|
||||||
|
|
||||||
b.Property<int?>("ClassifyType")
|
|
||||||
.HasColumnType("int")
|
|
||||||
.HasComment("分类类型");
|
|
||||||
|
|
||||||
b.Property<int>("ConvertShowType")
|
b.Property<int>("ConvertShowType")
|
||||||
.HasColumnType("int")
|
.HasColumnType("int")
|
||||||
.HasComment("转化显示类型");
|
.HasComment("转化显示类型");
|
||||||
|
|
@ -5733,10 +5729,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
.HasColumnType("uniqueidentifier")
|
.HasColumnType("uniqueidentifier")
|
||||||
.HasComment("分类问题Id");
|
.HasComment("分类问题Id");
|
||||||
|
|
||||||
b.Property<int?>("ClassifyType")
|
|
||||||
.HasColumnType("int")
|
|
||||||
.HasComment("分类类型");
|
|
||||||
|
|
||||||
b.Property<int>("ConvertShowType")
|
b.Property<int>("ConvertShowType")
|
||||||
.HasColumnType("int")
|
.HasColumnType("int")
|
||||||
.HasComment("转化显示类型");
|
.HasComment("转化显示类型");
|
||||||
|
|
@ -6326,10 +6318,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
.HasColumnType("uniqueidentifier")
|
.HasColumnType("uniqueidentifier")
|
||||||
.HasComment("分类问题表格Id");
|
.HasComment("分类问题表格Id");
|
||||||
|
|
||||||
b.Property<int?>("ClassifyType")
|
|
||||||
.HasColumnType("int")
|
|
||||||
.HasComment("分类类型");
|
|
||||||
|
|
||||||
b.Property<DateTime>("CreateTime")
|
b.Property<DateTime>("CreateTime")
|
||||||
.HasColumnType("datetime2");
|
.HasColumnType("datetime2");
|
||||||
|
|
||||||
|
|
@ -6524,10 +6512,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
.HasColumnType("uniqueidentifier")
|
.HasColumnType("uniqueidentifier")
|
||||||
.HasComment("分类问题表格Id");
|
.HasComment("分类问题表格Id");
|
||||||
|
|
||||||
b.Property<int?>("ClassifyType")
|
|
||||||
.HasColumnType("int")
|
|
||||||
.HasComment("分类类型");
|
|
||||||
|
|
||||||
b.Property<DateTime>("CreateTime")
|
b.Property<DateTime>("CreateTime")
|
||||||
.HasColumnType("datetime2");
|
.HasColumnType("datetime2");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue