Commit 1c287809 authored by hongguangwu's avatar hongguangwu

MVP1.7.17-离职待办-优化代码

parent 7a3047be
...@@ -584,6 +584,9 @@ public class EmployeeRegistrationLeaveServiceImpl extends ServiceImpl<EmployeeRe ...@@ -584,6 +584,9 @@ public class EmployeeRegistrationLeaveServiceImpl extends ServiceImpl<EmployeeRe
if (Common.isEmpty(doTypeWu) && Common.isEmpty(doTypeYi)) { if (Common.isEmpty(doTypeWu) && Common.isEmpty(doTypeYi)) {
return R.failed("请选择处理项"); return R.failed("请选择处理项");
} }
if (Common.isNotNull(remark) && remark.length()>200) {
return R.failed("无需处理原因超过200字!");
}
if (leave != null) { if (leave != null) {
StringBuilder errorInfo = new StringBuilder(); StringBuilder errorInfo = new StringBuilder();
StringBuilder logInfo = new StringBuilder("手动关闭:"); StringBuilder logInfo = new StringBuilder("手动关闭:");
......
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