提交 7af67f64 authored 作者: 马晨俊's avatar 马晨俊

mcj:更新excel导入导出

上级 5f1573f1
...@@ -34,7 +34,7 @@ public enum MicroServiceEnum { ...@@ -34,7 +34,7 @@ public enum MicroServiceEnum {
DATA(21,"数据引用类微服务:请在备注中填写,如需填写多个,请以逗号分隔"), DATA(21,"数据引用类微服务:请在备注中填写,如需填写多个,请以逗号分隔"),
IOQUICK(22,"流媒体加速类微服务:请在备注中填写,如需填写多个,请以逗号分隔"), IOQUICK(22,"流媒体加速类微服务:请在备注中填写,如需填写多个,请以逗号分隔"),
JIAMI(23,"加密类微服务:请在备注中填写,如需填写多个,请以逗号分隔"), JIAMI(23,"加密类微服务:请在备注中填写,如需填写多个,请以逗号分隔"),
OTHER(24,"其他:请在备注中填写,如需填写多个请以逗号分隔"); OTHER(24,"其他:请在备注中填写,如需填写多个,请以逗号分隔");
private Integer code; private Integer code;
private String name; private String name;
......
...@@ -32,7 +32,7 @@ public enum OtherApiEnum { ...@@ -32,7 +32,7 @@ public enum OtherApiEnum {
YJ(22,"硬件驱动类API:请在备注中填写,如需填写多个,请以逗号分隔"), YJ(22,"硬件驱动类API:请在备注中填写,如需填写多个,请以逗号分隔"),
OCR(23,"OCR识别类API:请在备注中填写,如需填写多个,请以逗号分隔"), OCR(23,"OCR识别类API:请在备注中填写,如需填写多个,请以逗号分隔"),
JIAMI(24,"加密类API:请在备注中填写,如需填写多个,请以逗号分隔"), JIAMI(24,"加密类API:请在备注中填写,如需填写多个,请以逗号分隔"),
OTHER(25,"其他:请在备注中填写,如需填写多个请以逗号分隔"); OTHER(25,"其他:请在备注中填写,如需填写多个,请以逗号分隔");
private Integer code; private Integer code;
private String name; private String name;
......
...@@ -362,7 +362,9 @@ public class ExcelUtil { ...@@ -362,7 +362,9 @@ public class ExcelUtil {
List<CompatibleBrowser> compatibleBrowsers = new ArrayList<>(); List<CompatibleBrowser> compatibleBrowsers = new ArrayList<>();
for (int i = 93; i <= 97; i++) { for (int i = 93; i <= 97; i++) {
String brows = getExcelCell(i, 2, sheetAt); String brows = getExcelCell(i, 2, sheetAt);
compatibleBrowsers.add(CompatibleBrowser.getByName(brows)); CompatibleBrowser name = CompatibleBrowser.getByName(brows);
compatibleBrowsers.add(name);
} }
browser.setCompatibleBrowsers(compatibleBrowsers); browser.setCompatibleBrowsers(compatibleBrowsers);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论