Ver código fonte

feat: batch create plan 3

shc 9 meses atrás
pai
commit
0b34f96822

+ 1 - 1
hnqz-upms/hnqz-upms-biz/src/main/java/com/qunzhixinxi/hnqz/admin/controller/WmTemplateFileController.java

@@ -37,7 +37,7 @@ public class WmTemplateFileController {
     @SneakyThrows
     public void templateFileDownload(@RequestBody String paramStr, HttpServletResponse response) {
         String fileName = JSONUtil.parseObj(paramStr).getStr("fileName");
-        String locPath = (String) OsEnvUtils.getEachEnvPaths().get("EXCEL_FILE_PATH");
+        String locPath = OsEnvUtils.getEachEnvPaths().get("EXCEL_FILE_PATH");
         File file = new File(locPath + fileName);
         byte[] bytesArray = new byte[(int) file.length()];
         FileInputStream fileInputStream = new FileInputStream(file);

+ 0 - 0
hnqz-upms/hnqz-upms-biz/src/main/resources/excel/批量下发服务计划模版.xlsx → hnqz-upms/hnqz-upms-biz/src/main/resources/excel/impl_plan_batch_create_tmpl.xlsx