编制模板优化

This commit is contained in:
dxfeng 2022-10-25 16:24:18 +08:00
parent b2fc9d3e0c
commit 7258ee742d
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ public class StaffServiceImpl extends Service implements StaffService {
// 判断编制导入模板是否存在不存在则创建该文件
static {
try {
String outPutPath = GCONST.getRootPath() + "/hrm/import/template/staff.xls";
String outPutPath = GCONST.getRootPath() + File.separator + "hrm" + File.separator + "import" + File.separator + "template" + File.separator + "staff.xls";
File excelPathFile = new File(outPutPath);
if (!excelPathFile.exists()) {
String columns = "方案编号,方案名称,分部,部门,岗位,编制数";