This commit is contained in:
tongfei
2024-03-29 18:16:22 +08:00
4 changed files with 19 additions and 18 deletions

View File

@@ -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);
//修改
//修改了名字或者编码后 验重