Commit 54c94205 authored by huyuchen's avatar huyuchen

huych-入离职登记提交

parent 3248adde
......@@ -24,8 +24,8 @@ public class EmployeeRegistrationVo extends RowIndex implements Serializable {
* 员工姓名
*/
@NotBlank(message = "员工姓名 不能为空")
@Length(max = 50, message = "员工姓名 不能超过50个字符")
@ExcelAttribute(name = "员工姓名", isNotEmpty = true, errorInfo = "员工姓名不能为空", maxLength = 50)
@Length(max = 20, message = "员工姓名 不能超过20个字符")
@ExcelAttribute(name = "员工姓名", isNotEmpty = true, errorInfo = "员工姓名不能为空", maxLength = 20)
@Schema(description = "员工姓名")
@ExcelProperty("员工姓名")
private String employeeName;
......
......@@ -369,9 +369,9 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr
return R.failed(RegistConstants.NO_DATA_TO_HANDLE);
}
registrationNow.setProcessStatus(CommonConstants.ZERO_STRING);
baseMapper.updateById(registrationNow);
logService.saveLog(registration.getId(), CommonConstants.ZERO_STRING,RegistConstants.CONFIRM_SUBMIT, registration.getProjectCreateTime(),
registration.getRegistorUsername(),RegistConstants.BEFORE_IN_PROJECT);
baseMapper.updateById(registrationNow);
return R.ok();
}
......
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