|
|
@@ -581,7 +581,7 @@ namespace Business.ResourceExamineManagement
|
|
|
|
|
|
//采购订单
|
|
|
var srm_po_main = _mysql_srm_po_main.GetListAsync(x => x.tenant_id == tenantId && x.factory_id == factoryId).Result;
|
|
|
- if (crm_seorderentry.Count > 0)
|
|
|
+ if (srm_po_main.Count > 0)
|
|
|
{
|
|
|
srm_po_main.ForEach(item => { item.bang_id = bangid; });
|
|
|
await _srm_po_main.InsertMany(srm_po_main);
|