Commit e4678d1e authored by hongguangwu's avatar hongguangwu

MVP1.7.0 优化

parent 1e6d4c65
......@@ -3580,9 +3580,13 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
}
if (Common.isNotNull(excel.getIdCityValue())) {
saveEmp.setIdCity(Integer.parseInt(excel.getIdCityValue()));
} else {
saveEmp.setIdCity(null);
}
if (Common.isNotNull(excel.getIdTownValue())) {
saveEmp.setIdTown(Integer.parseInt(excel.getIdTownValue()));
} else {
saveEmp.setIdTown(null);
}
if (Common.isNotNull(excel.getIsCollegeValue())) {
saveEmp.setIsCollege(Integer.parseInt(excel.getIsCollegeValue()));
......
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