|
|
@@ -1555,7 +1555,7 @@ public class CorpsDescServiceImpl extends ServiceImpl<CorpsDescMapper, PjCorpsDe
|
|
|
if (CollectionUtils.isNotEmpty(corpsDesc.getCorpsAddrList())) {
|
|
|
long count = corpsDesc.getCorpsAddrList().stream().filter(e -> "1".equals(e.getDefaultAddres())).count();
|
|
|
if (count != 1) {
|
|
|
- throw new RuntimeException("默认地址唯一");
|
|
|
+ throw new RuntimeException("请为该客户选择一个默认地址");
|
|
|
}
|
|
|
corpsDesc.getCorpsAddrList().stream().forEach(addr -> {
|
|
|
addr.setPid(pId);
|