fix: 查询库存接口,按照入库时间降序返回
This commit is contained in:
1 parent
471300768e
commit
57ce5eb5a2
7 files changed
+273
-71
No files matched your search
@@ -26,10 +26,11 @@ namespace HHWMS.Web.Controllers
|
||||
if (ModelState.IsValid)
|
||||
{
|
||||
var vm = Wtm.CreateVM<InventoryApiListVM>(passInit: true);
|
||||
// 默认按入库时间倒序:最新入库的库存排在最前
|
||||
searcher.SortInfo = new SortInfo()
|
||||
{
|
||||
Property = "MaterialCode",
|
||||
Direction = SortDir.Asc
|
||||
Property = "Createtime",
|
||||
Direction = SortDir.Desc
|
||||
};
|
||||
searcher.IsPlainText = false;
|
||||
searcher.IsEnumToString = true;
|
||||
|
||||
Reference in new issue
Block a user