@@ -556,7 +556,7 @@ public class CustomerInfoServiceImpl extends ServiceImpl<CustomerInfoMapper, Cus
// --- 新增场景 ---
if (existingCustomer != null) {
// 数据库中已存在同名用户
- throw new IllegalArgumentException("客户名称不能为空");
+ throw new IllegalArgumentException("该客户已存在,请勿重复添加");
}
// 不存在,继续执行插入
entity = MapstructUtils.convert(bo, CustomerInfo.class);