LEIYI 7 月之前
父节点
当前提交
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("请填写领用原由!");