2 Commits 5b7404df9f ... 2a92d75cc2

Author SHA1 Message Date
  yuanrf 2a92d75cc2 Merge branch 'develop' of http://132.232.92.186:3000/XinXiBu/OA2023 into develop 3 weeks ago
  yuanrf 09509bec84 ++++++++ 3 weeks ago
1 changed files with 20 additions and 21 deletions
  1. 20 21
      OASystem/OASystem.Api/Controllers/MarketCustomerResourcesController.cs

+ 20 - 21
OASystem/OASystem.Api/Controllers/MarketCustomerResourcesController.cs

@@ -330,13 +330,13 @@ namespace OASystem.API.Controllers
                 407,408,409,410,449,451,452,453,567,754,1297,1304
             });
             keyValuePairs.Add(421, new List<int>() { 424, 425, 426, 427, 428, 429, 754,1298, 1305,1307,1306 }); // 贵州
-            keyValuePairs.Add(422, new List<int>() { 415, 416, 754 }); // 西藏
-            keyValuePairs.Add(423, new List<int>() { 417, 418, 454, 456, 754 }); // 重庆
+            keyValuePairs.Add(422, new List<int>() { 415, 416, 754,1317,1316,1315, 455,1321, 1320, 1319, 1318 }); // 西藏
+            keyValuePairs.Add(423, new List<int>() { 417, 418, 454, 456, 754, 1313, 1314 }); // 重庆
             keyValuePairs.Add(578, new List<int>() { 581, 582, 583, 754,1299,1300 }); // 青海
             keyValuePairs.Add(605, new List<int>() { 588, 589, 590, 591, 592, 593, 754,1301,1310,1309,1308 }); // 陕西
-            keyValuePairs.Add(606, new List<int>() { 597, 598, 599, 600, 601, 602, 603, 604, 754 }); // 宁夏
+            keyValuePairs.Add(606, new List<int>() { 597, 598, 599, 600, 601, 602, 603, 604, 754,1324,1323,1322 }); // 宁夏
             keyValuePairs.Add(625, new List<int>() { 617, 618, 619, 620, 621, 622, 622, 623, 624, 754,1302,1312,1311 }); // 甘肃
-            keyValuePairs.Add(634, new List<int>() { 455, 630, 631, 632, 633, 754 }); // 新疆
+            keyValuePairs.Add(634, new List<int>() { 630, 631, 632, 633, 754 }); // 新疆
 
             return keyValuePairs;
         }
@@ -359,20 +359,19 @@ namespace OASystem.API.Controllers
 
             // 贵州
             keyValuePairs.Add(401, new List<int>() { 424, 426, 427, 428, 1298 }); // 贵州省级
-            keyValuePairs.Add(402, new List<int>() { 425, 429, 1306, 1307 }); // 贵阳市级
+            keyValuePairs.Add(402, new List<int>() { 425, 429, 1306, 1307, 1305 }); // 贵阳市级
             keyValuePairs.Add(414, new List<int>() { 428 }); // 贵州地市州
-            keyValuePairs.Add(1305, new List<int>() { /* Add relevant IDs if available */ }); // 贵阳区市县 - Placeholder for now
+            //keyValuePairs.Add(1305, new List<int>() { /* Add relevant IDs if available */ }); // 贵阳区市县 - Placeholder for now
 
 
             // 重庆
-            keyValuePairs.Add(403, new List<int>() { 417, 418, 454, 456 }); // 重庆市级
-            keyValuePairs.Add(404, new List<int>()); // 重庆区县 - No direct match in source1
-            keyValuePairs.Add(1313, new List<int>()); // 重庆地市州 - No direct match in source1
+            keyValuePairs.Add(403, new List<int>() { 417, 418, 454, 456, 1314 }); // 重庆市级
+            keyValuePairs.Add(404, new List<int>() { 1313 }); // 重庆区县 - No direct match in source1
 
 
             // 西藏
