修复bug

This commit is contained in:
18942506660
2024-03-28 11:11:01 +08:00
parent 18ed2a7d82
commit c744143a4a
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);