Commit 10d2782f authored by fangxinjiang's avatar fangxinjiang

节假日配置表及社保医疗截止配置表调整

parent 979adde1
......@@ -362,6 +362,12 @@ public class TSocialDeadlineInfoServiceImpl extends ServiceImpl<TSocialDeadlineI
}
//如果是基础配置 重置之前的配置
updateType(tSocialDeadlineInfo);
if (Common.isEmpty(tSocialDeadlineInfo.getCity())){
tSocialDeadlineInfo.setCity(null);
}
if (Common.isEmpty(tSocialDeadlineInfo.getTown())){
tSocialDeadlineInfo.setTown(null);
}
if (baseMapper.updateById(tSocialDeadlineInfo)>=0){
return R.ok();
}
......@@ -415,6 +421,12 @@ public class TSocialDeadlineInfoServiceImpl extends ServiceImpl<TSocialDeadlineI
}
//如果是基础配置 重置之前的配置
updateType(tSocialDeadlineInfo);
if (Common.isEmpty(tSocialDeadlineInfo.getCity())){
tSocialDeadlineInfo.setCity(null);
}
if (Common.isEmpty(tSocialDeadlineInfo.getTown())){
tSocialDeadlineInfo.setTown(null);
}
if (baseMapper.insert(tSocialDeadlineInfo) >= 0){
return R.ok();
}
......
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