-            keyValuePairs.Add(405, new List<int>() { 415 }); // 西藏自治区
-            keyValuePairs.Add(406, new List<int>() { 455 }); // 拉萨市级
+            keyValuePairs.Add(405, new List<int>() { 415, 1317, 1316, 1315 }); // 西藏自治区
+            keyValuePairs.Add(406, new List<int>() { 455, 1321, 1320, 1319, 1318 }); // 拉萨市级
             keyValuePairs.Add(413, new List<int>() { 416 }); // 西藏地市州
 
 
@@ -384,28 +383,28 @@ namespace OASystem.API.Controllers
             // 陕西
             keyValuePairs.Add(585, new List<int>() { 588, 589, 590, 591, 1301 }); // 陕西省级
             keyValuePairs.Add(586, new List<int>() { 589 }); // 陕西地市州
-            keyValuePairs.Add(587, new List<int>() { 592, 593, 1309, 1310 }); // 西安市级
-            keyValuePairs.Add(1308, new List<int>() { /* Add relevant IDs if available */ }); // 西安区市县 - Placeholder
+            keyValuePairs.Add(587, new List<int>() { 592, 593, 1309, 1310 , 1308 }); // 西安市级
+            //keyValuePairs.Add(1308, new List<int>() { /* Add relevant IDs if available */ }); // 西安区市县 - Placeholder
 
 
             // 宁夏
-            keyValuePairs.Add(594, new List<int>() { 597, 598, 599, 600, 601 }); // 宁夏自治区 (Includes 地市州 and 区级)
+            keyValuePairs.Add(594, new List<int>() { 597, 598, 599, 600, 601, 1322 }); // 宁夏自治区 (Includes 地市州 and 区级)
             keyValuePairs.Add(595, new List<int>() { 597 }); // 宁夏地市州
-            keyValuePairs.Add(596, new List<int>() { 598, 599, 600, 603, 604 }); // 银川市级 (Includes 区级)
-            keyValuePairs.Add(602, new List<int>()); // 银川区市县 - No direct match, but could be considered covered by "区级"
+            keyValuePairs.Add(596, new List<int>() { 598, 599, 600, 603, 604, 602, 1323, 1324 }); // 银川市级 (Includes 区级)
+            //keyValuePairs.Add(602, new List<int>()); // 银川区市县 - No direct match, but could be considered covered by "区级"
 
 
             // 甘肃
             keyValuePairs.Add(614, new List<int>() { 617, 618, 619, 620, 621, 1302 }); // 甘肃省级
             keyValuePairs.Add(615, new List<int>() { 618 }); // 甘肃地市州
-            keyValuePairs.Add(616, new List<int>() { 622, 623, 624, 1312 }); // 兰州市级
-            keyValuePairs.Add(1311, new List<int>() { /* Add relevant IDs if available */ }); // 兰州区市县 - Placeholder
+            keyValuePairs.Add(616, new List<int>() { 622, 623, 624, 1312, 1311 }); // 兰州市级
+            //keyValuePairs.Add(1311, new List<int>() { /* Add relevant IDs if available */ }); // 兰州区市县 - Placeholder
 
 
             // 新疆
-            keyValuePairs.Add(627, new List<int>() { 630, 631, 632 }); // 新疆自治区级
-            keyValuePairs.Add(628, new List<int>() { /*No Direct Match*/ }); // 新疆地市州 - No direct match
-            keyValuePairs.Add(629, new List<int>() { 633 }); // 乌鲁木齐市级
+            keyValuePairs.Add(627, new List<int>() { 630, 631, 632 , 1327,1326 ,1325 }); // 新疆自治区级
+            keyValuePairs.Add(628, new List<int>() { 1326 }); // 新疆地市州 - No direct match
+            keyValuePairs.Add(629, new List<int>() { 633,1331,1330,1329 ,1328 }); // 乌鲁木齐市级
 
             // 中央直属企业 (Special case)
             keyValuePairs.Add(351, new List<int>() { 754 }); //  Using "未分级" for 中央直属企业