Commit b619bd72 authored by fangxinjiang's avatar fangxinjiang

社保户优化-fxj

parent 3a732e2b
......@@ -133,7 +133,9 @@ public class SysHouseHoldInfoServiceImpl extends ServiceImpl<SysHouseHoldInfoMap
@Override
public R<Boolean> updateByIdAsso(SysHouseHoldInfo hold) {
//户名称去空格
hold.setName(hold.getName().replace(" ",""));
if (Common.isNotNull(hold) && Common.isNotNull(hold.getName())){
hold.setName(hold.getName().replace(" ",""));
}
if (Common.isEmpty(hold.getId())){
return R.failed(CommonConstants.PARAM_INFO_ERROR);
}
......
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