diff --git a/ICSSoft.FromERP/ICSAddStdWorkHourFromMES.cs b/ICSSoft.FromERP/ICSAddStdWorkHourFromMES.cs index d524ed6..52bc882 100644 --- a/ICSSoft.FromERP/ICSAddStdWorkHourFromMES.cs +++ b/ICSSoft.FromERP/ICSAddStdWorkHourFromMES.cs @@ -97,9 +97,9 @@ namespace ICSSoft.FromERP AddList.Add(new AddStdWorkHourItem() { ORGCode = "01",//u9 Base_Organization表 的 code 字段 组织编码 - WorkHour = (Manhour + AdditiveManHour) * Coefficient, // 整机计算逻辑:(本体基础工时型号 + 追加工时) * 系数 + WorkHour = ((Manhour + AdditiveManHour) * Coefficient) / 60, // 整机计算逻辑:(本体基础工时型号 + 追加工时) * 系数 CreatedByCode = "", - DepartmentCode = "",//部门 + DepartmentCode = "080502",//部门 ItemCode = dr["code"].ToString() }); } @@ -159,9 +159,9 @@ namespace ICSSoft.FromERP AddList.Add(new AddStdWorkHourItem() { ORGCode = "01",//u9 Base_Organization表 的 code 字段 组织编码 - WorkHour = (Manhour + AdditiveManHour) * Coefficient, // 本体部计算逻辑:(本体基础工时型号 + 追加工时) * 系数 + WorkHour = (Manhour + AdditiveManHour) * Coefficient / 60, // 本体部计算逻辑:(本体基础工时型号 + 追加工时) * 系数 CreatedByCode = "", - DepartmentCode = "",//部门 + DepartmentCode = "080502",//部门 ItemCode = dr["code"].ToString() }); } @@ -220,9 +220,9 @@ namespace ICSSoft.FromERP AddList.Add(new AddStdWorkHourItem() { ORGCode = "01",//u9 Base_Organization表 的 code 字段 组织编码 - WorkHour = (Manhour + AdditiveManHour) * Coefficient, // 驱动部计算逻辑:(本体基础工时型号 + 追加工时) * 系数 + WorkHour = (Manhour + AdditiveManHour) * Coefficient / 60, // 驱动部计算逻辑:(本体基础工时型号 + 追加工时) * 系数 CreatedByCode = "", - DepartmentCode = "",//部门 + DepartmentCode = "080502",//部门 ItemCode = dr["code"].ToString() }); }