ソースを参照

BI學區欄位修正:移除蘇格拉底簡碼欄位,學區簡碼 = 蘇格拉底簡碼

jeff 1 年間 前
コミット
cf45f89f89

+ 1 - 4
TEAMModelBI/Controllers/BINormal/BatchAreaController.cs

@@ -220,7 +220,6 @@ namespace TEAMModelBI.Controllers.BINormal
                 jsonElement.TryGetProperty("oldId", out JsonElement _oldId);
                 jsonElement.TryGetProperty("oldId", out JsonElement _oldId);
                 jsonElement.TryGetProperty("oldStandard", out JsonElement oldStandard);
                 jsonElement.TryGetProperty("oldStandard", out JsonElement oldStandard);
                 jsonElement.TryGetProperty("oldName", out JsonElement oldName);
                 jsonElement.TryGetProperty("oldName", out JsonElement oldName);
-                jsonElement.TryGetProperty("sokShortCode", out JsonElement sokShortCode);
                 //jsonElement.TryGetProperty("site", out JsonElement site);//分开部署,就不需要,一站多用时,取消注释
                 //jsonElement.TryGetProperty("site", out JsonElement site);//分开部署,就不需要,一站多用时,取消注释
 
 
                 var (_tmdId, _tmdName, pic, did, dname, dpic) = HttpJwtAnalysis.JwtXAuthBI(HttpContext.GetXAuth("AuthToken"), _option);
                 var (_tmdId, _tmdName, pic, did, dname, dpic) = HttpJwtAnalysis.JwtXAuthBI(HttpContext.GetXAuth("AuthToken"), _option);
@@ -291,8 +290,7 @@ namespace TEAMModelBI.Controllers.BINormal
                     standard = $"{standard}",
                     standard = $"{standard}",
                     standardName = $"{standardName}",
                     standardName = $"{standardName}",
                     institution = $"{institution}",
                     institution = $"{institution}",
-                    quoteId = $"{_oldId}",
-                    sokShortCode = $"{sokShortCode}"
+                    quoteId = $"{_oldId}"
                 };
                 };
 
 
                 #region  区级管理员
                 #region  区级管理员
@@ -1313,7 +1311,6 @@ namespace TEAMModelBI.Controllers.BINormal
             public int schoolCount { get; set; }
             public int schoolCount { get; set; }
             public long updateTime { get; set; }
             public long updateTime { get; set; }
             public string quoteId { get; set; } = null;
             public string quoteId { get; set; } = null;
-            public string sokShortCode { get; set; }
             public bool cutArea { get; set; } = false;
             public bool cutArea { get; set; } = false;
             public List<AreaQuoteRecord> aquoteRec { get; set; } = new List<AreaQuoteRecord>();
             public List<AreaQuoteRecord> aquoteRec { get; set; } = new List<AreaQuoteRecord>();
         }
         }

+ 0 - 5
TEAMModelOS.SDK/Models/Cosmos/Normal/Area.cs

@@ -51,10 +51,5 @@ namespace TEAMModelOS.SDK.Models
         /// 引用id
         /// 引用id
         /// </summary>
         /// </summary>
         public string quoteId { get; set; } = null;
         public string quoteId { get; set; } = null;
-        /// <summary>
-        /// 蘇格拉底頻道簡碼
-        /// </summary>
-        public string sokShortCode { get; set; }
-
     }
     }
 }
 }