11
This commit is contained in:
@@ -468,9 +468,11 @@ namespace MyCode.Project.Services.Implementation
|
||||
/// 抓取金蝶的采购订单
|
||||
/// </summary>
|
||||
|
||||
public void AddOrderFromKingDee()
|
||||
public void AddOrderFromKingDee(string SupplierId="")
|
||||
{
|
||||
var userList = _sysLoginRepository.Queryable().Where(t => t.Status == 1 && t.IsDeleted == false && t.SystemType == 0 && t.SupplierId != "").ToList();
|
||||
if (SupplierId != "")
|
||||
userList = userList.Where(t => t.SupplierId == SupplierId).ToList();
|
||||
userList.ForEach(t =>
|
||||
{
|
||||
var maxDate = _purchaseOrderRepository.Queryable().Where(h => h.SupplierId == t.SupplierId).Max(h => h.FModifyDate);
|
||||
|
||||
Reference in New Issue
Block a user