Merge branch 'master' of http://192.168.1.2:8033/IRaCIS_Core_Api
						commit
						c34425b231
					
				| 
						 | 
				
			
			@ -15,6 +15,8 @@ namespace IRaCIS.Application.Contracts
 | 
			
		|||
        public string TrialCode { get; set; } = string.Empty;
 | 
			
		||||
        public string Indication { get; set; } = string.Empty;
 | 
			
		||||
 | 
			
		||||
        public int IndicationEnum { get; set; }
 | 
			
		||||
 | 
			
		||||
        //public Guid? ReviewTypeId { get; set; } = Guid.Empty;
 | 
			
		||||
 | 
			
		||||
        //public Guid? CriterionId { get; set; } = Guid.Empty;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -73,6 +73,55 @@ update DataInspection  SET Identification='ReadingTrialCriterionDictionary/Add/G
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
--国际化indication 维护
 | 
			
		||||
UPDATE Trial SET IndicationEnum = CASE 
 | 
			
		||||
                                      WHEN Indication = '肺癌' THEN 0
 | 
			
		||||
                                      WHEN Indication = '实体瘤' THEN 1
 | 
			
		||||
                                      WHEN Indication = '淋巴瘤' THEN 2
 | 
			
		||||
                                      WHEN Indication = '乳腺癌' THEN 3
 | 
			
		||||
                                      WHEN Indication = '白血病' THEN 4
 | 
			
		||||
                                      WHEN Indication = '胃癌' THEN 5
 | 
			
		||||
                                      WHEN Indication = '肝癌' THEN 6
 | 
			
		||||
                                      WHEN Indication = '骨髓癌' THEN 7
 | 
			
		||||
                                      WHEN Indication = '肠癌' THEN 8
 | 
			
		||||
                                      WHEN Indication = '前列腺癌' THEN 9
 | 
			
		||||
                                      WHEN Indication = '肾癌' THEN 10
 | 
			
		||||
                                      WHEN Indication = '宫颈癌' THEN 11
 | 
			
		||||
                                      WHEN Indication = '头颈部癌' THEN 12
 | 
			
		||||
                                      WHEN Indication = '卵巢癌' THEN 13
 | 
			
		||||
                                      WHEN Indication = '胆癌' THEN 14
 | 
			
		||||
                                      WHEN Indication = '食管癌' THEN 15
 | 
			
		||||
                                      WHEN Indication = '腹膜癌' THEN 16
 | 
			
		||||
                                      WHEN Indication = '上皮癌' THEN 17
 | 
			
		||||
                                      WHEN Indication = '黑色素瘤' THEN 18
 | 
			
		||||
                                      WHEN Indication = '甲状腺癌' THEN 19
 | 
			
		||||
                                      WHEN Indication = '输卵管癌' THEN 20
 | 
			
		||||
                                      WHEN Indication = '胰腺癌' THEN 21
 | 
			
		||||
                                      WHEN Indication = '膀胱癌' THEN 22
 | 
			
		||||
                                      WHEN Indication = '鼻咽癌' THEN 23
 | 
			
		||||
                                      WHEN Indication = '胶质瘤' THEN 24
 | 
			
		||||
                                      WHEN Indication = '子宫癌' THEN 25
 | 
			
		||||
                                      WHEN Indication = '尿道癌' THEN 26
 | 
			
		||||
                                      WHEN Indication = '软组织肉瘤' THEN 27
 | 
			
		||||
                                      WHEN Indication = '神经内分泌瘤' THEN 28
 | 
			
		||||
                                      WHEN Indication = '睾丸癌' THEN 29
 | 
			
		||||
                                      WHEN Indication = '骨肉瘤' THEN 30
 | 
			
		||||
                                      WHEN Indication = '间皮瘤' THEN 31
 | 
			
		||||
                                      WHEN Indication = '绒毛膜病' THEN 32
 | 
			
		||||
                                      WHEN Indication = '胃肠道间质瘤' THEN 33
 | 
			
		||||
                                      WHEN Indication = '骨癌' THEN 34
 | 
			
		||||
                                      WHEN Indication = '脑瘤' THEN 35
 | 
			
		||||
                                      WHEN Indication = '胸腺瘤' THEN 36
 | 
			
		||||
																			WHEN IndicationTypeId = '437a81b3-c5ad-49fd-82a1-8f441c4ba8da' THEN 37
 | 
			
		||||
																			WHEN IndicationTypeId = '433d9801-5fa0-42bb-604b-08d9c1232c4f' THEN 38
 | 
			
		||||
																			WHEN IndicationTypeId = 'a5fdd212-a716-4df4-604c-08d9c1232c4f' THEN 39
 | 
			
		||||
                                      ELSE IndicationEnum
 | 
			
		||||
                                 END;
 | 
			
		||||
																 
 | 
			
		||||
																 select DISTINCT IndicationEnum ,Indication from Trial
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -325,6 +325,8 @@ namespace IRaCIS.Core.Domain.Models
 | 
			
		|||
 | 
			
		||||
        public string BlindFollowUpPrefix { get; set; } = "Follow-up";
 | 
			
		||||
 | 
			
		||||
        public int IndicationEnum { get; set; } = -1;
 | 
			
		||||
 | 
			
		||||
        #region 邮件配置
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// 发件箱账号
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue