Merge branch 'v1.0.5' of https://codeup.aliyun.com/62ce7bca487c500c27f70a79/OPS/WMS-Api into v1.0.5
This commit is contained in:
Binary file not shown.
@@ -64,7 +64,7 @@ namespace WMS.Web.Api.Controllers
|
|||||||
|
|
||||||
//新增
|
//新增
|
||||||
var isExist = await _repositories.IsExist(dto.CustomerName, dto.CustomerNumber);
|
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);
|
var entity = _mapper.Map<SubscribeNotification>(dto);
|
||||||
entity.Create(loginInfo.UserInfo.StaffId);
|
entity.Create(loginInfo.UserInfo.StaffId);
|
||||||
|
|||||||
Reference in New Issue
Block a user