| | |
| | | queryWrapper.like("a.jobContent", empWorkexperience.getJobContent()); |
| | | } |
| | | if (StringUtils.isNotBlank(empWorkexperience.getEmpStatus())) { |
| | | queryWrapper.in("a.EmpStatus", empWorkexperience.getEmpStatus().split(",")); |
| | | queryWrapper.in("b.EmpStatus", empWorkexperience.getEmpStatus().split(",")); |
| | | } else { |
| | | queryWrapper.in("a.EmpStatus", 0); |
| | | } |
| | |
| | | .orElse("1"); |
| | | if(!checkRepetitiveData(empWorkexperience)) { |
| | | empWorkexperience.setWorkExperienceId(SequenceUtil.generateId(0L, ModuleCode.HR_EMPLOYEE)); |
| | | if("1".equals(empWorkexperience.getSex())){ |
| | | empWorkexperience.setSex("男"); |
| | | } else if("2".equals(empWorkexperience.getSex())){ |
| | | empWorkexperience.setSex("女"); |
| | | } |
| | | empWorkexperience.setCreator(operatorId); |
| | | empWorkexperience.setModifier(operatorId); |
| | | this.save(empWorkexperience); |