修复bug
This commit is contained in:
Binary file not shown.
@@ -69,6 +69,7 @@ namespace WMS.Web.Domain.Services
|
||||
{
|
||||
_logger.LogInformation($"盘点保存:{JsonConvert.SerializeObject(dto)} 盘点人:{loginInfo.UserInfo.StaffId}");
|
||||
dto = dto.Where(w => w.AfterQty != w.BeforeQty).ToList();
|
||||
if (dto.Count() == 0) return Result.ReSuccess();
|
||||
if (dto.GroupBy(g => g.BoxId).Count() > 1)
|
||||
return Result.ReFailure(ResultCodes.TakeStockBoxError);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user