Commit 38d1ac3c authored by hongguangwu's avatar hongguangwu

MVP1.7.0 优化-清空户籍

parent 4eaf1e94
......@@ -3431,18 +3431,16 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
tPreEmployeeInfo.setEmpPhone(info.getEmpPhone());
if (Common.isNotNull(info.getIdProvinceValue())) {
tPreEmployeeInfo.setIdProvince(Integer.parseInt(info.getIdProvinceValue()));
} else {
tPreEmployeeInfo.setIdProvince(null);
}
if (Common.isNotNull(info.getIdCityValue())) {
tPreEmployeeInfo.setIdCity(Integer.parseInt(info.getIdCityValue()));
} else {
tPreEmployeeInfo.setIdCity(null);
}
if (Common.isNotNull(info.getIdTownValue())) {
tPreEmployeeInfo.setIdTown(Integer.parseInt(info.getIdTownValue()));
} else {
tPreEmployeeInfo.setIdTown(null);
if (Common.isNotNull(info.getIdCityValue())) {
tPreEmployeeInfo.setIdCity(Integer.parseInt(info.getIdCityValue()));
} else {
tPreEmployeeInfo.setIdCity(null);
}
if (Common.isNotNull(info.getIdTownValue())) {
tPreEmployeeInfo.setIdTown(Integer.parseInt(info.getIdTownValue()));
} else {
tPreEmployeeInfo.setIdTown(null);
}
}
tPreEmployeeInfo.setEmpRegisType(info.getEmpRegisTypeValue());
if (Common.isNotNull(info.getFileProvinceValue())) {
......
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