ソースを参照

准备优化下载部分

lighter 3 年 前
コミット
461f4a663e

+ 1 - 1
src/main/java/thyyxxk/webserver/entity/medicalinsurance/download/SiDlSlwSpcChr.java

@@ -111,7 +111,7 @@ public class SiDlSlwSpcChr implements Serializable {
 		dataCreationTime = arr[7];
 		dataUpdateTime = arr[8];
 		version = arr[9];
-		connotation = arr[10];
+		connotation = arr[10] == null ? "无" : arr[10];
 		versionName = arr[11];
 		guidePageNumber = arr[12];
 		guideElectronicArchives = arr[13];

+ 5 - 5
src/main/java/thyyxxk/webserver/service/medicalinsurance/SiDownloadService.java

@@ -54,17 +54,17 @@ public class SiDownloadService {
     public ResultVo<Map<String, Object>> executeDownload(DwnldPrm prm) {
         String version = prm.getVersion();
         switch (prm.getCode()) {
-            case "1301":
+            case "1301": // TODO: 2022/1/15  版本号从V00开始
                 return downloadPatentAndWesternMedicineCatalogue(version);
-            case "1302":
+            case "1302": // TODO: 2022/1/15  版本号从V00开始
                 return downloadChineseHerbalCatalogue(version);
-            case "1303":
+            case "1303": // TODO: 2022/1/15  版本号从V00开始
                 return downloadInstitutionsPreparationsCatalogue(version);
             case "1304":
                 return downloadEthnicMedicine(prm);
-            case "1305":
+            case "1305": // TODO: 2022/1/15  版本号从V00开始
                 return downloadMedicalServiceItemsCatalogue(version);
-            case "1306":
+            case "1306": // TODO: 2022/1/15  版本号从V00开始
                 return downloadMedicalSuppliesCatalogue(version);
             case "1307":
                 return downloadDiseasesAndDiagnosisCatalogue(version);