YL
2021-08-18 5911d6149753248bbee1899638020fee5ee46387
nothing
1个文件已修改
4 ■■■ 已修改文件
CLOUDWEB/WebService1.asmx.cs 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
CLOUDWEB/WebService1.asmx.cs
@@ -5027,6 +5027,7 @@
        public bool SaveICMOProductReportBill_ICMO_CLD_Layui(Model.ClsSc_ICMOReportBillMain oMain,string workcode,int HSourceID, string sHSourceType, Pub_Class.ClsXt_SystemParameterMain oSystemParameterMain, ref string sErrMsg)
        {
            SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); //建立一个 事务;
            string aa = "";
            try
            {
                
@@ -5081,6 +5082,7 @@
                oMain.HGroupID = DBUtility.ClsPub.isLong(ds.Tables[0].Rows[0]["HGroupID"]);
                oMain.HDeptID = DBUtility.ClsPub.isLong(ds0.Tables[0].Rows[0]["HDeptID"]);
                oMain.HPRDORGID = DBUtility.ClsPub.isLong(ds0.Tables[0].Rows[0]["HPRDORGID"]);
                aa = "aa:" + oMain.HGroupID + "bb:" + oMain.HDeptID + "cc:" + oMain.HPRDORGID;
                //插入子表
                oCn.RunProc("exec h_p_Sc_ICMOReportBillSub_Insert_WorkQty " + oMain.HInterID.ToString() + ",'" + oMain.HBillNo + "','" + sHSourceType + "'");
                //插入主表
@@ -5318,7 +5320,7 @@
            }
            catch (Exception e)
            {
                sErrMsg = "生成生产汇报单失败!" + e.Message;
                sErrMsg = "生成生产汇报单失败!" + e.Message+ aa;
                oCn.RollBack();
                return false;
            }