|
@@ -32,8 +32,8 @@ import org.apache.poi.xssf.usermodel.XSSFWorkbook;
|
|
*/
|
|
*/
|
|
public class ProjectTest2 {
|
|
public class ProjectTest2 {
|
|
public static void main(String[] args) {
|
|
public static void main(String[] args) {
|
|
- List<List<Object>> excel1 = getExcel("C:\\Users\\mayn\\Desktop\\分权手册2022_09_21_16_33_42.xlsx");
|
|
|
|
- List<List<Object>> excel2 = getExcel("C:\\Users\\mayn\\Desktop\\凯捷--2022年度分级授权手册20220920更新了花名册(1).xls");
|
|
|
|
|
|
+ List<List<Object>> excel1 = getExcel("C:\\Users\\86186\\Desktop\\分权手册2022_09_22_14_18_14.xlsx");
|
|
|
|
+ List<List<Object>> excel2 = getExcel("C:\\Users\\86186\\Desktop\\凯捷--2022年度分级授权手册20220921.xls");
|
|
|
|
|
|
// 最新的h2分权手册
|
|
// 最新的h2分权手册
|
|
List<MyExcelData> excelDataList = new ArrayList<>();
|
|
List<MyExcelData> excelDataList = new ArrayList<>();
|
|
@@ -213,7 +213,7 @@ public class ProjectTest2 {
|
|
}
|
|
}
|
|
|
|
|
|
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("YYYYMMddHHmmss");
|
|
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("YYYYMMddHHmmss");
|
|
- File file = new File("C:/Users/mayn/Desktop/更新过后的分权手册" + simpleDateFormat.format(new Date()) + ".xls");
|
|
|
|
|
|
+ File file = new File("C:/Users/86186/Desktop/更新过后的分权手册" + simpleDateFormat.format(new Date()) + ".xls");
|
|
if (file.exists()) {
|
|
if (file.exists()) {
|
|
file.delete();
|
|
file.delete();
|
|
}
|
|
}
|