修复bug

This commit is contained in:
18942506660
2024-03-29 15:46:12 +08:00
parent 11ce2365c1
commit 5b3cf9c869

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