修改任务完成和未回传库存查询

This commit is contained in:
Mac mini git server 2026-04-28 22:16:52 +08:00
parent 4de93b195d
commit 3da4bddb98
2 changed files with 3 additions and 1 deletions

View File

@ -248,7 +248,7 @@ namespace HHWMS.Web
public IActionResult FindUnUpload(string warehousecode)
{
var data = _unitWork.Find<Inventory>(x =>
x.ZoneId == (warehousecode == "xb" ? 1027 : 1025)
x.ZoneId == (warehousecode == "xb" ? 1027 : 1028)
&& x.UploadErpFlag != 1)
.Select(x => new InventoryApi_View
{

View File

@ -23,6 +23,8 @@ namespace HHWMS.Web
var inv = _unitwork.Find<Inventory>(x =>
x.UploadErpFlag != 1
&& x.TaskStatus != InventoryTaskStatusEnum.Locked
&& x.ZoneId != 1025
&& x.UploadErpFlag != null
// && !string.IsNullOrEmpty(x.ReceiptDetailId)
)
.OrderByDescending(x => x.UploadErpFlag)