irc-netcore-api/IRaCIS.Core.Domain/SQLFile/20220808.sql

16 lines
682 B
SQL

--中心调研维护
update TrialSiteUserSurvey set TrialRoleCode= (select Code from Dictionary where Id=TrialSiteUserSurvey.TrialRoleNameId)
--邮件发送维护
update TrialEmailNoticeConfig set AttachCNPath=FilePath,AttachPath=FilePath,AttachNameCN=FileName,AttachName=FileName
UPDATE DicomSeries
SET ImageResizePath = REPLACE(ImageResizePath, 'http://zyypacs.oss-cn-shanghai.aliyuncs.com', '')
WHERE ImageResizePath LIKE 'http://zyypacs.oss-cn-shanghai.aliyuncs.com%';
UPDATE DicomSeries
SET ImageResizePath = REPLACE(ImageResizePath, 'http://zyypacs-uat.oss-cn-shanghai.aliyuncs.com', '')
WHERE ImageResizePath LIKE 'http://zyypacs-uat.oss-cn-shanghai.aliyuncs.com%';