DAL/仓库管理/ClsKf_MoveStockBill.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
DAL/仓库管理/ClsKf_SellOutBillForLayUI.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
DAL/销售管理/ClsXs_ReceivableBill.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WebAPI/Controllers/Sc_MouldRepairInBillListController.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WebAPI/Controllers/WebAPIController.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WebAPI/Controllers/XSGL/Kf_SellOutBillController.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WebAPI/Controllers/XSGL/Xs_ReceivableBillController.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WebAPI/Controllers/仓存管理/验收入库/Kf_StepFoldinBillController.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
DAL/²Ö¿â¹ÜÀí/ClsKf_MoveStockBill.cs
@@ -87,6 +87,10 @@ " where HInterID=" + lngBillKey.ToString()); //å é¤å ³è DeleteRelation(ref sReturn, lngBillKey); //ç´æ¥è°æ¨å ä¿®æ¹ æ¤é åå¡« è°æ¨ç³è¯·å å ³èæ°é oCn.RunProc("exec h_p_Kf_UpDateRelation_MoveStockRequestToPOStockIn_Del " + omodel.HInterID.ToString()); //å é¤å表 DeleteBillSub(lngBillKey); //æå ¥å表 DAL/²Ö¿â¹ÜÀí/ClsKf_SellOutBillForLayUI.cs
@@ -51,6 +51,10 @@ { oCn.RunProc("exec h_p_Xs_UpDateRelation_SeOrderToSellOut_Delete " + lngBillKey.ToString()); } else if (DetailColl[0].HSourceBillType == "1402") //åè´§éç¥å { oCn.RunProc("exec h_p_Xs_UpDateRelation_SeOutStockToPOStockIn_Add " + lngBillKey.ToString()); } else { @@ -80,6 +84,10 @@ { oCn.RunProc("exec h_p_Xs_UpDateRelation_SeOrderToSellOut_Add " + lngBillKey.ToString()); } else if(DetailColl[0].HSourceBillType == "1402") //åè´§éç¥å { oCn.RunProc("exec h_p_Xs_UpDateRelation_SeOutStockToPOStockIn_Add " + lngBillKey.ToString()); } else { DAL/ÏúÊÛ¹ÜÀí/ClsXs_ReceivableBill.cs
@@ -32,6 +32,61 @@ #endregion #endregion #region å ³èæ°é //å é¤å ³è //public override void DeleteRelation(ref string sReturn, Int64 lngBillKey) //{ // //éå®è®¢å éå®åºåºå å ³èæ°é // try // { // if (DetailColl[0].HSourceBillType == "1401") //éå®è®¢å // { // oCn.RunProc("exec h_p_Xs_UpDateRelation_SeOrderToPOStockIn_Del " + lngBillKey.ToString()); // } // else if (DetailColl[0].HSourceBillType == "1205") //éå®åºåºå // { // oCn.RunProc("exec h_p_Xs_UpDateRelation_ICStockoPOStockIn_Del " + lngBillKey.ToString()); // } // else // { // } // } // catch (Exception e) // { // throw (e); // } //} ////æ°å¢å ³è //public override void AddNewRelation(ref string sReturn, Int64 lngBillKey) //{ // //éå®è®¢å éå®åºåºå å ³èæ°é // try // { // if (DetailColl[0].HSourceBillType == "1401") //éå®è®¢å // { // oCn.RunProc("exec h_p_Xs_UpDateRelation_SeOrderToPOStockIn_Add " + lngBillKey.ToString()); // } // else if (DetailColl[0].HSourceBillType == "1205") //éå®åºåºå // { // oCn.RunProc("exec h_p_Xs_UpDateRelation_ICStockToPOStockIn_Add " + lngBillKey.ToString()); // } // else // { // } // } // catch (Exception e) // { // throw (e); // } //} #endregion #region ä¿®æ¹åæ® public override bool ModifyBill(Int64 lngBillKey, ref string sReturn) { @@ -113,6 +168,9 @@ ")"; oCn.RunProc(subSql); } ////æ´æ°è®¢åå ³èæ°é //AddNewRelation(ref sReturn, omodel.HInterID); sReturn = "ä¿®æ¹åæ®æåï¼"; oCn.Commit(); @@ -229,6 +287,10 @@ ")"; oCn.RunProc(subSql); } ////æ´æ°è®¢åå ³èæ°é //AddNewRelation(ref sReturn, omodel.HInterID); sReturn = "æ°å¢åæ®æåï¼"; oCn.Commit(); return true; WebAPI/Controllers/Sc_MouldRepairInBillListController.cs
@@ -1632,7 +1632,7 @@ oCN.BeginTran(); //åå¸å¼è°å ¥åæ°å¢åå¡«åå¸å¼è°åºåå ³èæ°é //ç´æ¥è°æ¨å å é¤ æ¤é åå¡« è°æ¨ç³è¯·å å ³èæ°é oCN.RunProc("exec h_p_Kf_UpDateRelation_MoveStockRequestToPOStockIn_Del " + HInterID); oCN.RunProc("Delete From Kf_ICStockBillMain where HInterID = " + HInterID); @@ -1801,6 +1801,10 @@ //éå®åºåºå é¤åå¡«éå®è®¢åå ³èæ°é //oCN.RunProc("exec h_p_Xs_UpDateRelation_SeOrderToSellOut_Delete " + HInterID); //éå®åºåºå é¤åå¡«æ¶è´§éç¥åå ³èæ°é //oCN.RunProc("exec h_p_Xs_UpDateRelation_SeOutStockToPOStockIn_Del " + HInterID); //oCN.RunProc("Delete From Kf_ICStockBillMain where HInterID = " + HInterID); //oCN.RunProc("Delete From Kf_ICStockBillSub where HInterID = " + HInterID); WebAPI/Controllers/WebAPIController.cs
@@ -11636,14 +11636,26 @@ /// <returns></returns> [Route("Web/GetHSourceBillType")] [HttpGet] public object GetHSourceBillType(string HName) public object GetHSourceBillType(string HName,int Num) { try { ClsCN oCn = new ClsCN(); DataSet oDs = new DataSet(); //========== //æçååæºåå为红èå 0代表èå 1代表红å if (Num==0) { //æºå为èå oDs = oCn.RunProcReturn("select * from Xt_BillSourceSet where HName='" + HName + "' HRedBlueFlag ='"+ Num+"' ", "Xt_BillSourceSet"); } else if (Num==1) { //æºå为红å oDs = oCn.RunProcReturn("select * from Xt_BillSourceSet where HName='" + HName + "' HRedBlueFlag ='" + Num + "' ", "Xt_BillSourceSet"); } else if(Num==2) { //ä¸å红èå oDs = oCn.RunProcReturn("select * from Xt_BillSourceSet where HName='"+HName+"'", "Xt_BillSourceSet"); } objjson.code = "1"; objjson.count = 1; objjson.Message = "è·åæåï¼"; WebAPI/Controllers/XSGL/Kf_SellOutBillController.cs
@@ -1078,6 +1078,43 @@ } #endregion #region éå®åºåºå æ ¹æ®ä¸»å ç ä¸åå ç è·ååè´§éç¥åæ°æ® [Route("Kf_SellOutBill/loadXs_SeOutStockBill_Push")] [HttpGet] public object loadXs_SeOrderBill_Push(long HInterID, long HSubID) { try { ds = oCN.RunProcReturn("select * from h_v_IF_SeOutStockBillList where hmainid =" + HInterID + " and hsubid = " + HSubID, "h_v_IF_SeOutStockBillList"); if (ds == null || ds.Tables[0].Rows.Count == 0) { objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = "æªæ¥è¯¢å°æºåä¿¡æ¯ï¼"; objJsonResult.data = null; return objJsonResult; } else { objJsonResult.code = "1"; objJsonResult.count = 1; objJsonResult.Message = "Sucessï¼"; objJsonResult.data = ds.Tables[0]; return objJsonResult; } } catch (Exception e) { objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = "Exceptionï¼" + e.ToString(); objJsonResult.data = null; return objJsonResult; } } #endregion #region éå®åºåºå æ£æ¥åæ®æ¯å¦åå¨ /// <summary> /// </summary> WebAPI/Controllers/XSGL/Xs_ReceivableBillController.cs
@@ -363,6 +363,24 @@ oCN.BeginTran(); //ds = oCN.RunProcReturn("select * from h_v_Xs_ReceivableBillList_Query where hmainid=" + HInterID, "h_v_Xs_ReceivableBillList_Query"); //foreach (DataRow row in ds.Tables[0].Rows) //{ // // è·åå½åè¡ç HSourceBillType å¼ // string hSourceBillType = row["HSourceBillType"].ToString(); // if (hSourceBillType == "1401") // { // //åºæ¶å å é¤åå¡« éå®è®¢å å ³èæ°é // oCN.RunProc("exec h_p_Xs_UpDateRelation_SeOrderToPOStockIn_Del " + HInterID); // } // else if (hSourceBillType == "1205") // { // //åºæ¶å å é¤åå¡« éå®åºåºå å ³èæ°é // oCN.RunProc("exec h_p_Xs_UpDateRelation_ICStockoPOStockIn_Del " + HInterID); // } //} oCN.RunProc("delete from Xs_ReceivableBillMain where HInterID = " + HInterID); oCN.RunProc("delete from Xs_ReceivableBillSub where HInterID= " + HInterID); WebAPI/Controllers/²Ö´æ¹ÜÀí/ÑéÊÕÈë¿â/Kf_StepFoldinBillController.cs
@@ -268,6 +268,10 @@ + ",HKeeperID=" + HKeeperID + ",HDeptID=" + HDeptID + " where HInterID=" + HInterID; oCN.RunProc(sql); //åå¸å¼è°å ¥å ç¼è¾ æ¤é åå¡«åå¸å¼è°åºåå ³èæ°é oCN.RunProc("exec h_p_Kf_UpDateRelation_ICStockToPOStockIn_Del " + HInterID); //å é¤å表 oCN.RunProc("delete from Kf_ICStockBillSub where HInterID='" + HInterID + "'"); }