Commit e59bdfff authored by ZWT's avatar ZWT

feat(吉林演示): 松原

1.开发间开优化结果统计功能,创建间开优化效果统计表,生成对应代码;
2.修改15天,10天,3天,1天间开优化功能,修改代码结构;

BREAKING CHANGE: 无

Closes 无

[skip ci]
parent cac3c716
...@@ -276,9 +276,9 @@ public class EasyExcelUtil { ...@@ -276,9 +276,9 @@ public class EasyExcelUtil {
EasyExcel.read(inputStream, clazz, excelListener).build(); EasyExcel.read(inputStream, clazz, excelListener).build();
inputStream.close(); inputStream.close();
return excelReader; return excelReader;
} catch (Exception ignored) { } catch (Exception e) {
throw new RuntimeException(e);
} }
return null;
} }
/** /**
......
package pps.core.common.utils; package pps.core.common.utils;
import lombok.extern.slf4j.Slf4j;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.net.URL; import java.net.URL;
...@@ -8,6 +10,7 @@ import java.util.HashMap; ...@@ -8,6 +10,7 @@ import java.util.HashMap;
import java.util.jar.Attributes; import java.util.jar.Attributes;
import java.util.jar.Manifest; import java.util.jar.Manifest;
@Slf4j
public class ManifestComponentInfoHelper { public class ManifestComponentInfoHelper {
private final static HashMap<String, ManifestComponentInfo> manifestComponentInfoHashMap = new HashMap<>(); private final static HashMap<String, ManifestComponentInfo> manifestComponentInfoHashMap = new HashMap<>();
...@@ -38,10 +41,11 @@ public class ManifestComponentInfoHelper { ...@@ -38,10 +41,11 @@ public class ManifestComponentInfoHelper {
manifestComponentInfoHashMap.put(k, manifestComponentInfo); manifestComponentInfoHashMap.put(k, manifestComponentInfo);
} }
} catch (IOException ignored) { } catch (IOException ignored) {
log.error("ManifestComponentInfoHelper ", ignored);
} }
} }
} catch (Exception ignored) { } catch (Exception ignored) {
log.error("ManifestComponentInfoHelper ", ignored);
} }
} }
} }
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment