瀏覽代碼

快照同步bug修复

Murphy 3 年之前
父節點
當前提交
4e87d4e60a

+ 1 - 1
MicroServices/Business/Business.Application/ResourceExamineManagement/ResourceExamineAppService.cs

@@ -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;
             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; });
                 srm_po_main.ForEach(item => { item.bang_id = bangid; });
                 await _srm_po_main.InsertMany(srm_po_main);
                 await _srm_po_main.InsertMany(srm_po_main);