跟单加默认查询

This commit is contained in:
杰 朱
2021-05-18 14:52:39 +08:00
parent e5774f9b86
commit 674688f0f1
9 changed files with 451 additions and 104 deletions

View File

@@ -21,10 +21,10 @@ namespace NX.ERP.WebAPi.Controllers
[HttpPost]
[Route("api/Pmc/Inventorymom")]
public IEnumerable<object> Inventorymom([FromBody] List<string> moCodes)
public IEnumerable<NX.ERP.Model.PmcInventorymomRes> Inventorymom([FromBody] List<string> moCodes)
{
var PmcQuery = new NX.ERP.U8.Pmc.PmcQuery();
return PmcQuery.Inventorymom(moCodes);
return PmcQuery.Inventorymom(moCodes).OrderByDescending(m=> m.Mocode).ThenBy(m => m.SortSeq).ThenBy(m => m.Invcode1);
}
[HttpPost]