From 26103c72e1ebd8ec39d4f70808f524a9e3c6689e Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期一, 14 七月 2025 10:27:52 +0800 Subject: [PATCH] 新增离职的人员选项使用下拉框(查询改员工最新的入职信息) --- src/main/java/com/ruoyi/common/utils/file/FileUtils.java | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/ruoyi/common/utils/file/FileUtils.java b/src/main/java/com/ruoyi/common/utils/file/FileUtils.java index e7b9baf..d4815b0 100644 --- a/src/main/java/com/ruoyi/common/utils/file/FileUtils.java +++ b/src/main/java/com/ruoyi/common/utils/file/FileUtils.java @@ -116,8 +116,7 @@ // 璺緞涓烘枃浠朵笖涓嶄负绌哄垯杩涜鍒犻櫎 if (file.isFile() && file.exists()) { - file.delete(); - flag = true; + flag = file.delete(); } return flag; } -- Gitblit v1.9.3