fix: 查询库存接口,按照入库时间降序返回

This commit is contained in:
sunwang committed 2026-11-12 14:13:01 +08:00
1 parent 471300768e
commit 57ce5eb5a2
7 files changed
+273 -71

No files matched your search

@@ -75,7 +75,7 @@ namespace HHWMS.Web
NextBatch = x.Lot,
UpdateTime = x.UpdateTime,
UploadFlag = x.UploadErpFlag
}).OrderBy(x => x.MaterialCode);
}).OrderByDescending(x => x.Createtime); // 按入库时间倒序,最新入库排在最前
return query;
}