LEIYI месяцев назад: 7
Родитель
Сommit
b12a4a4674
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      OASystem/OASystem.Domain/Dtos/PersonnelModule/GoodsDTO.cs

+ 0 - 1
OASystem/OASystem.Domain/Dtos/PersonnelModule/GoodsDTO.cs

@@ -249,7 +249,6 @@ namespace OASystem.Domain.Dtos.PersonnelModule
         /// </summary>
         public GoodsReceiveOPDTOValidator()
         {
-            RuleFor(x => x.CurrUserId).Must(x => x > 0).WithMessage("请传入当前登陆用户ID!");
             RuleFor(x => x.GoodsId).Must(x => x > 0).WithMessage("请传入有效的物品Id!");
             RuleFor(x => x.Quantity).Must(x => x > 0).WithMessage("请传入有效的物品数量!");
             RuleFor(x => x.Reason).NotEmpty().WithMessage("请填写领用原由!");