|
@@ -10,6 +10,7 @@ import com.hz.employmentsite.services.service.jobUserManager.JobHuntService;
|
|
|
import com.hz.employmentsite.services.service.system.DictionaryService;
|
|
|
import com.hz.employmentsite.util.StringUtils;
|
|
|
import com.hz.employmentsite.vo.jobUserManager.JobHuntVo;
|
|
|
+import org.apache.poi.hpsf.Decimal;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
@@ -105,7 +106,6 @@ public class JobHuntServiceImpl implements JobHuntService {
|
|
|
}
|
|
|
PcJobhuntExample contactExample = new PcJobhuntExample();
|
|
|
contactExample.or().andJobHuntIDIn(idList);
|
|
|
- pcJobhuntMapper.deleteByExample(contactExample);
|
|
|
return pcJobhuntMapper.deleteByExample(contactExample);
|
|
|
}
|
|
|
|
|
@@ -288,15 +288,16 @@ public class JobHuntServiceImpl implements JobHuntService {
|
|
|
else {
|
|
|
item.professionID = thirdLevelProfessionList.stream().filter(it -> it.getName().equals(item.getProfessionName().trim()))
|
|
|
.findFirst().orElse(new SysDictionaryItem()).getCode();
|
|
|
- if (item.professionID == null)
|
|
|
- errorInfo += "求职岗位不存在!";
|
|
|
+ //if (item.professionID == null)
|
|
|
+ // errorInfo += "求职岗位不存在!";
|
|
|
}
|
|
|
if (stringUtils.IsNullOrEmpty(item.areaWork))
|
|
|
errorInfo += "请填写希望工作地区!";
|
|
|
if (stringUtils.IsNullOrEmpty(String.valueOf(item.inDate)) || item.inDate == null)
|
|
|
errorInfo += "请填写可到职日期!";
|
|
|
- if (stringUtils.IsNullOrEmpty(String.valueOf(item.workYear)) || item.workYear.equals(0))
|
|
|
- errorInfo += "请填写工作年限!";
|
|
|
+ if (stringUtils.IsNullOrEmpty(String.valueOf(item.workYear))||String.valueOf(item.workYear).equals("null"))
|
|
|
+ item.setWorkYear(new BigDecimal(0));
|
|
|
+
|
|
|
|
|
|
if (stringUtils.IsNullOrEmpty(errorInfo)) {
|
|
|
resultList.add(item);
|