Commit 8fad6995 authored by huyuchen's avatar huyuchen

电子档案文件夹名称格式修改

parent cc761b6b
...@@ -184,7 +184,7 @@ public class TElecEmployeeInfoServiceImpl extends ServiceImpl<TElecEmployeeInfoM ...@@ -184,7 +184,7 @@ public class TElecEmployeeInfoServiceImpl extends ServiceImpl<TElecEmployeeInfoM
empInfo = entry.getName(); empInfo = entry.getName();
infoList.add(empInfo); infoList.add(empInfo);
String dataType = ""; String dataType = "";
if (empInfo.length() == empInfo.lastIndexOf("/") + 1) { if (empInfo.lastIndexOf("/") != empInfo.indexOf("/")) {
if (!empInfo.contains("-")) { if (!empInfo.contains("-")) {
return R.failed("请使用正确的文件夹命名格式:身份证-员工姓名"); return R.failed("请使用正确的文件夹命名格式:身份证-员工姓名");
} }
......
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