Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API
| | |
| | | { |
| | | omodel.Sc_ProcessExchangeBill_DeleterAndMakerMustSame = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); |
| | | } |
| | | if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Sc_ProcessExchangeBill_SaveDeptIsNull") |
| | | { |
| | | omodel.Sc_ProcessExchangeBill_SaveDeptIsNull = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); |
| | | } |
| | | |
| | | |
| | | ////=========å·¥åºè¿ç«å |
| | |
| | | { |
| | | omodel.Sc_ProcessExchangeBill_DeleterAndMakerMustSame = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); |
| | | } |
| | | |
| | | if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Sc_ProcessExchangeBill_SaveDeptIsNull") |
| | | { |
| | | omodel.Sc_ProcessExchangeBill_SaveDeptIsNull = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); |
| | | } |
| | | |
| | | //-======å·¥åºè¿ç«æ¥æ¶å |
| | | //èªå¨æ°å¢ |
| | |
| | | public string Sc_ProcessExchangeBill_SaveAutoAddnew; //ä¿ååå为æ°å¢ç¶æ |
| | | public string Sc_ProcessExchangeBill_AutoBarCode; //å·¥åºæµè½¬å¡ä¿åèªå¨åæ¥æ¡ç æ¡£æ¡ |
| | | public string Sc_ProcessExchangeBill_DeleterAndMakerMustSame; //å·¥åºæµè½¬å¡å é¤äººå¿
é¡»æ¯å¶å人 |
| | | public string Sc_ProcessExchangeBill_SaveDeptIsNull; //å·¥åºæµè½¬å¡ æ ¹æ®è½¦é´å¤æ åæ®µæ¯å¦ä¸ºç©º |
| | | |
| | | //å·¥åºè¿ç«æ¥æ¶å |
| | | public string MES_StationInBill_AutoCheck; //ä¿å忝å¦èªå¨å®¡æ ¸ |
| | |
| | | double HWasterQty_Mater = list[0].HWasterQty_Mater;//æåºæ°é |
| | | double HBackWorkQty = list[0].HBackWorkQty;//è¿å·¥æ°é |
| | | Int64 HShiftsID = list[0].HShiftsID;//çäº§çæ¬¡ |
| | | double HToCheckQty = list[0].HToCheckQty;//åæ ·æ°é |
| | | double HLossQty = list[0].HLossQty;//é失æ°é |
| | | |
| | | LogService.Write($"1.åæ®µèµå¼ï¼ç¨æ¶" + sw.Elapsed ); |
| | | |
| | |
| | | if (oSystemParameter.ShowBill(ref Ret)) |
| | | { |
| | | //夿客æ·ä¸ä¸ºé¾å±±æ±½é
|
| | | if (oSystemParameter.omodel.WMS_CampanyName != "é¾å±±æ±½é
"&& oSystemParameter.omodel.WMS_CampanyName != "çä¸ç¥º") //ç³»ç»åæ° |
| | | if (oSystemParameter.omodel.WMS_CampanyName != "é¾å±±æ±½é
" && oSystemParameter.omodel.WMS_CampanyName != "çä¸ç¥º") //ç³»ç»åæ° |
| | | { |
| | | if (HSourceID == 0) |
| | | { |
| | |
| | | objJsonResult.Message = "çäº§èµæºæ²¡æéæ©ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | } |
| | | //夿客æ·ä¸ºé¾å±±æ±½é
|
| | | else if (oSystemParameter.omodel.WMS_CampanyName == "é¾å±±æ±½é
") |
| | |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | //夿客æ·ä¸ºæ¯è«å° |
| | | else if (oSystemParameter.omodel.WMS_CampanyName == "æå·æ¯è«å°") |
| | | { |
| | | if (HQty + HWasterQty + HBadCount <= 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ ¼æ°éå æ¥åºæ°éå ä¸è¯æ°éä¸è½ä¸º0ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | else { |
| | | if (HQty + HWasterQty <= 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ ¼æ°éå æ¥åºæ°éä¸è½ä¸º0ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | } |
| | | |
| | | //if (HCenterID == 0) |
| | |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | //} |
| | | if (HQty + HWasterQty <= 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ ¼æ°éå æ¥åºæ°éä¸è½ä¸º0ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | //if (HWorkTimes <= 0) |
| | | //{ |
| | |
| | | ",HMainSourceInterID,HMainSourceBillNo,HMainSourceBillType,HLastSubProc" + |
| | | ",HEmpID2,HEmpID3,HEmpID4,HEmpID5,HDSQty,HChongQty,HPriceRate,HWorkTimes,HQCCheckID,HMainInterID,HPRDOrgID" + |
| | | ",HmaterOutqty,HProcPriceRate,HTemporaryAreaID,HWasterQty_Work,HWasterQty_Mater,HBackWorkQty,HShiftsID" + |
| | | ",HToCheckQty,HLossQty" + |
| | | ") " + |
| | | " values('" + BillType + "','" + (OperationType == "5" ? "SUB" : HBillSubType) + "'," + HInterID + ",'" + HBillNo + "'," + HBillStatus + ",getdate(),'" + HMaker + "',getdate(),'" + HMouldNum + "'" + |
| | | "," + HYear + "," + HPeriod + ",'" + HRemark + "','" + HSourceName + "'," + HPieceQty + "," + HWasterQty + "," + HPlanPieceQty + "," + HBadPNL + |
| | |
| | | "," + HSupID + "," + HQty + "," + HPrice + "," + HMoney + "," + HBadCount + "," + HCenterID + "," + HProcNo + ",'" + HOrderProcNO + "'" + ",'" + HSourceNameList + "'" + |
| | | "," + HMainSourceInterID + ",'" + HMainSourceBillNo + "','" + HMainSourceBillType + "'," + Convert.ToString(HLastSubProc ? 1 : 0) + |
| | | "," + HEmpID2 + "," + HEmpID3 + "," + HEmpID4 + "," + HEmpID5 + "," + HDSQty + "," + HChongQty + "," + HPriceRate + "," + HWorkTimes + "," + HQCCheckID + "," + HMainInterID + "," + HPRDOrgID + |
| | | ","+ HmaterOutqty + "," + HProcPriceRate + ","+ HTemporaryAreaID + "," + HWasterQty_Work + "," + HWasterQty_Mater + "," + HBackWorkQty + |
| | | "," + HShiftsID + ") "); |
| | | "," + HmaterOutqty + "," + HProcPriceRate + "," + HTemporaryAreaID + "," + HWasterQty_Work + "," + HWasterQty_Mater + "," + HBackWorkQty + |
| | | "," + HShiftsID + "," + HToCheckQty + "," + HLossQty + ") "); |
| | | |
| | | LogService.Write($"4.æ°å¢ç»æï¼ç¨æ¶" + sw.Elapsed); |
| | | LogService.Write("ç¨æ·:" + user + ",æ¥æ:" + DateTime.Now + ",æ°å¢å·¥åºåºç«åæ®:" + HBillNo); |
| | |
| | | ",HWorkTimes=" + HWorkTimes + |
| | | ",HSaveBillFlag=0 " + |
| | | ",HPieceQty=" + HPieceQty + |
| | | ",HToCheckQty=" + HToCheckQty + |
| | | ",HLossQty=" + HLossQty + |
| | | ",HQty=" + HQty + |
| | | ",HDSQty=" + HDSQty + |
| | | ",HChongQty=" + HChongQty + |
| | |
| | | using DBUtility; |
| | | using DAL; |
| | | using DBUtility; |
| | | using DLL; |
| | | using Newtonsoft.Json; |
| | | using Newtonsoft.Json.Linq; |
| | | using System; |
| | |
| | | using System.Linq; |
| | | using System.Net; |
| | | using System.Net.Http; |
| | | using System.Timers; |
| | | using System.Threading.Tasks; |
| | | using System.Web.Http; |
| | | using WebAPI.Models; |
| | | using System.Threading; |
| | | |
| | | namespace WebAPI.Controllers.SCGL |
| | | { |
| | |
| | | /// <returns></returns> |
| | | [Route("Sc_MESTransFerWorkBill/SaveGetMESTransFerWorkFrom")] |
| | | [HttpPost] |
| | | public object SaveGetMESTransFerWorkFrom([FromBody] JObject msg) |
| | | public object SaveGetMESTransFerWorkFromAsync([FromBody] JObject msg) |
| | | { |
| | | |
| | | var _value = msg["msg"].ToString(); |
| | |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | //string[] arrStr = oItem.HSendMan.Split(','); //åé人 |
| | | //arrStr = oItem.HReceiveMan.Split(','); //æ¥æ¶äºº |
| | | string[] arrStr = oItem.HCopyMan.Split(','); //æé人 |
| | |
| | | Models.ClsOA_ErrMsgBackBillSub2 sb = new Models.ClsOA_ErrMsgBackBillSub2(); |
| | | sb.HEntryID = i; |
| | | sb.HReceiveMan = arrStr[i - 1]; |
| | | if (arrStr[i-1].ToString() == oItem.HSendMan) |
| | | if (arrStr[i - 1].ToString() == oItem.HSendMan) |
| | | { |
| | | sb.HReadFlag = true; |
| | | } |
| | |
| | | } |
| | | } |
| | | } |
| | | SaveOA_ErrMsgBackBillSub(msg2);//ç¬¬ä¸æ¬¡ä¿ååééé |
| | | |
| | | } |
| | | else |
| | |
| | | #endregion |
| | | |
| | | #endregion |
| | | |
| | | #region å¼å¸¸åé¦åä¿åå,å¾å表éé¢å»æå
¥æ°æ® |
| | | public object SaveOA_ErrMsgBackBillSub(string msg2) |
| | | { |
| | | msg2 = "[" + msg2.ToString() + "]"; |
| | | List<ClsOA_ErrMsgBackBillMain> mainList = Newtonsoft.Json.JsonConvert.DeserializeObject<List<ClsOA_ErrMsgBackBillMain>>(msg2); |
| | | |
| | | long HInterID = mainList[0].HInterID;//éå
¥typeå¾å°çåæ®ID |
| | | string HReceiveMan = mainList[0].HReceiveMan;//æ¥æ¶äºº |
| | | string HDescription = mainList[0].HDescription;//å
容 |
| | | int HEntryID = 1; |
| | | |
| | | string sql = "insert into OA_ErrMsgBackBillSub2 values('" + HInterID + "','" + HEntryID + "','" + HReceiveMan + "','0')"; |
| | | oCN.RunProcReturn(sql, "OA_ErrMsgBackBillSub2"); |
| | | //ç´æ¥åéééæ¶æ¯ s |
| | | FistDingDingMesAsync(HReceiveMan, HDescription); |
| | | |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æå
¥æå,å¼å§æ§è¡å®æ¶ä»»å¡,ééåéæ¶æ¯"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å¼å¸¸åé¦åç¬¬ä¸æ¬¡ä¿åçæ¶åè¿è¡åéæ¶æ¯ |
| | | /// </summary> |
| | | /// <param name="HReceiveMan"></param> |
| | | /// <param name="HDescription"></param> |
| | | public async void FistDingDingMesAsync(string HReceiveMan, string HDescription) |
| | | { |
| | | |
| | | ds = oCN.RunProcReturn("select * from Gy_Czygl where Czymc='" + HReceiveMan + "'", "Gy_Czygl"); |
| | | string DDUserID = ds.Tables[0].Rows[0]["DDUserID"].ToString(); //ééç¨æ·çid |
| | | Cls_DDMsg msg = new Cls_DDMsg(); |
| | | string appKey = "dingrsrzhdyn3mlaof95"; |
| | | string appSecret = "RAqH6YtZnPLCpDbuqfaYQkKkVtVdS0wqfC8I26X6qiS-8eoCJCNrzx3fubGND4Sq"; |
| | | //è·åä¼ä¸çaccess_tokençå¼ |
| | | string response = msg.GetAccessToken(appKey, appSecret); |
| | | JObject responseJson = JObject.Parse(response); |
| | | // è·åaccess_tokençå¼ |
| | | string accessToken = responseJson["accessToken"].ToString(); |
| | | //è°ç¨æ¹æ³åéæ¶æ¯ |
| | | string agentId = "3118119317"; //ä¼ä¸å
é¨å°ç¨åºid |
| | | string deptIdList = "0"; // 空åç¬¦ä¸²è¡¨ç¤ºä¸æå®é¨é¨ |
| | | string toAllUser = "false"; |
| | | string message = HDescription;//å¼å¸¸åé¦åçå
容 |
| | | response = await msg.SendTextMessage(accessToken, agentId, DDUserID, deptIdList, toAllUser, message); |
| | | Console.WriteLine($"åå§æ¶æ¯åéç»æ: {response}"); |
| | | } |
| | | |
| | | #endregion |
| | | } |
| | | } |
| | |
| | | //----------å建è表------------------------ |
| | | DataTable dt_Main = new DataTable("Json"); |
| | | dt_Main.Columns.Add("HBillNo", typeof(string)); |
| | | dt_Main.Columns.Add("HInterID", typeof(int)); |
| | | dt_Main.Columns.Add("HInterID", typeof(Int64)); |
| | | //---------å建æ°è¡------------------------ |
| | | DataRow dr_main = dt_Main.NewRow();//å建æ°è¡ |
| | | dt_Main.Rows.Add(dr_main);//å°æ°è¡å å
¥å°è¡¨ä¸ |
| | |
| | | try |
| | | { |
| | | |
| | | ds = oCN.RunProcReturn("select b.HItemID,b.HNumber,b.HName from Gy_DotCheck a left join gy_DotCheckItemClass b on a.HDotCheckItemClassID=b.HItemID", "Gy_DotCheck"); |
| | | ds = oCN.RunProcReturn("select HItemID,HNumber,HName from gy_DotCheckItemClass", "gy_DotCheckItemClass"); |
| | | |
| | | List<TreeModel> treeModels = new List<TreeModel>(); |
| | | TreeModel first = new TreeModel(); |
| | |
| | | { |
| | | try |
| | | { |
| | | ds = oCn.RunProcReturn("select * from Gy_BarCodeBill where HBarcode='" + HBarCode + "'", "Gy_BarCodeBill"); |
| | | if (ds.Tables[0].Rows.Count == 0) { |
| | | DAL.ClsGy_BarCodeBill_View dal = new DAL.ClsGy_BarCodeBill_View(); |
| | | string sErrMsg = ""; |
| | | oSystemParameter.ShowBill(ref sErrMsg); |
| | | |
| | | if (oSystemParameter.omodel.WMS_CampanyName == "æå·æ¯è«å°") |
| | | { |
| | | if (!dal.GetInfoByNumber(HBarCode)) |
| | | { |
| | | //æ¡ç è§£æ |
| | | string[] str = HBarCode.Split('@'); |
| | | |
| | | if (str[0] != "CMR" && str[0] != "SRM") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ¡ç è§£æå¤±è´¥,请确认æ¡ç æ¯å¦æ£ç¡®!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | int HOrgIDs = 0; |
| | | //æ¥è¯¢ç»ç» |
| | | DataSet ds = oCn.RunProcReturn("select * from Xt_ORGANIZATIONS where HNumber='" + str[1] + "' ", "Xt_ORGANIZATIONS"); |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ¡ç è§£æå¤±è´¥,请确认æ¡ç ç»ç»æ¯å¦æ£ç¡®!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | HOrgIDs = int.Parse(ds.Tables[0].Rows[0]["HItemID"].ToString()); |
| | | } |
| | | |
| | | string HMaterNames = ""; |
| | | string HMaterModels = ""; |
| | | string HMaterIDs = "0"; |
| | | //æ¥è¯¢ç©æ |
| | | ds = oCn.RunProcReturn("select * from Gy_Material where HNumber='" + str[4] + "' and HUSEORGID=" + HOrgIDs, "Gy_Material"); |
| | | |
| | | |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ¡ç è§£æå¤±è´¥,请确认æ¡ç ç©ææ¯å¦æ£ç¡®!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | HMaterIDs = ds.Tables[0].Rows[0]["HItemID"].ToString(); |
| | | HMaterNames = ds.Tables[0].Rows[0]["HName"].ToString(); |
| | | HMaterModels = ds.Tables[0].Rows[0]["HModel"].ToString(); |
| | | |
| | | } |
| | | string HSupIDs = "0"; |
| | | //æ¥è¯¢ä¾åºå |
| | | ds = oCn.RunProcReturn("select * from Gy_Supplier where HNumber='" + str[2] + "' and HUSEORGID=" + HOrgIDs, "Gy_Supplier"); |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | //sErrMsg = "æ¡ç è§£æå¤±è´¥,请确认æ¡ç ä¾åºåæ¯å¦æ£ç¡®!"; |
| | | //return null; |
| | | } |
| | | else |
| | | { |
| | | HSupIDs = ds.Tables[0].Rows[0]["HItemID"].ToString(); |
| | | } |
| | | |
| | | string HSourceInterIDs = "0"; |
| | | string HSourceEntryIDs = "0"; |
| | | string HSourceBillNos = "0"; |
| | | string HUnitIDs = "0"; |
| | | //æ¥è¯¢éè´è®¢å |
| | | ds = oCn.RunProcReturn(@"select a.HInterID,b.HEntryID,a.HBillNo,b.HUnitID from Cg_POOrderBillMain a |
| | | inner join Cg_POOrderBillSub b on a.HInterID = b.HInterID where HBillNo='" + str[3] + "' and b.HMaterID=" + HMaterIDs, "Cg_POOrderBillMain"); |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | //sErrMsg = "æ¡ç è§£æå¤±è´¥,请确认æ¡ç éè´è®¢åæ¯å¦æ£ç¡®!"; |
| | | //return null; |
| | | } |
| | | else |
| | | { |
| | | HSourceInterIDs = ds.Tables[0].Rows[0]["HInterID"].ToString(); |
| | | HSourceEntryIDs = ds.Tables[0].Rows[0]["HEntryID"].ToString(); |
| | | HSourceBillNos = ds.Tables[0].Rows[0]["HBillNo"].ToString(); |
| | | HUnitIDs = ds.Tables[0].Rows[0]["HUnitID"].ToString(); |
| | | } |
| | | |
| | | string HInnerBillNos = ""; |
| | | //æ¥è¯¢å
é¨éè´è®¢åå· |
| | | ds = oCn.RunProcReturn(@" select * from h_v_IF_POInStockList where éè´è®¢åå·= '" + str[3] + "' ", "h_v_IF_POInStockList"); |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | //sErrMsg = "æ¡ç è§£æå¤±è´¥,请确认æ¡ç å
é¨éè´è®¢åå·æ¯å¦æ£ç¡®!"; |
| | | //return null; |
| | | HInnerBillNos = str[3]; |
| | | } |
| | | else |
| | | { |
| | | HInnerBillNos = ds.Tables[0].Rows[0]["å
é¨éè´è®¢åå·"].ToString(); |
| | | } |
| | | double HQty = double.Parse(str[6]); |
| | | |
| | | //æ¥æè·åæ¹å¼ |
| | | string sDate = DateTime.Now.ToString(); |
| | | string HWei = "0"; //å°¾æ° |
| | | string HBarCodeType = "æ¹æ¬¡æ¡ç "; |
| | | Int64 HMaterID = int.Parse(HMaterIDs); |
| | | Int64 HAuxPropID = 0; |
| | | Int64 HUnitID = int.Parse(HUnitIDs); |
| | | double HQty2 = HQty; |
| | | string HBatchNo2 = str[5]; |
| | | Int64 HSupID = int.Parse(HSupIDs); |
| | | Int64 HGroupID = 0; |
| | | int HPrintQty = 0; |
| | | Int64 HSourceInterID = int.Parse(HSourceInterIDs); |
| | | Int64 HSourceEntryID = int.Parse(HSourceEntryIDs); |
| | | string HSourceBillNo = HSourceBillNos; |
| | | //HSourceBillType = "1102"; |
| | | Int64 HBarcodeNo = 0; //æå· |
| | | Int64 HBarcodeQtys = 0; //æ»ææ° |
| | | Int64 HDeptID = 0; |
| | | //Int64 HWhID = 0; |
| | | //Int64 HSPID = 0; |
| | | string HRemark = "æ¡ç è§£æ"; |
| | | string HMaterName = HMaterNames; |
| | | string HMaterModel = HMaterModels; |
| | | string HPinfan = ""; |
| | | string HMTONo = ""; |
| | | Int64 HCusID = 0; |
| | | string HCusType = ""; |
| | | DateTime HEndDate = DateTime.Now; |
| | | string HWorkLineName = ""; |
| | | string HSeOrderBillNo = ""; |
| | | string HInnerBillNo = HInnerBillNos; |
| | | bool HGiveAwayFlag = false; |
| | | Int64 HEntryID = 1; |
| | | Int64 HInterIDs = DBUtility.ClsPub.CreateBillID_Prod("85", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | int HOrgID = HOrgIDs; |
| | | string HSourceBillType = ""; |
| | | |
| | | |
| | | oCn.RunProc("insert into Gy_BarCodeBill (HBarCode,HBarCodeType,HMaterID,HUnitID,HQty" + |
| | | ",HBatchNo,HSupID,HGroupID,HMaker,HMakeDate,HPrintQty,HinitQty" + |
| | | ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HEndQty " + |
| | | ",HBarcodeQtys,HBarcodeNo,HDeptID,HWhID,HSPID,HRemark " + |
| | | ",HCusID,HCusType,HEndDate,HWorkLineName,HBarCodeDate " + |
| | | ",HSTOCKORGID,HOWNERID,HSeOrderBillNo,HInterID,HEntryID " + |
| | | ",HGiveAwayFlag " + |
| | | ",HMaterName,HMaterModel,HPinfan,HAuxPropID,HMTONo,HInnerBillNo" + |
| | | ",HProduceDate,HExpiryDate " + |
| | | ") values (" |
| | | + "'" + HBarCode + "','" + HBarCodeType + "'," + HMaterID.ToString() + "," + HUnitID.ToString() + "," + HQty2.ToString() |
| | | + ",'" + HBatchNo2 + "'," + HSupID.ToString() + "," + HGroupID.ToString() + ",'',getdate()," + HPrintQty.ToString() + "," + HQty2.ToString() |
| | | + ", " + HSourceInterID.ToString() + "," + HSourceEntryID.ToString() + ",'" + HSourceBillNo + "','" + HSourceBillType + "','" + HWei + "'" |
| | | + ", " + HBarcodeQtys.ToString() + "," + HBarcodeNo.ToString() + "," + HDeptID.ToString() + ",0,0,'" + HRemark + "'" |
| | | + ", " + HCusID.ToString() + ",'" + HCusType + "','" + HEndDate.ToShortDateString() + "','" + HWorkLineName + "','" + sDate + "'" |
| | | + ", " + HOrgID.ToString() + "," + HOrgID.ToString() + ",'" + HSeOrderBillNo + "'," + HInterIDs.ToString() + "," + HEntryID.ToString() + "" |
| | | + ", " + DBUtility.ClsPub.BoolToString(HGiveAwayFlag) |
| | | + ",'" + HMaterName + "','" + HMaterModel + "','" + HPinfan + "'," + HAuxPropID.ToString() + ",'" + HMTONo + "','" + HInnerBillNo + "','','')"); |
| | | |
| | | |
| | | } |
| | | } |
| | | } |
| | | |
| | | ds = oCn.RunProcReturn("exec h_p_WMS_AddBarCode_MaterToSource " + HInterID.ToString() + ",'" + HBillNo + "','" + HBillType + "','" + HBarCode + "','" + HMaker + "'", "h_p_WMS_AddBarCode_MaterToSource"); |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | |
| | | #region æäº¤ä¿åï¼å主å表åæç»è¡¨ |
| | | [Route("Sc_QualityReportBill/set_SaveBill")] |
| | | [HttpGet] |
| | | public object set_SaveBill(long HInterID,string HBillNo, string HChecker) |
| | | public object set_SaveBill(long HInterID,string HBillNo, string HChecker,string HBadReasonHQty) |
| | | { |
| | | try |
| | | { |
| | |
| | | } |
| | | //========================================================= |
| | | //ä¿å |
| | | oCN.RunProc("exec h_p_save_Sc_QualityReportBill " + HInterID); |
| | | oCN.RunProc("exec h_p_save_Sc_QualityReportBill " + HInterID+",'"+ HBadReasonHQty +"'"); |
| | | //夿æ¯å¦å
许ä¿åï¼ä¸å
许ååæ» |
| | | ds = oCN.RunProcReturn("exec h_p_JIT_ICMOBillQualityStatus_SaveCtrl", "h_p_JIT_ICMOBillQualityStatus_SaveCtrl"); |
| | | if (ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBack"]) == "2") |
| | |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region çäº§è´¨éæ¥æ±æ¥åå表 æ¥è¯¢ |
| | | public class ReportWorkDemandPlanBill |
| | | { |
| | | public string HNumber; |
| | | public string HName; |
| | | public DateTime HBeginDate; |
| | | public DateTime HEndDate; |
| | | } |
| | | [Route("Sc_QualityReportBill/getSc_QualityReportBillDay")] |
| | | [HttpGet] |
| | | public object getSc_QualityReportBillDay(string sWhere, string user) |
| | | { |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | //æ¥çæé |
| | | if (!DBUtility.ClsPub.Security_Log("Sc_QualityReportBill_Query", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æ¥çæéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | ReportWorkDemandPlanBill Report = JsonConvert.DeserializeObject<ReportWorkDemandPlanBill>(sWhere); |
| | | ds = oCN.RunProcReturn($"exec h_p_Sc_StationOutBillMain '{Report.HBeginDate}','{Report.HEndDate}','{Report.HNumber}','{Report.HName}'", "h_p_Sc_StationOutBillMain"); |
| | | |
| | | //æ·»å åå |
| | | foreach (DataColumn col in ds.Tables[0].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | objJsonResult.list = columnNameList; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | } |
| | | } |
New file |
| | |
| | | using System; |
| | | using System.IO; |
| | | using System.Net; |
| | | using System.Net.Http; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace DLL |
| | | { |
| | | public class Cls_DDMsg |
| | | { |
| | | private HttpClient _client; |
| | | private string _baseUrl; |
| | | |
| | | //è·åä¼ä¸çaccessToken |
| | | public string GetAccessToken(string appKey, string appSecret) |
| | | { |
| | | string url = "https://api.dingtalk.com/v1.0/oauth2/accessToken"; |
| | | |
| | | string postData = "{\"appKey\":\"" + appKey + "\", \"appSecret\":\"" + appSecret + "\"}"; |
| | | |
| | | byte[] byteArray = Encoding.UTF8.GetBytes(postData); |
| | | |
| | | WebRequest request = WebRequest.Create(url); |
| | | request.Method = "POST"; |
| | | request.ContentType = "application/json"; |
| | | request.ContentLength = byteArray.Length; |
| | | |
| | | using (Stream dataStream = request.GetRequestStream()) |
| | | { |
| | | dataStream.Write(byteArray, 0, byteArray.Length); |
| | | } |
| | | |
| | | using (WebResponse response = request.GetResponse()) |
| | | using (Stream responseStream = response.GetResponseStream()) |
| | | using (StreamReader reader = new StreamReader(responseStream)) |
| | | { |
| | | string responseString = reader.ReadToEnd(); |
| | | return responseString; |
| | | } |
| | | } |
| | | |
| | | //åéå·¥ä½éç¥ |
| | | public async Task<string> SendTextMessage(string accessToken, string agentId, string userIdList, string deptIdList, string toAllUser, string message) |
| | | { |
| | | try |
| | | { |
| | | _client = new HttpClient(); |
| | | _baseUrl = "https://oapi.dingtalk.com/topapi/message/corpconversation/asyncsend_v2"; |
| | | string url = $"{_baseUrl}?access_token={accessToken}"; |
| | | DateTimeOffset now = DateTimeOffset.Now; |
| | | string currentTime = now.ToString("yyyy-MM-dd HH:mm:ss"); |
| | | string messageWithTimestamp = $"{currentTime}-{message}"; // 卿¶æ¯å
容ä¹åæ·»å æ¶é´æ³ |
| | | string messageJson = $"{{\"msgtype\": \"text\", \"text\": {{ \"content\": \"{messageWithTimestamp}\" }} }}"; |
| | | string requestBody = $"agent_id={agentId}&userid_list={userIdList}&dept_id_list={deptIdList}&to_all_user={toAllUser}&msg={messageJson}"; |
| | | |
| | | HttpResponseMessage response = await _client.PostAsync(url, new StringContent(requestBody, Encoding.UTF8, "application/x-www-form-urlencoded")); |
| | | |
| | | if (response.IsSuccessStatusCode) |
| | | { |
| | | return await response.Content.ReadAsStringAsync(); |
| | | } |
| | | else |
| | | { |
| | | return $"Failed to send message. Status code: {response.StatusCode}"; |
| | | } |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return "An error occurred: " + ex.Message; |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |
| | |
| | | public double HWasterQty_Work { get; set; } |
| | | public double HWasterQty_Mater { get; set; } |
| | | public double HBackWorkQty { get; set; } |
| | | public double HToCheckQty { get; set; } |
| | | public double HLossQty { get; set; } |
| | | public Int64 HShiftsID { get; set; } |
| | | } |
| | | } |
| | |
| | | --> |
| | | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| | | <PropertyGroup> |
| | | <History>True|2024-06-18T08:08:52.3066991Z;True|2024-06-18T14:08:42.6969999+08:00;True|2024-06-17T13:22:25.8401219+08:00;True|2024-06-17T11:27:09.9223091+08:00;True|2024-06-17T11:23:37.5133763+08:00;True|2024-06-17T10:58:43.2727797+08:00;True|2024-06-14T13:32:57.5800980+08:00;False|2024-06-13T10:45:10.1375417+08:00;False|2024-06-13T10:43:52.8804222+08:00;</History> |
| | | <History>True|2024-06-25T01:53:35.8089888Z;True|2024-06-25T09:50:45.0788666+08:00;True|2024-06-25T09:46:08.5825317+08:00;True|2024-06-25T09:44:17.5984285+08:00;True|2024-06-25T09:40:23.4977167+08:00;True|2024-06-25T09:37:55.3516214+08:00;True|2024-06-25T09:34:57.0498926+08:00;True|2024-06-24T23:22:12.1756387+08:00;True|2024-06-24T23:15:13.9995277+08:00;True|2024-06-24T23:05:20.8658324+08:00;True|2024-06-24T22:59:59.2842726+08:00;True|2024-06-24T16:29:08.9135923+08:00;True|2024-06-24T15:44:19.8100242+08:00;True|2024-06-18T16:08:52.3066991+08:00;True|2024-06-18T14:08:42.6969999+08:00;True|2024-06-17T13:22:25.8401219+08:00;True|2024-06-17T11:27:09.9223091+08:00;True|2024-06-17T11:23:37.5133763+08:00;True|2024-06-17T10:58:43.2727797+08:00;True|2024-06-14T13:32:57.5800980+08:00;False|2024-06-13T10:45:10.1375417+08:00;False|2024-06-13T10:43:52.8804222+08:00;</History> |
| | | <_PublishTargetUrl>D:\ç½ç«åå¸\æºäºMESWMS\API</_PublishTargetUrl> |
| | | </PropertyGroup> |
| | | <ItemGroup> |
| | | <File Include="apiapp.json"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | </File> |
| | | <File Include="bin/AlibabaCloud.EndpointUtil.dll"> |
| | | <publishTime>04/07/2020 16:33:48</publishTime> |
| | | </File> |
| | | <File Include="bin/AlibabaCloud.GatewayDingTalk.dll"> |
| | | <publishTime>04/25/2023 17:49:04</publishTime> |
| | | </File> |
| | | <File Include="bin/AlibabaCloud.GatewaySpi.dll"> |
| | | <publishTime>07/26/2022 20:39:50</publishTime> |
| | | </File> |
| | | <File Include="bin/AlibabaCloud.OpenApiClient.dll"> |
| | | <publishTime>05/14/2024 12:47:20</publishTime> |
| | | </File> |
| | | <File Include="bin/AlibabaCloud.OpenApiUtil.dll"> |
| | | <publishTime>11/22/2022 11:24:18</publishTime> |
| | | </File> |
| | | <File Include="bin/AlibabaCloud.SDK.Dingtalk.dll"> |
| | | <publishTime>06/20/2024 11:03:14</publishTime> |
| | | </File> |
| | | <File Include="bin/AlibabaCloud.TeaUtil.dll"> |
| | | <publishTime>05/13/2024 10:17:22</publishTime> |
| | | </File> |
| | | <File Include="bin/AlibabaCloud.TeaXML.dll"> |
| | | <publishTime>08/03/2022 21:46:08</publishTime> |
| | | </File> |
| | | <File Include="bin/Aliyun.Credentials.dll"> |
| | | <publishTime>12/05/2022 15:40:12</publishTime> |
| | | </File> |
| | | <File Include="bin/Antlr3.Runtime.dll"> |
| | | <publishTime>02/22/2013 16:43:40</publishTime> |
| | |
| | | <publishTime>02/22/2013 16:43:40</publishTime> |
| | | </File> |
| | | <File Include="bin/BLL.dll"> |
| | | <publishTime>06/18/2024 16:08:23</publishTime> |
| | | <publishTime>06/25/2024 09:53:25</publishTime> |
| | | </File> |
| | | <File Include="bin/BLL.pdb"> |
| | | <publishTime>06/18/2024 16:08:23</publishTime> |
| | | <publishTime>06/25/2024 09:53:25</publishTime> |
| | | </File> |
| | | <File Include="bin/BouncyCastle.Crypto.dll"> |
| | | <publishTime>12/18/2020 05:32:28</publishTime> |
| | | </File> |
| | | <File Include="bin/DAL.dll"> |
| | | <publishTime>06/18/2024 16:08:22</publishTime> |
| | | <publishTime>06/25/2024 09:53:24</publishTime> |
| | | </File> |
| | | <File Include="bin/DAL.pdb"> |
| | | <publishTime>06/18/2024 16:08:22</publishTime> |
| | | <publishTime>06/25/2024 09:53:24</publishTime> |
| | | </File> |
| | | <File Include="bin/Dapper.dll"> |
| | | <publishTime>07/22/2016 22:52:40</publishTime> |
| | | </File> |
| | | <File Include="bin/DBUtility.dll"> |
| | | <publishTime>06/18/2024 16:08:19</publishTime> |
| | | <publishTime>06/25/2024 09:53:21</publishTime> |
| | | </File> |
| | | <File Include="bin/DBUtility.pdb"> |
| | | <publishTime>06/18/2024 16:08:19</publishTime> |
| | | <publishTime>06/25/2024 09:53:21</publishTime> |
| | | </File> |
| | | <File Include="bin/Grpc.Core.Api.dll"> |
| | | <publishTime>03/22/2022 13:17:26</publishTime> |
| | |
| | | <publishTime>07/25/2012 19:48:56</publishTime> |
| | | </File> |
| | | <File Include="bin/Model.dll"> |
| | | <publishTime>06/18/2024 16:08:20</publishTime> |
| | | <publishTime>06/25/2024 09:53:22</publishTime> |
| | | </File> |
| | | <File Include="bin/Model.pdb"> |
| | | <publishTime>06/18/2024 16:08:20</publishTime> |
| | | <publishTime>06/25/2024 09:53:22</publishTime> |
| | | </File> |
| | | <File Include="bin/Models/ClsSc_MouldScrapOutBillMain.cs"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | </File> |
| | | <File Include="bin/Newtonsoft.Json.dll"> |
| | | <publishTime>08/04/2014 04:33:56</publishTime> |
| | | <publishTime>09/07/2014 18:39:38</publishTime> |
| | | </File> |
| | | <File Include="bin/NPOI.dll"> |
| | | <publishTime>10/23/2021 09:07:54</publishTime> |
| | |
| | | <publishTime>10/23/2021 17:07:54</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Class.dll"> |
| | | <publishTime>06/18/2024 16:08:17</publishTime> |
| | | <publishTime>06/25/2024 09:53:20</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Class.pdb"> |
| | | <publishTime>06/18/2024 16:08:17</publishTime> |
| | | <publishTime>06/25/2024 09:53:20</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Control.dll"> |
| | | <publishTime>06/18/2024 16:08:19</publishTime> |
| | | <publishTime>06/25/2024 09:53:21</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Control.pdb"> |
| | | <publishTime>06/18/2024 16:08:19</publishTime> |
| | | <publishTime>06/25/2024 09:53:21</publishTime> |
| | | </File> |
| | | <File Include="bin/RestSharp.dll"> |
| | | <publishTime>08/31/2012 06:22:50</publishTime> |
| | | </File> |
| | | <File Include="bin/SQLHelper.dll"> |
| | | <publishTime>06/18/2024 16:08:19</publishTime> |
| | | <publishTime>06/25/2024 09:53:21</publishTime> |
| | | </File> |
| | | <File Include="bin/SQLHelper.pdb"> |
| | | <publishTime>06/18/2024 16:08:19</publishTime> |
| | | <publishTime>06/25/2024 09:53:21</publishTime> |
| | | </File> |
| | | <File Include="bin/Swashbuckle.Core.dll"> |
| | | <publishTime>02/16/2015 01:57:08</publishTime> |
| | |
| | | <File Include="bin/System.Net.Http.dll"> |
| | | <publishTime>09/26/2012 03:16:08</publishTime> |
| | | </File> |
| | | <File Include="bin/System.Net.Http.Extensions.dll"> |
| | | <publishTime>02/20/2015 04:10:46</publishTime> |
| | | </File> |
| | | <File Include="bin/System.Net.Http.Formatting.dll"> |
| | | <publishTime>11/28/2018 21:00:36</publishTime> |
| | | </File> |
| | | <File Include="bin/System.Net.Http.Primitives.dll"> |
| | | <publishTime>02/20/2015 04:10:46</publishTime> |
| | | </File> |
| | | <File Include="bin/System.Runtime.CompilerServices.Unsafe.dll"> |
| | | <publishTime>09/19/2018 03:38:10</publishTime> |
| | |
| | | <File Include="bin/System.Xml.Linq.dll"> |
| | | <publishTime>09/26/2012 03:16:08</publishTime> |
| | | </File> |
| | | <File Include="bin/Tea.dll"> |
| | | <publishTime>04/18/2023 12:14:54</publishTime> |
| | | </File> |
| | | <File Include="bin/WebActivatorEx.dll"> |
| | | <publishTime>11/24/2014 19:18:48</publishTime> |
| | | </File> |
| | | <File Include="bin/WebAPI.dll"> |
| | | <publishTime>06/18/2024 16:08:27</publishTime> |
| | | <publishTime>06/25/2024 09:53:30</publishTime> |
| | | </File> |
| | | <File Include="bin/WebAPI.pdb"> |
| | | <publishTime>06/18/2024 16:08:27</publishTime> |
| | | <publishTime>06/25/2024 09:53:30</publishTime> |
| | | </File> |
| | | <File Include="bin/WebGrease.dll"> |
| | | <publishTime>07/18/2013 01:03:52</publishTime> |
| | |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | </File> |
| | | <File Include="packages.config"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>06/25/2024 09:50:21</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/bootstrap.js"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | </File> |
| | | <File Include="Web.config"> |
| | | <publishTime>06/18/2024 16:08:51</publishTime> |
| | | <publishTime>06/25/2024 09:53:35</publishTime> |
| | | </File> |
| | | </ItemGroup> |
| | | </Project> |
| | |
| | | |
| | | |
| | | |
| | | <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > |
| | | <section name="WebAPI.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> |
| | | </sectionGroup> |
| | | </configSections> |
| | | <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <section name="WebAPI.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> |
| | | </sectionGroup> |
| | | </configSections> |
| | | <connectionStrings> |
| | | <add name="YqnConn" connectionString="Data Source=192.168.0.175;Initial Catalog=HX_LimsSys;User Id=HX_USER,Password=lc@841022;Integrated Security=True" /> |
| | | |
| | |
| | | <!--<add key="FileIP" value="http://localhost:8082/LuBaoAPI"/>--> |
| | | <!--<add key="FileIP" value="http://localhost:8080/" />--> |
| | | <!--<add key="sUrl" value="http://183.129.128.86:9090/WEBS-WMSTest/WebService1.asmx"/> --> |
| | | <add key="sUrl" value="http://192.168.0.81/WEBS-WMS/WebService1.asmx"/> <!--é¢å°å¼æº--> |
| | | <!--<add key="sUrl" value="http://192.168.0.81/WEBS-WMS/WebService1.asmx"/> é¢å°å¼æº--> |
| | | <!--<add key="sUrl" value="http://60.190.4.42:9003/WebService/WebService1.asmx" /> å¤å®--> |
| | | <!--<add key="sUrl" value="http://60.190.4.42:9003/WebService/WebService1.asmx" /> --> |
| | | <!--<add key="sUrl" value="http://10.10.130.181/WEBS-WMS/WebService1.asmx"/> åæ¥ç§æ--> |
| | |
| | | <!--<add key="sUrl" value="http://192.168.80.90:9090/WEBS/WebService1.asmx"/> å®çæå¡å¨--> |
| | | <!--<add key="sUrl" value="http://122.227.133.186:8090/WEBS/WebService1.asmx"/> --> |
| | | <!--<add key="sUrl" value="http://192.168.80.90:9090/WEBS-WMS/WebService1.asmx"/> å®çæå¡å¨--> |
| | | <!--<add key="sUrl" value="http://47.96.97.237/WEBS-WMS/WebService1.asmx"/> --> <!--æµè¯æå¡å¨--> |
| | | <!--<add key="sUrl" value="http://47.96.97.237/WEBS-WMS/WebService1.asmx"/> --> |
| | | <!--æµè¯æå¡å¨--> |
| | | <!--<add key="surl" value="http://localhost:8082/webs/webservice1.asmx"/> æ¬å°--> |
| | | <!--<add key="sUrl" value="http://192.168.110.57:81/WEBS/WebService1.asmx"/>--> <!--éé¯éæ¬å°é
ç½®--> |
| | | <!--<add key="surl" value="http://localhost/webs-web/webservice1.asmx"/>--> <!--ç¿æ¶æ¶æ¬å°é
ç½®--> |
| | | <!--<add key="sUrl" value="http://192.168.110.57:81/WEBS/WebService1.asmx"/>--> |
| | | <!--éé¯éæ¬å°é
ç½®--> |
| | | <add key="surl" value="http://localhost/webs-web/webservice1.asmx" /> |
| | | <!--ç¿æ¶æ¶æ¬å°é
ç½®--> |
| | | <!--<add key="sUrl" value="http://192.168.1.57:8082/WEBS-WMS/WebService1.asmx"/>ä¹è±--> |
| | | <!--<add key="sUrl" value="http://61.130.182.102:18181/WEBSCS/WebService1.asmx"/>--><!--æ¯è«å°--> |
| | | |
| | | <!--<add key="sUrl" value="http://61.130.182.102:18181/WEBSCS/WebService1.asmx"/>--> |
| | | <!--æ¯è«å°--> |
| | | |
| | | <add key="webpages:Version" value="3.0.0.0" /> |
| | | <add key="webpages:Enabled" value="false" /> |
| | | <add key="ClientValidationEnabled" value="true" /> |
| | |
| | | </system.Web> |
| | | --> |
| | | <system.web> |
| | | <customErrors mode="Off"/> |
| | | <customErrors mode="Off" /> |
| | | <compilation debug="true" targetFramework="4.5" /> |
| | | <httpRuntime maxQueryStringLength="102400" /> |
| | | <pages controlRenderingCompatibilityVersion="4.0" /> |
| | |
| | | <dependentAssembly> |
| | | <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> |
| | | <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> |
| | | </dependentAssembly> |
| | | </assemblyBinding> |
| | | </dependentAssembly> |
| | | </assemblyBinding> |
| | | </runtime> |
| | | <system.webServer> |
| | | <handlers> |
| | |
| | | </basicHttpBinding> |
| | | </bindings> |
| | | <client> |
| | | <endpoint address="http://192.168.0.81/WEBS-WMS/WebService1.asmx" binding="basicHttpBinding" |
| | | bindingConfiguration="WebService1Soap" contract="Webs1.WebService1Soap" |
| | | name="WebService1Soap" /> |
| | | <endpoint address="http://192.168.0.81/WEBS-WMS/WebService1.asmx" binding="basicHttpBinding" bindingConfiguration="WebService1Soap" contract="Webs1.WebService1Soap" name="WebService1Soap" /> |
| | | </client> |
| | | </system.serviceModel> |
| | | |
| | | <applicationSettings> |
| | | <WebAPI.Properties.Settings> |
| | | <setting name="WebAPI_WebS_WebService1" serializeAs="String"> |
| | | <value>http://192.168.0.81/WEBS-WMS/WebService1.asmx</value> |
| | | </setting> |
| | | </WebAPI.Properties.Settings> |
| | | </applicationSettings> |
| | | <applicationSettings> |
| | | <WebAPI.Properties.Settings> |
| | | <setting name="WebAPI_WebS_WebService1" serializeAs="String"> |
| | | <value>http://192.168.0.81/WEBS-WMS/WebService1.asmx</value> |
| | | </setting> |
| | | </WebAPI.Properties.Settings> |
| | | </applicationSettings> |
| | | </configuration> |
| | |
| | | <Prefer32Bit>false</Prefer32Bit> |
| | | </PropertyGroup> |
| | | <ItemGroup> |
| | | <Reference Include="Aliyun.Credentials, Version=1.3.2.0, Culture=neutral, processorArchitecture=MSIL"> |
| | | <HintPath>..\packages\Aliyun.Credentials.1.3.2\lib\net45\Aliyun.Credentials.dll</HintPath> |
| | | </Reference> |
| | | <Reference Include="Antlr3.Runtime, Version=3.4.1.9004, Culture=neutral, PublicKeyToken=eb42632606e9261f, processorArchitecture=MSIL"> |
| | | <HintPath>..\packages\Antlr.3.4.1.9004\lib\Antlr3.Runtime.dll</HintPath> |
| | | <Private>True</Private> |
| | |
| | | <Private>True</Private> |
| | | </Reference> |
| | | <Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> |
| | | <SpecificVersion>False</SpecificVersion> |
| | | <HintPath>..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll</HintPath> |
| | | <HintPath>..\packages\Newtonsoft.Json.6.0.5\lib\net45\Newtonsoft.Json.dll</HintPath> |
| | | </Reference> |
| | | <Reference Include="NPOI, Version=2.5.5.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL"> |
| | | <HintPath>..\packages\NPOI.2.5.5\lib\net45\NPOI.dll</HintPath> |
| | |
| | | <Reference Include="System.Net.Http"> |
| | | <Private>True</Private> |
| | | </Reference> |
| | | <Reference Include="System.Net.Http.Extensions, Version=2.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| | | <HintPath>..\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Extensions.dll</HintPath> |
| | | </Reference> |
| | | <Reference Include="System.Net.Http.Formatting, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
| | | <HintPath>..\packages\Microsoft.AspNet.WebApi.Client.5.2.7\lib\net45\System.Net.Http.Formatting.dll</HintPath> |
| | | </Reference> |
| | | <Reference Include="System.Net.Http.Primitives, Version=4.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| | | <HintPath>..\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Primitives.dll</HintPath> |
| | | </Reference> |
| | | <Reference Include="System.Net.Http.WebRequest" /> |
| | | <Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| | | <HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.2\lib\netstandard1.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath> |
| | | </Reference> |
| | | <Reference Include="System.Runtime.Serialization"> |
| | | <Private>True</Private> |
| | | </Reference> |
| | | <Reference Include="System.Security" /> |
| | | <Reference Include="System.ServiceModel" /> |
| | | <Reference Include="System.Web.Cors, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
| | | <HintPath>..\packages\Microsoft.AspNet.Cors.5.2.7\lib\net45\System.Web.Cors.dll</HintPath> |
| | |
| | | <Compile Include="DLL\å·¥èµç®¡ç\ClsPay_GroupBalBill.cs" /> |
| | | <Compile Include="DLL\å·¥èµç®¡ç\ClsGy_GroupEmpBill.cs" /> |
| | | <Compile Include="DLL\å·¥èµç®¡ç\ClsPay_WorkTimesBill.cs" /> |
| | | <Compile Include="DLL\ééæ¶æ¯\Cls_DDMsg.cs" /> |
| | | <Compile Include="HttpClient.cs" /> |
| | | <Compile Include="InvokeHelper.cs" /> |
| | | <Compile Include="Log.cs" /> |
| | |
| | | </PropertyGroup> |
| | | <Error Condition="!Exists('..\packages\Grpc.Core.2.45.0\build\net45\Grpc.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Grpc.Core.2.45.0\build\net45\Grpc.Core.targets'))" /> |
| | | </Target> |
| | | <Import Project="..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" /> |
| | | <Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''"> |
| | | <Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." HelpKeyword="BCLBUILD2001" /> |
| | | <Error Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" /> |
| | | </Target> |
| | | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
| | | Other similar extension points exist, see Microsoft.Common.targets. |
| | | <Target Name="BeforeBuild"> |
| | |
| | | <package id="Microsoft.jQuery.Unobtrusive.Validation" version="3.2.3" targetFramework="net45" /> |
| | | <package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" /> |
| | | <package id="Modernizr" version="2.6.2" targetFramework="net45" /> |
| | | <package id="Newtonsoft.Json" version="6.0.4" targetFramework="net45" /> |
| | | <package id="Newtonsoft.Json" version="6.0.5" targetFramework="net45" /> |
| | | <package id="NPOI" version="2.5.5" targetFramework="net45" /> |
| | | <package id="Portable.BouncyCastle" version="1.8.9" targetFramework="net45" /> |
| | | <package id="RestSharp" version="104.0" targetFramework="net45" /> |