山洪责任人上传修改
parent
f064f5b087
commit
795b81bf49
|
|
@ -39,6 +39,9 @@ public class ShAddressBookServiceImpl extends ServiceImpl<ShAddressBookMapper, S
|
|||
return getBaseMapper().page(dto.getPage(), dto);
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println(StringUtils.deleteWhitespace(" 王 平 "));
|
||||
}
|
||||
/**
|
||||
* 全量更新
|
||||
*
|
||||
|
|
@ -58,7 +61,7 @@ public class ShAddressBookServiceImpl extends ServiceImpl<ShAddressBookMapper, S
|
|||
}
|
||||
String name = o.getName();
|
||||
if (StringUtils.isNotBlank(name)){
|
||||
o.setPhone(StringUtils.deleteWhitespace(name));
|
||||
o.setName(StringUtils.deleteWhitespace(name));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue