From 875908402e9bb8836bd50272e9d331a9b37322a9 Mon Sep 17 00:00:00 2001 From: 王 垚 <1402714037@qq.com> Date: 星期四, 15 四月 2021 17:06:06 +0800 Subject: [PATCH] 代码上传 --- src/BLL/Demo.TimedTaskPlugIn/PRD/DayPlanPPBomBillTimeTask.cs | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/BLL/Demo.TimedTaskPlugIn/PRD/DayPlanPPBomBillTimeTask.cs b/src/BLL/Demo.TimedTaskPlugIn/PRD/DayPlanPPBomBillTimeTask.cs index d61a125..7f25581 100644 --- a/src/BLL/Demo.TimedTaskPlugIn/PRD/DayPlanPPBomBillTimeTask.cs +++ b/src/BLL/Demo.TimedTaskPlugIn/PRD/DayPlanPPBomBillTimeTask.cs @@ -1,5 +1,4 @@ 锘縰sing System.ComponentModel; -using Kingdee.BOS.Contracts; using Kingdee.BOS; using Kingdee.BOS.Core; using Kingdee.BOS.ServiceHelper; @@ -19,7 +18,7 @@ { public void Run(Context ctx, Schedule schedule) { - CloudClient cloudClient = new CloudClient("http://localhost/K3Cloud/"); + CloudClient cloudClient = new CloudClient("http://localhost//k3cloud/"); try { string sql = string.Format(@" @@ -78,8 +77,8 @@ ModelEnty.Add("FHPPBomInterID", DataRow[i]["FPPBOM"].ToString());//鐢ㄦ枡娓呭崟涓诲唴鐮丗HPPBomInterID ModelEnty.Add("FHPPBomEntryID", DataRow[i]["FENTRYID"].ToString());//鐢ㄦ枡娓呭崟瀛愬唴鐮丗HPPBomEntryID ModelEnty.Add("FHSourceID", new JObject() { ["Fnumber"] = DataRow[i]["FHSOURCENUMBER"].ToString() });//鐢熶骇璧勬簮FHSourceID - ModelEnty.Add("FNumerator", DataRow[i]["FNumerator"].ToString());//鍒嗘瘝 - ModelEnty.Add("FDenominator", DataRow[i]["FDenominator"].ToString());//鍒嗗瓙 + ModelEnty.Add("FNumerator", Convert.ToInt32(DataRow[i]["FNumerator"].ToString()));//鍒嗘瘝 + ModelEnty.Add("FDenominator", Convert.ToInt32(DataRow[i]["FDenominator"].ToString()));//鍒嗗瓙 ModelEnty.Add("FFIXSCRAPQTY", DataRow[i]["FFIXSCRAPQTY"].ToString());//鍥哄畾鎹熻�� ModelEnty.Add("FHQtyScrap", DataRow[i]["FSCRAPRATE"].ToString());//鍙樺姩鎹熻�楃巼% Entry.Add(ModelEnty); -- Gitblit v1.9.1