From 9f39b2cad6049f64b5fc39b7f3d4418e71f7690d Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Thu, 11 Aug 2022 16:18:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8C=BB=E7=94=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Doctor/DTO/DoctorModel.cs | 1 + IRaCIS.Core.Domain/Dcotor/Doctor.cs | 2 +- IRaCIS.Core.Domain/SQLFile/Sql脚本.sql | 17 ++++++++++++++++- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Doctor/DTO/DoctorModel.cs b/IRaCIS.Core.Application/Service/Doctor/DTO/DoctorModel.cs index cc974e672..549a12392 100644 --- a/IRaCIS.Core.Application/Service/Doctor/DTO/DoctorModel.cs +++ b/IRaCIS.Core.Application/Service/Doctor/DTO/DoctorModel.cs @@ -455,6 +455,7 @@ namespace IRaCIS.Application.Contracts public Guid? HospitalId { get; set; } = Guid.Empty; + public Guid? PhysicianId { get; set; } public string Physician { get; set; } = string.Empty; public string PhysicianCN { get; set; } = string.Empty; diff --git a/IRaCIS.Core.Domain/Dcotor/Doctor.cs b/IRaCIS.Core.Domain/Dcotor/Doctor.cs index c03a9b1cd..7272becfc 100644 --- a/IRaCIS.Core.Domain/Dcotor/Doctor.cs +++ b/IRaCIS.Core.Domain/Dcotor/Doctor.cs @@ -73,7 +73,7 @@ namespace IRaCIS.Core.Domain.Models [StringLength(100)] public string DepartmentOther { get; set; } = string.Empty; - + public Guid? PhysicianId { get; set; } public string Physician { get; set; } = string.Empty; public string PhysicianCN { get; set; } = string.Empty; diff --git a/IRaCIS.Core.Domain/SQLFile/Sql脚本.sql b/IRaCIS.Core.Domain/SQLFile/Sql脚本.sql index 42cdb8ab5..7c2b8bce6 100644 --- a/IRaCIS.Core.Domain/SQLFile/Sql脚本.sql +++ b/IRaCIS.Core.Domain/SQLFile/Sql脚本.sql @@ -4,4 +4,19 @@ update DataInspection set BatchId=Id where BatchId is null update QCChallenge set Code=ChallengeCode -update QCChallenge set ChallengeCode='Q'+ RIGHT('00000'+CAST( Code AS nvarchar(50)),5); \ No newline at end of file +update QCChallenge set ChallengeCode='Q'+ RIGHT('00000'+CAST( Code AS nvarchar(50)),5); + + + + +-----2022-08-11------------------------ + +update [dbo].[Site] set Code= convert(int,RIGHT(SiteCode,4)) +update Site set SiteName= substring(SiteName,1,charindex('Ò½Ôº',SiteName)+1),AliasName=substring(SiteName,charindex('Ò½Ôº',SiteName)+2,30) where SiteName like '%Ò½Ôº%Ò½Ôº' + + +update Doctor set Physician='Chief Physician',PhysicianCN='Ö÷ÈÎҽʦ' where RankId='dcbf4d1a-8373-4539-a0ae-1ba76d57bb48' +update Doctor set Physician='Deputy Chief Physician',PhysicianCN='¸±Ö÷ÈÎҽʦ' where RankId='3a6e3335-cea4-4803-a136-d6301883a937' +update Doctor set RankOther='Professor',RankOtherCN='½ÌÊÚ' where RankId='dcbf4d1a-8373-4539-a0ae-1ba76d57bb48' +update Doctor set RankOther='Associate Professor',RankOtherCN='¸±½ÌÊÚ' where RankId='3a6e3335-cea4-4803-a136-d6301883a937' +update Doctor set Physician='Staff',PhysicianCN='ҽʦ' where RankId='82411c2e-9832-4c6f-a859-e3b6e796760d'