手动通过的时候设置时间
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
e641e78fb3
commit
48c9721ab4
|
@ -541,6 +541,7 @@ namespace IRaCIS.Core.Application.Image.QA
|
||||||
|
|
||||||
sv.CheckUserId = _userInfo.UserRoleId;
|
sv.CheckUserId = _userInfo.UserRoleId;
|
||||||
sv.CheckState = CheckStateEnum.CVPassed;
|
sv.CheckState = CheckStateEnum.CVPassed;
|
||||||
|
sv.CheckTime = DateTime.Now;
|
||||||
|
|
||||||
sv.ReadingStatus = ReadingStatusEnum.TaskAllocate;
|
sv.ReadingStatus = ReadingStatusEnum.TaskAllocate;
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@ using IRaCIS.Core.Domain.Models;
|
||||||
using IRaCIS.Core.Infra.EFCore.Common;
|
using IRaCIS.Core.Infra.EFCore.Common;
|
||||||
using IRaCIS.Core.Infrastructure.Encryption;
|
using IRaCIS.Core.Infrastructure.Encryption;
|
||||||
using IRaCIS.Core.Infrastructure.Extention;
|
using IRaCIS.Core.Infrastructure.Extention;
|
||||||
|
using Microsoft.EntityFrameworkCore.Metadata.Conventions;
|
||||||
using Microsoft.EntityFrameworkCore.Metadata.Internal;
|
using Microsoft.EntityFrameworkCore.Metadata.Internal;
|
||||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
@ -58,6 +59,9 @@ public class IRaCISDBContext : DbContext
|
||||||
//configurationBuilder.Conventions.Add(_ => new DecimalPrecisionConvention(18,2));
|
//configurationBuilder.Conventions.Add(_ => new DecimalPrecisionConvention(18,2));
|
||||||
//针对字符串使用默认的长度配置为200,如果标注了StringLength 其他长度,就是标注的长度,如果标注了MaxLength 那么就是nvarcharMax
|
//针对字符串使用默认的长度配置为200,如果标注了StringLength 其他长度,就是标注的长度,如果标注了MaxLength 那么就是nvarcharMax
|
||||||
configurationBuilder.Conventions.Add(_ => new DefaultStringLengthConvention(400));
|
configurationBuilder.Conventions.Add(_ => new DefaultStringLengthConvention(400));
|
||||||
|
|
||||||
|
//https://learn.microsoft.com/zh-cn/ef/core/modeling/relationships/conventions?utm_source=chatgpt.com
|
||||||
|
configurationBuilder.Conventions.Remove(typeof(ForeignKeyIndexConvention));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||||
|
|
Loading…
Reference in New Issue