ch
2022-11-07 46f04decbfe0f8347dc1ee2574fb10b36208e01e
WebAPI/Controllers/Sc_ProcessMangementController.cs
@@ -418,7 +418,8 @@
                    return objJsonResult;
                }
                //
                DataSet ds1 = oCN.RunProcReturn("select * from  h_v_TOERPProcduct_LastProc where HLastProc = '是' and  hbillno='" + BillNo.ToString() + "'", "h_v_TOERPProcduct_LastProc");
                //DataSet ds1 = oCN.RunProcReturn("select * from  h_v_TOERPProcduct_LastProc where HLastProc = '是' and  hbillno='" + BillNo.ToString() + "'", "h_v_TOERPProcduct_LastProc");
                DataSet ds1 = oCN.RunProcReturn("exec h_p_TOERPProcduct_LastProc '" + BillNo + "'", "h_p_TOERPProcduct_LastProc");
                DataRow dr1 = ds1.Tables[0].Rows[0];
                JObject model = new JObject();
@@ -505,7 +506,7 @@
                    Fentity.Add(FentityModel);
                    Fentity.Add(FentityModel);
                    //Fentity.Add(FentityModel);
                }
                model.Add("FEntity", Fentity); //明细信息                       
                JObject jsonRoot = new JObject()
@@ -543,7 +544,7 @@
                    oCN.RollBack();
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = $"生产入库单同步金蝶云失败!单号:{HBillNo.ToString()}" + result;
                    objJsonResult.Message = $"生产入库单同步金蝶云失败!单号:{HBillNo.ToString()}" + result + jsonRoot;
                    objJsonResult.data = null;
                    return objJsonResult;
                }