فهرست منبع

设备子系统———大修超期任务提醒附件文件格式与其他开发保持一致

zhoudazhuang 1 سال پیش
والد
کامیت
4f1a476ce7

+ 1 - 1
bs-common/src/main/java/com/rongwei/safecommon/utils/SaveConstans.java

@@ -413,7 +413,7 @@ public class SaveConstans {
         /**
          * 大修任务超期未完成 生成excel名称
          */
-        public static final String PLANNING_TASK_FILE_NAME = "大修任务超期未完成.xls";
+        public static final String PLANNING_TASK_FILE_NAME = "大修任务超期未完成.xlsx";
 
     }
     public static class FileSuffix {

+ 1 - 1
cx-equipment/cx-equipment-common/src/main/java/com/rongwei/bscommon/sys/service/impl/EquOverhaulPlanningTasksServiceImpl.java

@@ -157,7 +157,7 @@ public class EquOverhaulPlanningTasksServiceImpl extends ServiceImpl<EquOverhaul
                 List<EquOverhaulPlanningTasksVo> tasksVos = equOverhaulPlanningTasksMapperDao.selectTasksByFactoryId(planningTasksVo.getTenantid());
                 try {
                     // 读取模板文件
-                    TemplateExportParams params = new TemplateExportParams("template/大修任务超期未完成.xls",0);
+                    TemplateExportParams params = new TemplateExportParams("template/大修任务超期未完成.xlsx",0);
                     Map<String, Object> dataMap = new HashMap<>(16);
                     List<Map<String,Object>> dataList = new ArrayList<>();
                     List<String> workShopUserIds = new ArrayList<>();

cx-equipment/cx-equipment-common/src/main/resources/template/大修任务超期未完成.xls → cx-equipment/cx-equipment-common/src/main/resources/template/大修任务超期未完成.xlsx