Commit e3aeafa0 authored by chenyuxi's avatar chenyuxi

feat: bug调整

parent 3fcc1c9c
......@@ -187,7 +187,7 @@ public class TEmpProfessionalQualificationServiceImpl extends ServiceImpl<TEmpPr
if (CommonConstants.ONE_STRING.equals(Integer.toString(emp.getFileStatus()))){
return new ErrorMessage(excel.getRowIndex(),MsgUtils.getMessage(ErrorCodes.ARCHIVES_EMP_REDUCED));
}
if (Common.isNotNull(list)){
if (Common.isNotNull(list) && CommonConstants.ZERO_STRING.equals(excel.getHaveQualification())){
// 检查添加是否已经存在
boolean match = list.stream().anyMatch(info ->
((Common.isEmpty(excel.getQualificationLevel()) && Common.isNotNull(info.getQualificationLevel()))
......
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