出入库任务单在金蝶没查到任务单 就作废
This commit is contained in:
@@ -828,5 +828,15 @@ namespace WMS.Web.Repositories
|
||||
|
||||
return (list, total);
|
||||
}
|
||||
|
||||
public async Task<List<InStockTask>> GetEntityList(DateTime begin)
|
||||
{
|
||||
var res = await _context.InStockTask
|
||||
.Include(s => s.Details)
|
||||
.Where(f => f.WmsUpdateTime >= begin)
|
||||
.ToListAsync();
|
||||
|
||||
return res.Clone();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Storage;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Newtonsoft.Json;
|
||||
using Org.BouncyCastle.Crypto;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -566,5 +567,14 @@ namespace WMS.Web.Repositories
|
||||
return entitys.Clone();
|
||||
}
|
||||
|
||||
public async Task<List<OutStockTask>> GetEntityList(DateTime begin)
|
||||
{
|
||||
var res = await _context.OutStockTask
|
||||
.Include(s => s.Details).ThenInclude(s => s.ErpDetails)
|
||||
.Where(f => f.WmsUpdateTime >= begin)
|
||||
.ToListAsync();
|
||||
|
||||
return res.Clone();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user