diff --git a/ProductionMgr/Tnb.ProductionMgr/TimeWorkService.cs b/ProductionMgr/Tnb.ProductionMgr/TimeWorkService.cs index bc077028..b7a4b83b 100644 --- a/ProductionMgr/Tnb.ProductionMgr/TimeWorkService.cs +++ b/ProductionMgr/Tnb.ProductionMgr/TimeWorkService.cs @@ -801,6 +801,7 @@ namespace Tnb.ProductionMgr AuthResponse authResponse5 = JsonConvert.DeserializeObject(response5); result += ","+authResponse5.data.ToString(); + Log.Information($"基础数据同步结果:{result}"); return result; } @@ -1073,7 +1074,6 @@ namespace Tnb.ProductionMgr await _db.Ado.CommitTranAsync(); msg = $"新增物料{insertMaterial.Count}条,修改物料{editCount}条"; - Log.Information(msg); } catch (Exception e) { @@ -1177,7 +1177,8 @@ namespace Tnb.ProductionMgr table_id = basCustomer.id, table_name = "bas_customer", customer_id = erpBdCustomer.ID, - create_time = DateTime.Now + create_time = DateTime.Now, + erp_modify_time = erpBdCustomer.MODIFIEDTIME, }; insertCustomers.Add(basCustomer); @@ -1259,7 +1260,8 @@ namespace Tnb.ProductionMgr table_id = basSupplier.id, table_name = "bas_supplier", supplier_id = erpBdSupplier.ID, - create_time = DateTime.Now + create_time = DateTime.Now, + erp_modify_time = erpBdSupplier.MODIFIEDTIME, }; insertSuppliers.Add(basSupplier); diff --git a/system/Tnb.Systems/Tnb.Systems.csproj b/system/Tnb.Systems/Tnb.Systems.csproj index ef1765d0..21adaf26 100644 --- a/system/Tnb.Systems/Tnb.Systems.csproj +++ b/system/Tnb.Systems/Tnb.Systems.csproj @@ -15,6 +15,7 @@ +