修复bug
This commit is contained in:
@@ -88,7 +88,7 @@ namespace WMS.Web.Api.Controllers
|
||||
return Result.ReFailure(ResultCodes.Token_Invalid_Error);
|
||||
|
||||
var entity = await _repositories.Get(dto.Id);
|
||||
if (entity == null)
|
||||
if (entity == null || entity.IsDelete == true)
|
||||
return Result.ReFailure(ResultCodes.SubscribeNotificationNoData);
|
||||
//修改
|
||||
//修改了名字或者编码后 验重
|
||||
|
||||
Reference in New Issue
Block a user