This commit is contained in:
tongfei
2024-03-28 14:13:04 +08:00
2 changed files with 1 additions and 1 deletions

View File

@@ -64,7 +64,7 @@ namespace WMS.Web.Api.Controllers
//新增
var isExist = await _repositories.IsExist(dto.CustomerName, dto.CustomerNumber);
if (isExist) return Result.ReFailure($"客户名称:{dto.CustomerName} 客户编码:{dto.CustomerName} 已经存在,无需再次添加!", 700000);
if (isExist) return Result.ReFailure($"客户名称:{dto.CustomerName} 客户编码:{dto.CustomerNumber} 已经存在,无需再次添加!", 700000);
var entity = _mapper.Map<SubscribeNotification>(dto);
entity.Create(loginInfo.UserInfo.StaffId);