From 69f3ee1b7f46a7f680002d10e6b39cf8d664a4f4 Mon Sep 17 00:00:00 2001 From: duhe <226547893@qq.com> Date: 星期一, 08 七月 2024 09:00:16 +0800 Subject: [PATCH] 1 --- WebAPI/Controllers/MJGL/Sc_MouldUpperBillController.cs | 352 ++ WebAPI/Controllers/SBGL/Sb_EquipStopBillController.cs | 2 WebAPI/Controllers/品质管理/巡检单/QC_PatrolProcCheckOtherBillController.cs | 43 WebAPI/Controllers/BLL/Xt_BillTypeController.cs | 4 WebAPI/WebAPI.csproj.user | 9 WebAPI/Models/ClsGy_MouldFileBillSub_DotCheckRule.cs | 13 WebAPI/Controllers/生产管理/质量汇报单/Sc_QualityReportBillController.cs | 164 + DAL/车间管理/ClsSc_MaterToSourceBill.cs | 5 WebAPI/DLL/ClsSc_MESBeginWorkBill.cs | 91 DAL/生产管理/模具管理/ClsSc_MouldMaintainBill.cs | 101 WebAPI/Properties/PublishProfiles/FolderProfile13.pubxml | 17 WebAPI/Controllers/基础资料/基础资料/Gy_TaxRateBillController.cs | 10 Model/车间管理/ClsSc_MaterToSourceBillMain.cs | 2 WebAPI.suo | 0 WebAPI/Properties/PublishProfiles/FolderProfile.pubxml | 2 WebAPI/Models/ClsGy_EquipFileBillSub_MaintainRule.cs | 13 WebAPI/Controllers/BLL/Xt_UserController.cs | 162 + WebAPI/Controllers/基础资料/基础资料/Gy_RecConditionBillController.cs | 9 WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs | 6 WebAPI/DLL/ClsSc_MESStopWorkBill.cs | 91 WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs | 8 WebAPI/Controllers/Sc_MouldRepairInBillListController.cs | 1533 ++++++++--- WebAPI/Controllers/MJGL/Sc_MouldRepairOutBillController.cs | 477 ++- DAL/信息平台/ClsOA_AndengFlowRuleBill.cs | 8 WebAPI/Controllers/Sc_MouldOtherInBillController.cs | 366 + WebAPI/Controllers/Sc_CheckToolsRepairWorkBillListController.cs | 480 ++- WebAPI/Controllers/生产管理/生产任务单/Sc_ICMOBillController.cs | 14 WebAPI/Controllers/项目管理/工作任务/PM_WorkTaskBillController.cs | 80 WebAPI/Properties/PublishProfiles/FolderProfile13.pubxml.user | 459 +++ WebAPI/Controllers/MJGL/Sc_MouldOtherOutBillController.cs | 368 + WebAPI/Controllers/XSGL/Xs_SeOrderBillController.cs | 17 WebAPI/Controllers/基础资料/基础资料/Gy_StockStatusBillController.cs | 10 DAL/生产管理/模具管理/ClsSc_MouldConkBookBill.cs | 113 WebAPI/Controllers/BaseSet/Gy_CustomerController.cs | 23 WebAPI/Controllers/品质管理/质量报表/QC_QualityReportsController.cs | 20 WebAPI/DLL/ClsSc_MESEndWorkBill.cs | 91 WebAPI/Models/HSouceOrderList.cs | 2 WebAPI/Properties/PublishProfiles/FolderProfile12.pubxml.user | 36 WebAPI/WebAPI.csproj | 12 WebAPI/Controllers/基础资料/基础资料/Gy_PaymentConditionListBillController.cs | 10 WebAPI/DLL/ClsOA_ErrMsgBackBill.cs | 6 DAL/信息平台/ClsOA_ErrMsgBackCheckBill.cs | 3 WebAPI/Controllers/仓存管理/条码生成/Sc_BarCodeController.cs | 14 WebAPI/Models/StationBill.cs | 2 WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user | 196 WebAPI/Controllers/BaseSet/Gy_MaterialController.cs | 92 WebAPI/Controllers/条码管理/WEBSController.cs | 133 WebAPI/Controllers/LMESController.cs | 26 DAL/生产管理/设备管理/ClsSb_EquipMaintainBill.cs | 10 WebAPI/Controllers/BaseSet/Gy_SupplierController.cs | 4 WebAPI/Controllers/SCGL/Sc_MESTransFerWorkBillController.cs | 435 ++ DAL/生产管理/设备管理/ClsSb_EquipBeginBillMain.cs | 87 WebAPI/Web.config | 46 WebAPI/DLL/ClsSb_EquipConkBookBill.cs | 129 WebAPI/Controllers/品质管理/首件检验单/QC_FirstPieceCheckBillController.cs | 87 WebAPI/Controllers/基础资料/基础资料/Gy_WorkController.cs | 8 WebAPI/Models/ClsGy_EquipFileBillSub_DotCheckRule.cs | 13 WebAPI/Controllers/BaseSet/Gy_CurrencyController.cs | 6 WebAPI/Models/HBarCodeList.cs | 3 Model/生产管理/设备管理/ClsSb_EquipMaintainBillMain.cs | 1 Model/生产管理/ClsSc_QualityReportBillSub.cs | 1 WebAPI/Controllers/BaseSet/Gy_UnitController.cs | 9 WebAPI/Controllers/MJGL/Sc_MouldProdMoveBillListController.cs | 365 + Pub_Class/CustomerCls/ClsXt_SystemParameter.cs | 10 Model/obj/Release/Model.csproj.AssemblyReference.cache | 0 DAL/生产管理/设备管理/ClsSb_EquipStopBillMain.cs | 87 Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs | 3 Model/信息平台/ClsOA_AndengFlowRuleBillSub.cs | 1 WebAPI/Controllers/CJGL/Cj_StationInBillController.cs | 91 WebAPI/Models/ClsGy_MouldFileBillSub_MaintainRule.cs | 13 WebAPI/Controllers/MJGL/Sc_MouldProdInBillController.cs | 521 ++- WebAPI/Controllers/基础资料/基础资料/Gy_RateTypeController.cs | 10 WebAPI/Controllers/SBGL/Gy_EquipFileMainController.cs | 308 ++ WebAPI/Controllers/SBGL/Sb_EquipBeginBillController.cs | 2 WebAPI/Controllers/品质管理/工序检验单/QC_ProcessCheckBillController.cs | 50 75 files changed, 6,272 insertions(+), 1,723 deletions(-) diff --git "a/DAL/\344\277\241\346\201\257\345\271\263\345\217\260/ClsOA_AndengFlowRuleBill.cs" "b/DAL/\344\277\241\346\201\257\345\271\263\345\217\260/ClsOA_AndengFlowRuleBill.cs" index 184973a..71e0563 100644 --- "a/DAL/\344\277\241\346\201\257\345\271\263\345\217\260/ClsOA_AndengFlowRuleBill.cs" +++ "b/DAL/\344\277\241\346\201\257\345\271\263\345\217\260/ClsOA_AndengFlowRuleBill.cs" @@ -80,12 +80,12 @@ oCn.RunProc("Insert into OA_AndengFlowRuleBillSub " + " (HInterID,HEntryID,HCloseMan,HEntryCloseDate,HCloseType,HRemark" + ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" + - ",HSNO,HDutyID,HTimes,HReceiveType" + + ",HSNO,HDutyID,HTimes,HReceiveType,HIsRece" + ") values(" + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + ",'" + oSub.HCloseMan + "','" + oSub.HEntryCloseDate.ToShortDateString() + "'," + Convert.ToString(oSub.HCloseType ? 1 : 0) + ",'" + oSub.HRemark + "'" + "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() + - ",'" + oSub.HSNO.ToString() + "','" + oSub.HDutyID.ToString() + "','" + oSub.HTimes.ToString() + "','" + oSub.HReceiveType.ToString() + + ",'" + oSub.HSNO.ToString() + "','" + oSub.HDutyID.ToString() + "','" + oSub.HTimes.ToString() + "','" + oSub.HReceiveType.ToString() + "','" + DBUtility.ClsPub.BoolToString(oSub.HIsRece) + "') "); } @@ -174,12 +174,12 @@ oCn.RunProc("Insert into OA_AndengFlowRuleBillSub " + " (HInterID,HEntryID,HCloseMan,HEntryCloseDate,HCloseType,HRemark" + ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" + - ",HSNO,HDutyID,HTimes,HReceiveType" + + ",HSNO,HDutyID,HTimes,HReceiveType,HIsRece" + ") values(" + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + ",'" + oSub.HCloseMan + "','" + oSub.HEntryCloseDate.ToShortDateString() + "'," + Convert.ToString(oSub.HCloseType ? 1 : 0) + ",'" + oSub.HRemark + "'" + "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() + - ",'" + oSub.HSNO.ToString() + "','" + oSub.HDutyID.ToString() + "','" + oSub.HTimes.ToString() + "','" + oSub.HReceiveType.ToString() + + ",'" + oSub.HSNO.ToString() + "','" + oSub.HDutyID.ToString() + "','" + oSub.HTimes.ToString() + "','" + oSub.HReceiveType.ToString() +"','" + DBUtility.ClsPub.BoolToString(oSub.HIsRece)+ "') "); } diff --git "a/DAL/\344\277\241\346\201\257\345\271\263\345\217\260/ClsOA_ErrMsgBackCheckBill.cs" "b/DAL/\344\277\241\346\201\257\345\271\263\345\217\260/ClsOA_ErrMsgBackCheckBill.cs" index 9ca90dd..80b8a04 100644 --- "a/DAL/\344\277\241\346\201\257\345\271\263\345\217\260/ClsOA_ErrMsgBackCheckBill.cs" +++ "b/DAL/\344\277\241\346\201\257\345\271\263\345\217\260/ClsOA_ErrMsgBackCheckBill.cs" @@ -194,6 +194,9 @@ //涓昏〃 oCn.RunProc(sql); + //楠屾敹鍗曞弽鍐欏紓甯稿弽棣堝崟,涓哄凡瀹屾垚 + oCn.RunProc("update OA_ErrMsgBackBillMain set HCloseFlag='1' where HInterID=" + omodel.HErrMsgBackInterID); + //=========================淇濆瓨鍚庢帶鍒� DataSet ds2 = oCn.RunProcReturn("Exec h_p_OA_ErrMsgBackCheckBill_AfterSaveCtrl " + omodel.HInterID.ToString() + ", '" + omodel.HBillNo + "',1 ", "h_p_OA_ErrMsgBackCheckBill_AfterSaveCtrl"); if (ds2 == null) diff --git "a/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\346\250\241\345\205\267\347\256\241\347\220\206/ClsSc_MouldConkBookBill.cs" "b/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\346\250\241\345\205\267\347\256\241\347\220\206/ClsSc_MouldConkBookBill.cs" index c46c69d..e0f472b 100644 --- "a/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\346\250\241\345\205\267\347\256\241\347\220\206/ClsSc_MouldConkBookBill.cs" +++ "b/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\346\250\241\345\205\267\347\256\241\347\220\206/ClsSc_MouldConkBookBill.cs" @@ -29,8 +29,64 @@ { DetailColl = null; } - + #endregion 鑷畾涔夋柟娉� + + //淇濆瓨鍓嶆帶鍒� + public bool BeforeSave(Int64 HInterID, string HBillNo, Int64 OperationType, ref string sReturn) + { + try + { + DataSet Ds = oCn.RunProcReturn("Exec h_p_Sc_MouldConkBookBill_BeforeSaveCtrl " + HInterID.ToString() + ",'" + HBillNo + "'," + OperationType.ToString(), "h_p_Sc_MouldConkBookBill_BeforeSaveCtrl"); + if (Ds == null || Ds.Tables[0].Rows.Count == 0) + { + sReturn = "淇濆瓨鍓嶅垽鏂け璐ワ紒"; + return false; + } + else + { + if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HBack"]) == 1) + { + sReturn = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]); + return false; + } + } + return true; + } + catch (Exception e) + { + throw (e); + } + } + + //淇濆瓨鍚庢帶鍒� + public bool AfterSave(Int64 HInterID, string HBillNo, Int64 OperationType, ref string sReturn) + { + try + { + DataSet Ds = oCn.RunProcReturn("Exec h_p_Sc_MouldConkBookBill_AfterSaveCtrl " + HInterID.ToString() + ",'" + HBillNo + "'," + OperationType.ToString(), "h_p_Sc_MouldConkBookBill_AfterSaveCtrl"); + if (Ds == null || Ds.Tables[0].Rows.Count == 0) + { + sReturn = "淇濆瓨鍚庡垽鏂け璐ワ紒"; + return false; + } + else + { + if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HBack"]) == 1) + { + sReturn = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]); + return false; + } + } + return true; + } + catch (Exception e) + { + throw (e); + } + } + + //淇敼鍗曟嵁 public override bool ModifyBill(Int64 lngBillKey, ref string sReturn) { @@ -38,6 +94,12 @@ { // oCn.BeginTran(); + //淇濆瓨鍓嶆帶鍒� + if (!BeforeSave(lngBillKey, omodel.HBillNo, 2, ref sReturn)) + { + oCn.RollBack(); + return false; + } //鏇存柊涓昏〃 oCn.RunProc("UpDate Sc_MouldConkBookBillMain set " + " HBillNo='" + omodel.HBillNo + "'" + //鍥哄畾璧嬪��=============== @@ -90,19 +152,13 @@ "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() + ") "); } - // - //foreach (Model.ClsSc_MouldConkBookBillSub oSub in DetailColl) - //{ - // Ds = oCn.RunProcReturn("exec h_p_Sc_MouldConkBookBill_Qty " + oSub.HICMOInterID, ""); - // if (Ds.Tables[0].Rows.Count == 0) - // return; - // if (DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBool"]) == "Y") - // { - // sReturn = "姹囨姤鏁伴噺瓒呰繃璁″垝鏁伴噺锛佷笉鍏佽淇濆瓨"; - // return false; - // } - //} - sReturn = "淇敼鍗曟嵁鎴愬姛锛�"; + //淇濆瓨鍚庢帶鍒� + if (!AfterSave(lngBillKey, omodel.HBillNo, 2, ref sReturn)) + { + oCn.RollBack(); + return false; + } + sReturn = "鍗曟嵁鍙凤細" + omodel.HBillNo + " 淇敼鎴愬姛锛�"; oCn.Commit(); return true; } @@ -120,7 +176,13 @@ { //寰楀埌mainid omodel.HInterID = DBUtility.ClsPub.CreateBillID(BillType, ref DBUtility.ClsPub.sExeReturnInfo); - //鑻AINDI閲嶅鍒欓噸鏂拌幏鍙� + + //淇濆瓨鍓嶆帶鍒� + if (!BeforeSave(omodel.HInterID, omodel.HBillNo, 1, ref sReturn)) + { + return false; + } + oCn.BeginTran(); //涓昏〃 oCn.RunProc("Insert Into Sc_MouldConkBookBillMain " + @@ -151,20 +213,13 @@ "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() + ") "); } - // - //foreach (Model.ClsSc_MouldConkBookBillSub oSub in DetailColl) - //{ - // Ds = oCn.RunProcReturn("exec h_p_Sc_MouldConkBookBill_Qty " + oSub.HICMOInterID, ""); - // if (Ds.Tables[0].Rows.Count == 0) - // return; - // if (DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBool"]) == "Y") - // { - // sReturn = "姹囨姤鏁伴噺瓒呰繃璁″垝鏁伴噺锛佷笉鍏佽淇濆瓨"; - // return false; - // } - //} - // - sReturn = "鏂板鍗曟嵁鎴愬姛锛�"; + //淇濆瓨鍚庢帶鍒� + if (!AfterSave(omodel.HInterID, omodel.HBillNo, 1, ref sReturn)) + { + oCn.RollBack(); + return false; + } + sReturn = "鍗曟嵁鍙凤細" + omodel.HBillNo + " 鏂板鎴愬姛锛�"; oCn.Commit(); return true; } diff --git "a/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\346\250\241\345\205\267\347\256\241\347\220\206/ClsSc_MouldMaintainBill.cs" "b/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\346\250\241\345\205\267\347\256\241\347\220\206/ClsSc_MouldMaintainBill.cs" index c2f9e31..32929b1 100644 --- "a/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\346\250\241\345\205\267\347\256\241\347\220\206/ClsSc_MouldMaintainBill.cs" +++ "b/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\346\250\241\345\205\267\347\256\241\347\220\206/ClsSc_MouldMaintainBill.cs" @@ -30,15 +30,75 @@ { DetailColl = null; } - + #endregion 鑷畾涔夋柟娉� + + //淇濆瓨鍓嶆帶鍒� + public bool BeforeSave(Int64 HInterID, string HBillNo, Int64 OperationType, ref string sReturn) + { + try + { + DataSet Ds = oCn.RunProcReturn("Exec h_p_Sc_MouldMaintainBill_BeforeSaveCtrl " + HInterID.ToString() + ",'" + HBillNo + "'," + OperationType.ToString(), "h_p_Sc_MouldMaintainBill_BeforeSaveCtrl"); + if (Ds == null || Ds.Tables[0].Rows.Count == 0) + { + sReturn = "淇濆瓨鍓嶅垽鏂け璐ワ紒"; + return false; + } + else + { + if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HBack"]) == 1) + { + sReturn = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]); + return false; + } + } + return true; + } + catch (Exception e) + { + throw (e); + } + } + + //淇濆瓨鍚庢帶鍒� + public bool AfterSave(Int64 HInterID, string HBillNo, Int64 OperationType, ref string sReturn) + { + try + { + DataSet Ds = oCn.RunProcReturn("Exec h_p_Sc_MouldMaintainBill_AfterSaveCtrl " + HInterID.ToString() + ",'" + HBillNo + "'," + OperationType.ToString(), "h_p_Sc_MouldMaintainBill_AfterSaveCtrl"); + if (Ds == null || Ds.Tables[0].Rows.Count == 0) + { + sReturn = "淇濆瓨鍚庡垽鏂け璐ワ紒"; + return false; + } + else + { + if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HBack"]) == 1) + { + sReturn = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]); + return false; + } + } + return true; + } + catch (Exception e) + { + throw (e); + } + } + //淇敼鍗曟嵁 public override bool ModifyBill(Int64 lngBillKey, ref string sReturn) { try { - // oCn.BeginTran(); + //淇濆瓨鍓嶆帶鍒� + if (!BeforeSave(lngBillKey, omodel.HBillNo, 2, ref sReturn)) + { + oCn.RollBack(); + return false; + } //鏇存柊涓昏〃 oCn.RunProc("UpDate Sc_MouldMaintainBillMain set " + " HBillNo='" + omodel.HBillNo + "'" + //鍥哄畾璧嬪��=============== @@ -111,19 +171,13 @@ "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() + ") "); } - // - //foreach (Model.ClsSc_MouldMaintainBillSub oSub in DetailColl) - //{ - // Ds = oCn.RunProcReturn("exec h_p_Sc_MouldMaintainBill_Qty " + oSub.HICMOInterID, ""); - // if (Ds.Tables[0].Rows.Count == 0) - // return; - // if (DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBool"]) == "Y") - // { - // sReturn = "姹囨姤鏁伴噺瓒呰繃璁″垝鏁伴噺锛佷笉鍏佽淇濆瓨"; - // return false; - // } - //} - sReturn = "淇敼鍗曟嵁鎴愬姛锛�"; + //淇濆瓨鍚庢帶鍒� + if (!AfterSave(lngBillKey, omodel.HBillNo, 2, ref sReturn)) + { + oCn.RollBack(); + return false; + } + sReturn = "鍗曟嵁鍙凤細" + omodel.HBillNo + " 淇敼鎴愬姛锛�"; oCn.Commit(); return true; } @@ -141,7 +195,13 @@ { //寰楀埌mainid omodel.HInterID = DBUtility.ClsPub.CreateBillID(BillType, ref DBUtility.ClsPub.sExeReturnInfo); - //鑻AINDI閲嶅鍒欓噸鏂拌幏鍙� + + //淇濆瓨鍓嶆帶鍒� + if (!BeforeSave(omodel.HInterID, omodel.HBillNo, 1, ref sReturn)) + { + return false; + } + oCn.BeginTran(); //涓昏〃 oCn.RunProc("Insert Into Sc_MouldMaintainBillMain " + @@ -216,7 +276,14 @@ //淇濆吇瀹屾垚锛屽弽鍐欒澶囦繚鍏昏鍒掑崟瀛愯〃鏄惁鐐规鏍囪 oCn.RunProc("exec h_p_Sc_MouldMaintain_AfterSaveCtrl " + omodel.HMouldMaintainPlanInterID + "," + omodel.HMouldMaintainPlanEntryID); - sReturn = "鏂板鍗曟嵁鎴愬姛锛�"; + + //淇濆瓨鍚庢帶鍒� + if (!AfterSave(omodel.HInterID, omodel.HBillNo, 1, ref sReturn)) + { + oCn.RollBack(); + return false; + } + sReturn = "鍗曟嵁鍙凤細" + omodel.HBillNo + " 鏂板鎴愬姛锛�"; oCn.Commit(); return true; } diff --git "a/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\350\256\276\345\244\207\347\256\241\347\220\206/ClsSb_EquipBeginBillMain.cs" "b/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\350\256\276\345\244\207\347\256\241\347\220\206/ClsSb_EquipBeginBillMain.cs" index 432108b..727def3 100644 --- "a/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\350\256\276\345\244\207\347\256\241\347\220\206/ClsSb_EquipBeginBillMain.cs" +++ "b/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\350\256\276\345\244\207\347\256\241\347\220\206/ClsSb_EquipBeginBillMain.cs" @@ -29,15 +29,75 @@ { DetailColl = null; } - + #endregion 鑷畾涔夋柟娉� + + //淇濆瓨鍓嶆帶鍒� + public bool BeforeSave(Int64 HInterID, string HBillNo, Int64 OperationType, ref string sReturn) + { + try + { + DataSet Ds = oCn.RunProcReturn("Exec h_p_Sb_EquipBeginBill_BeforeSaveCtrl " + HInterID.ToString() + ",'" + HBillNo + "'," + OperationType.ToString(), "h_p_Sb_EquipBeginBill_BeforeSaveCtrl"); + if (Ds == null || Ds.Tables[0].Rows.Count == 0) + { + sReturn = "淇濆瓨鍓嶅垽鏂け璐ワ紒"; + return false; + } + else + { + if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HBack"]) == 1) + { + sReturn = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]); + return false; + } + } + return true; + } + catch (Exception e) + { + throw (e); + } + } + + //淇濆瓨鍚庢帶鍒� + public bool AfterSave(Int64 HInterID, string HBillNo, Int64 OperationType, ref string sReturn) + { + try + { + DataSet Ds = oCn.RunProcReturn("Exec h_p_Sb_EquipBeginBill_AfterSaveCtrl " + HInterID.ToString() + ",'" + HBillNo + "'," + OperationType.ToString(), "h_p_Sb_EquipBeginBill_AfterSaveCtrl"); + if (Ds == null || Ds.Tables[0].Rows.Count == 0) + { + sReturn = "淇濆瓨鍚庡垽鏂け璐ワ紒"; + return false; + } + else + { + if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HBack"]) == 1) + { + sReturn = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]); + return false; + } + } + return true; + } + catch (Exception e) + { + throw (e); + } + } + //淇敼鍗曟嵁 public override bool ModifyBill(Int64 lngBillKey, ref string sReturn) { try { - oCn.BeginTran(); + //淇濆瓨鍓嶆帶鍒� + if (!BeforeSave(lngBillKey, omodel.HBillNo, 2, ref sReturn)) + { + oCn.RollBack(); + return false; + } //鏇存柊涓昏〃 oCn.RunProc("UpDate Sb_EquipBeginBillMain set " + " HBillNo='" + omodel.HBillNo + "'" + @@ -56,8 +116,14 @@ DeleteRelation(ref sReturn, lngBillKey); //鍒犻櫎瀛愯〃 //DeleteBillSub(lngBillKey); - - sReturn = "淇敼鍗曟嵁鎴愬姛锛�"; + + //淇濆瓨鍚庢帶鍒� + if (!AfterSave(lngBillKey, omodel.HBillNo, 2, ref sReturn)) + { + oCn.RollBack(); + return false; + } + sReturn = "鍗曟嵁鍙凤細" + omodel.HBillNo + " 淇敼鎴愬姛锛�"; oCn.Commit(); return true; } @@ -91,6 +157,11 @@ break; } } + //淇濆瓨鍓嶆帶鍒� + if (!BeforeSave(omodel.HInterID, omodel.HBillNo, 1, ref sReturn)) + { + return false; + } //涓昏〃 string mainSql = "insert into Sb_EquipBeginBillMain" + @@ -115,7 +186,13 @@ oCn.RunProc(mainSql); - sReturn = "鏂板鍗曟嵁鎴愬姛锛�"; + //淇濆瓨鍚庢帶鍒� + if (!AfterSave(omodel.HInterID, omodel.HBillNo, 1, ref sReturn)) + { + oCn.RollBack(); + return false; + } + sReturn = "鍗曟嵁鍙凤細" + omodel.HBillNo + " 鏂板鎴愬姛锛�"; oCn.Commit(); return true; } diff --git "a/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\350\256\276\345\244\207\347\256\241\347\220\206/ClsSb_EquipMaintainBill.cs" "b/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\350\256\276\345\244\207\347\256\241\347\220\206/ClsSb_EquipMaintainBill.cs" index c16e3e8..83d34f4 100644 --- "a/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\350\256\276\345\244\207\347\256\241\347\220\206/ClsSb_EquipMaintainBill.cs" +++ "b/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\350\256\276\345\244\207\347\256\241\347\220\206/ClsSb_EquipMaintainBill.cs" @@ -71,6 +71,7 @@ ",HInnerBillNo='" + omodel.HInnerBillNo+"'" + ",HEquipMaintainRuleInterID=" + omodel.HEquipMaintainRuleInterID.ToString()+ ",HMaintainLevID=" + omodel.HMaintainLevID + + ",HLastResult='" + omodel.HLastResult + "'" + " where HInterID=" + lngBillKey.ToString()); //鍒犻櫎鍏宠仈 DeleteRelation(ref sReturn, lngBillKey); @@ -103,13 +104,14 @@ ",HMaintainPart,HClaim" + ",HManagerID" + ",HCloseMan,HCloseType,HRemark" + - ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" + + ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney,HMaintainResult" + ") values(" + omodel.HInterID.ToString() + "," + Item.HEntryID.ToString() + "," + Item.HMaintainItemID.ToString() + ",'" + Item.HMaintainPart.ToString() + "','" + Item.HClaim.ToString() + "'" + "," + Item.HManagerID.ToString() + ",'" + Item.HCloseMan + "'," + Convert.ToString(Item.HCloseType ? 1 : 0) + ",'" + Item.HRemark + "'" + - "," + Item.HSourceInterID.ToString() + "," + Item.HSourceEntryID.ToString() + ",'" + Item.HSourceBillNo + "','" + Item.HSourceBillType + "'," + Item.HRelationQty.ToString() + "," + Item.HRelationMoney.ToString() + + "," + Item.HSourceInterID.ToString() + "," + Item.HSourceEntryID.ToString() + ",'" + Item.HSourceBillNo + "','" + Item.HSourceBillType + "'," + Item.HRelationQty.ToString() + "," + Item.HRelationMoney.ToString() + + ",'" + Item.HMaintainResult + "'" + ") "); } @@ -174,11 +176,11 @@ "(HBillType,HBillSubType,HInterID,HBillNo,HDate,HMaker,HMakeDate" + ",HYear,HPeriod,HRemark,HEquipID" + ",HBeginDate,HEndDate,HPlanNo,HExplanation,HInnerBillNo,HEquipMaintainRuleInterID" + - ",HDeptID,HMaintainLevID" + + ",HDeptID,HMaintainLevID,HLastResult" + ") " + " values('" + this.BillType + "','" + this.HBillSubType + "'," +omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "','" + omodel.HDate + "','" + DBUtility.ClsPub.CurUserName + "',getdate()" + "," + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "'," + omodel.HEquipID.ToString() + - ",'" + omodel.HBeginDate + "','" + omodel.HEndDate + "','" + omodel.HPlanNo + "','" + omodel.HExplanation + "','" + omodel.HInnerBillNo + "'," +omodel.HEquipMaintainRuleInterID.ToString() + "," + omodel.HDeptID + "," + omodel.HMaintainLevID + + ",'" + omodel.HBeginDate + "','" + omodel.HEndDate + "','" + omodel.HPlanNo + "','" + omodel.HExplanation + "','" + omodel.HInnerBillNo + "'," +omodel.HEquipMaintainRuleInterID.ToString() + "," + omodel.HDeptID + "," + omodel.HMaintainLevID + ",'" + omodel.HLastResult + "'" + ") "); //鎻掑叆閰嶄欢瀛愯〃 foreach (Model.ClsSb_EquipMaintainBillSub oSub in DetailColl) diff --git "a/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\350\256\276\345\244\207\347\256\241\347\220\206/ClsSb_EquipStopBillMain.cs" "b/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\350\256\276\345\244\207\347\256\241\347\220\206/ClsSb_EquipStopBillMain.cs" index 09170bf..a842d1c 100644 --- "a/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\350\256\276\345\244\207\347\256\241\347\220\206/ClsSb_EquipStopBillMain.cs" +++ "b/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\350\256\276\345\244\207\347\256\241\347\220\206/ClsSb_EquipStopBillMain.cs" @@ -29,15 +29,75 @@ { DetailColl = null; } - + #endregion 鑷畾涔夋柟娉� + + //淇濆瓨鍓嶆帶鍒� + public bool BeforeSave(Int64 HInterID, string HBillNo, Int64 OperationType, ref string sReturn) + { + try + { + DataSet Ds = oCn.RunProcReturn("Exec h_p_Sb_EquipStopBill_BeforeSaveCtrl " + HInterID.ToString() + ",'" + HBillNo + "'," + OperationType.ToString(), "h_p_Sb_EquipStopBill_BeforeSaveCtrl"); + if (Ds == null || Ds.Tables[0].Rows.Count == 0) + { + sReturn = "淇濆瓨鍓嶅垽鏂け璐ワ紒"; + return false; + } + else + { + if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HBack"]) == 1) + { + sReturn = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]); + return false; + } + } + return true; + } + catch (Exception e) + { + throw (e); + } + } + + //淇濆瓨鍚庢帶鍒� + public bool AfterSave(Int64 HInterID, string HBillNo, Int64 OperationType, ref string sReturn) + { + try + { + DataSet Ds = oCn.RunProcReturn("Exec h_p_Sb_EquipStopBill_AfterSaveCtrl " + HInterID.ToString() + ",'" + HBillNo + "'," + OperationType.ToString(), "h_p_Sb_EquipStopBill_AfterSaveCtrl"); + if (Ds == null || Ds.Tables[0].Rows.Count == 0) + { + sReturn = "淇濆瓨鍚庡垽鏂け璐ワ紒"; + return false; + } + else + { + if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HBack"]) == 1) + { + sReturn = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]); + return false; + } + } + return true; + } + catch (Exception e) + { + throw (e); + } + } + //淇敼鍗曟嵁 public override bool ModifyBill(Int64 lngBillKey, ref string sReturn) { try { - oCn.BeginTran(); + //淇濆瓨鍓嶆帶鍒� + if (!BeforeSave(lngBillKey, omodel.HBillNo, 2, ref sReturn)) + { + oCn.RollBack(); + return false; + } //鏇存柊涓昏〃 oCn.RunProc("UpDate Sb_EquipStopBillMain set " + " HBillNo='" + omodel.HBillNo + "'" + @@ -57,8 +117,14 @@ DeleteRelation(ref sReturn, lngBillKey); //鍒犻櫎瀛愯〃 //DeleteBillSub(lngBillKey); - - sReturn = "淇敼鍗曟嵁鎴愬姛锛�"; + + //淇濆瓨鍚庢帶鍒� + if (!AfterSave(lngBillKey, omodel.HBillNo, 2, ref sReturn)) + { + oCn.RollBack(); + return false; + } + sReturn = "鍗曟嵁鍙凤細" + omodel.HBillNo + " 淇敼鎴愬姛锛�"; oCn.Commit(); return true; } @@ -92,6 +158,11 @@ break; } } + //淇濆瓨鍓嶆帶鍒� + if (!BeforeSave(omodel.HInterID, omodel.HBillNo, 1, ref sReturn)) + { + return false; + } //涓昏〃 string mainSql = "insert into Sb_EquipStopBillMain" + @@ -117,7 +188,13 @@ oCn.RunProc(mainSql); - sReturn = "鏂板鍗曟嵁鎴愬姛锛�"; + //淇濆瓨鍚庢帶鍒� + if (!AfterSave(omodel.HInterID, omodel.HBillNo, 1, ref sReturn)) + { + oCn.RollBack(); + return false; + } + sReturn = "鍗曟嵁鍙凤細" + omodel.HBillNo + " 鏂板鎴愬姛锛�"; oCn.Commit(); return true; } diff --git "a/DAL/\350\275\246\351\227\264\347\256\241\347\220\206/ClsSc_MaterToSourceBill.cs" "b/DAL/\350\275\246\351\227\264\347\256\241\347\220\206/ClsSc_MaterToSourceBill.cs" index 2dfc622..fef4650 100644 --- "a/DAL/\350\275\246\351\227\264\347\256\241\347\220\206/ClsSc_MaterToSourceBill.cs" +++ "b/DAL/\350\275\246\351\227\264\347\256\241\347\220\206/ClsSc_MaterToSourceBill.cs" @@ -122,6 +122,7 @@ ",HWorkerID=" + omodel.HWorkerID.ToString() + ",HWorkerBarCode='" + omodel.HWorkerBarCode + "'" + ",HGroupID=" + omodel.HGroupID.ToString() + + ",HProcNo=" + omodel.HProcNo.ToString() + ",HMainSourceInterID='" + omodel.HMainSourceInterID.ToString() + "'" + ",HMainSourceEntryID='" + omodel.HMainSourceEntryID.ToString() + "'" + ",HMainSourceBillNo='" + omodel.HMainSourceBillNo + "'" + @@ -196,14 +197,14 @@ ",HMainSourceInterID,HMainSourceEntryID,HMainSourceBillNo,HMainSourceBillType" + ",HProcExchInterID,HProcExchEntryID,HProcExchBillNo,HICMOInterID,HICMOEntryID,HICMOBillNo" + ",HSourceID,HProcID,HMaterID,HSourceBarCode,HEquipID,HWorkerID,HWorkerBarCode" + - ",HGroupID,HStockOrgID" + + ",HGroupID,HProcNo,HStockOrgID" + ") " + " values('" + this.BillType + "','" + this.HBillSubType + "'," + omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "','" + omodel.HDate.ToShortDateString() + "'" + ", " + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "','" + DBUtility.ClsPub.CurUserName + "',getdate()" + "," + omodel.HMainSourceInterID.ToString() + "," + omodel.HMainSourceEntryID.ToString() + ",'" + omodel.HMainSourceBillNo + "','" + omodel.HMainSourceBillType + "'" + "," + omodel.HProcExchInterID.ToString() + "," + omodel.HProcExchEntryID.ToString() + ",'" + omodel.HProcExchBillNo + "'," + omodel.HICMOInterID.ToString() + "," + omodel.HICMOEntryID.ToString() + ",'" + omodel.HICMOBillNo + "'" + "," + omodel.HSourceID.ToString() + "," + omodel.HProcID.ToString() + "," + omodel.HMaterID.ToString() + ",'" + omodel.HSourceBarCode + "'," + omodel.HEquipID.ToString() + "," + omodel.HWorkerID.ToString() + ",'" + omodel.HWorkerBarCode + "'" + - "," + omodel.HGroupID.ToString() +"," + omodel.HSTOCKORGID.ToString() + + "," + omodel.HGroupID.ToString() + "," + omodel.HProcNo.ToString() + "," + omodel.HSTOCKORGID.ToString() + ") "); //鎻掑叆瀛愯〃 foreach (Model.ClsSc_MaterToSourceBillSub oSub in DetailColl) diff --git a/Model/obj/Release/Model.csproj.AssemblyReference.cache b/Model/obj/Release/Model.csproj.AssemblyReference.cache index 2061529..b12ad9c 100644 --- a/Model/obj/Release/Model.csproj.AssemblyReference.cache +++ b/Model/obj/Release/Model.csproj.AssemblyReference.cache Binary files differ diff --git "a/Model/\344\277\241\346\201\257\345\271\263\345\217\260/ClsOA_AndengFlowRuleBillSub.cs" "b/Model/\344\277\241\346\201\257\345\271\263\345\217\260/ClsOA_AndengFlowRuleBillSub.cs" index f5c8498..76d2063 100644 --- "a/Model/\344\277\241\346\201\257\345\271\263\345\217\260/ClsOA_AndengFlowRuleBillSub.cs" +++ "b/Model/\344\277\241\346\201\257\345\271\263\345\217\260/ClsOA_AndengFlowRuleBillSub.cs" @@ -10,5 +10,6 @@ public int HDutyID; //职务(Gy_Duty) public int HTimes; //触发时间点(分钟) public string HReceiveType; //接收模式(短信,消息,同时接收) + public bool HIsRece;//是否接收人 } } diff --git "a/Model/\347\224\237\344\272\247\347\256\241\347\220\206/ClsSc_QualityReportBillSub.cs" "b/Model/\347\224\237\344\272\247\347\256\241\347\220\206/ClsSc_QualityReportBillSub.cs" index 8bbbef5..35368e9 100644 --- "a/Model/\347\224\237\344\272\247\347\256\241\347\220\206/ClsSc_QualityReportBillSub.cs" +++ "b/Model/\347\224\237\344\272\247\347\256\241\347\220\206/ClsSc_QualityReportBillSub.cs" @@ -27,5 +27,6 @@ public DateTime HMakeDate; public double HQty; //数量 public string HResult; //判断结果 + public int HGroupID;//班组 } } diff --git "a/Model/\347\224\237\344\272\247\347\256\241\347\220\206/\350\256\276\345\244\207\347\256\241\347\220\206/ClsSb_EquipMaintainBillMain.cs" "b/Model/\347\224\237\344\272\247\347\256\241\347\220\206/\350\256\276\345\244\207\347\256\241\347\220\206/ClsSb_EquipMaintainBillMain.cs" index 1edef06..8272a5d 100644 --- "a/Model/\347\224\237\344\272\247\347\256\241\347\220\206/\350\256\276\345\244\207\347\256\241\347\220\206/ClsSb_EquipMaintainBillMain.cs" +++ "b/Model/\347\224\237\344\272\247\347\256\241\347\220\206/\350\256\276\345\244\207\347\256\241\347\220\206/ClsSb_EquipMaintainBillMain.cs" @@ -19,5 +19,6 @@ public int HEquipMaintainPlanEntryID; //设备保养计划单(Sb_EquipMaintainPlanBillSub_Plan)子内码 public Int64 HMaintainLevID; //保养级别(gy_HMaintainLev) + public string HLastResult;// 最终结论(OK,NG) } } diff --git "a/Model/\350\275\246\351\227\264\347\256\241\347\220\206/ClsSc_MaterToSourceBillMain.cs" "b/Model/\350\275\246\351\227\264\347\256\241\347\220\206/ClsSc_MaterToSourceBillMain.cs" index 249ad47..98e09a2 100644 --- "a/Model/\350\275\246\351\227\264\347\256\241\347\220\206/ClsSc_MaterToSourceBillMain.cs" +++ "b/Model/\350\275\246\351\227\264\347\256\241\347\220\206/ClsSc_MaterToSourceBillMain.cs" @@ -20,7 +20,7 @@ public Int64 HWorkerID;// int --操作工ID public string HWorkerBarCode;// varchar(50) --操作工条码 public Int64 HGroupID;// int --生产班组ID - + public Int64 HProcNo;// int --流水号(工序号) public Int64 HProcID;// int --工序ID public Int64 HMaterID;// int --产品ID diff --git a/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs b/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs index c859e73..b80be6c 100644 --- a/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs +++ b/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs @@ -1606,6 +1606,11 @@ { omodel.MES_StationInBill_ShowUSERProcess = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); } + //工序进站时默认带入数量(1.流转卡数,2.上道合格数量,3.物料最小包装数量,4.不带入) + if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "MES_StationInBill_DefQty") + { + omodel.MES_StationInBill_DefQty = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); + } @@ -3551,6 +3556,11 @@ { omodel.MES_StationInBill_PreQtyCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); } + //工序进站时默认带入数量(1.流转卡数,2.上道合格数量,3.物料最小包装数量,4.不带入) + if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "MES_StationInBill_DefQty") + { + omodel.MES_StationInBill_DefQty = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); + } diff --git a/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs b/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs index 198047d..f331b24 100644 --- a/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs +++ b/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs @@ -508,7 +508,8 @@ public string MES_StationInBill_DeleteRelationCtl; //进站接收单删除时是否进行关联控制 public string MES_StationInBill_PreQtyCtl; //本道进站数量不能大于上道出站合格数量 public string MES_StationInBill_QtyRateCtl; //本道进站数量汇总数不能大于流转卡数量上限 - public string MES_StationInBill_DyCentralInspectionControl; //判断工序进站之前是否做过检验单 + public string MES_StationInBill_DyCentralInspectionControl; //判断工序进站之前是否做过检验单 + public string MES_StationInBill_DefQty; //工序进站时默认带入数量(1.流转卡数,2.上道合格数量,3.物料最小包装数量,4.不带入) //工序出站汇报单 public string MES_StationOutBill_AutoCheck; //保存后是否自动审核 diff --git a/WebAPI.suo b/WebAPI.suo new file mode 100644 index 0000000..abf1d8b --- /dev/null +++ b/WebAPI.suo Binary files differ diff --git a/WebAPI/Controllers/BLL/Xt_BillTypeController.cs b/WebAPI/Controllers/BLL/Xt_BillTypeController.cs index c8947ff..7ebf34f 100644 --- a/WebAPI/Controllers/BLL/Xt_BillTypeController.cs +++ b/WebAPI/Controllers/BLL/Xt_BillTypeController.cs @@ -276,6 +276,7 @@ try { var _value = msg["model"].ToString(); + LogService.Write("鍗曟嵁绫诲瀷:" + _value); SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); ListModels oListModels = new ListModels(); List<Model.ClsXt_BillType_Model> lsmain = new List<Model.ClsXt_BillType_Model>(); @@ -288,6 +289,9 @@ //sql = "set identity_insert Xt_BillType on"; //oCN.RunProc(sql); + LogService.Write("鍗曟嵁绫诲瀷:" + $@"insert into Xt_BillType(HBilltypeID,HNumber,HName,HTemplate,HHeadTable,HEntryTable,HViewName,HRightName) + values('{lsmain[0].HBilltypeID}','{lsmain[0].HNumber}','{lsmain[0].HName}','{lsmain[0].HTemplate}','{lsmain[0].HHeadTable}','{lsmain[0].HEntryTable}','{lsmain[0].HViewName}','{lsmain[0].HRightName}' )"); + oCN.RunProc($@"insert into Xt_BillType(HBilltypeID,HNumber,HName,HTemplate,HHeadTable,HEntryTable,HViewName,HRightName) values('{lsmain[0].HBilltypeID}','{lsmain[0].HNumber}','{lsmain[0].HName}','{lsmain[0].HTemplate}','{lsmain[0].HHeadTable}','{lsmain[0].HEntryTable}','{lsmain[0].HViewName}','{lsmain[0].HRightName}' )", ref DBUtility.ClsPub.sExeReturnInfo); //淇敼涓婄骇涓洪潪鏈骇浠g爜 diff --git a/WebAPI/Controllers/BLL/Xt_UserController.cs b/WebAPI/Controllers/BLL/Xt_UserController.cs index bfdcfd2..48f8432 100644 --- a/WebAPI/Controllers/BLL/Xt_UserController.cs +++ b/WebAPI/Controllers/BLL/Xt_UserController.cs @@ -1552,6 +1552,168 @@ } #endregion + #region 鐢ㄦ埛鍏宠仈閮ㄩ棬鏌ヨ + /// <summary> + ///鍙傛暟锛歴tring sql銆� + ///杩斿洖鍊硷細object銆� + /// </summary> + [Route("Xt_User/UserRelationDeptlist")] + [HttpGet] + public object UserRelationDeptlist(string sWhere, string user) + { + try + { + List<object> columnNameList = new List<object>(); + //鏌ョ湅鏉冮檺 + if (!DBUtility.ClsPub.Security_Log("Gy_UserRelationDept_Query", 1, false, user)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒"; + objJsonResult.data = null; + return objJsonResult; + } + + string sql = ""; + + + if (sWhere == null || sWhere.Equals("")) + { + sql = "select * from h_v_Gy_UserDeptRelationList_Query order by 鐢ㄦ埛浠g爜 asc,閮ㄩ棬浠g爜 asc"; + ds = oCN.RunProcReturn(sql, "h_v_Gy_UserDeptRelationList_Query"); + } + else + { + sql = "select * from h_v_Gy_UserDeptRelationList_Query where 1=1 "; + sql = sql + sWhere + " order by 鐢ㄦ埛浠g爜 asc,閮ㄩ棬浠g爜 asc"; + ds = oCN.RunProcReturn(sql, "h_v_Gy_UserDeptRelationList_Query"); + } + + //娣诲姞鍒楀悕 + 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));//鑾峰彇鍒癉ataColumn鍒楀璞$殑鍒楀悕 + } + + 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 + + #region 鐢ㄦ埛鍏宠仈閮ㄩ棬 鏍规嵁鐢ㄦ埛ID鏌ユ壘 + /// <summary> + ///鍙傛暟锛歴tring sql銆� + ///杩斿洖鍊硷細object銆� + /// </summary> + [Route("Xt_User/UserRelationDeptlist_EditInit")] + [HttpGet] + public object UserRelationDeptlist_EditInit(int HItemID, string user) + { + try + { + List<object> columnNameList = new List<object>(); + //鏌ョ湅鏉冮檺 + if (!DBUtility.ClsPub.Security_Log("Gy_UserRelationDept_Query", 1, false, user)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒"; + objJsonResult.data = null; + return objJsonResult; + } + + string sql = "select * from h_v_Gy_UserDeptRelationList_Query where HItemID = " + HItemID; + ds = oCN.RunProcReturn(sql, "h_v_Gy_UserDeptRelationList_Query"); + + 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 + + #region 鐢ㄦ埛鍏宠仈閮ㄩ棬 鍒犻櫎 + /// <summary> + ///鍙傛暟锛歴tring HInterID銆� + ///杩斿洖鍊硷細object銆� + /// </summary> + [Route("Xt_User/UserRelationDeptlist_Drop")] + [HttpGet] + public object UserRelationDeptlist_Drop(string HInterID, string user) + { + try + { + string s = ""; + + //鏌ョ湅鏉冮檺 + if (!DBUtility.ClsPub.Security_Log("Gy_UserRelationDept_Drop", 1, false, user)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鏃犲垹闄ゆ潈闄愶紒"; + objJsonResult.data = null; + return objJsonResult; + } + + if (HInterID == null || HInterID.Equals("")) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "HInterID涓嶈兘涓虹┖锛�"; + objJsonResult.data = null; + return objJsonResult; + } + + oCN.BeginTran(); + + string sql = "delete from Gy_UserDeptRelation where HItemID = " + HInterID; + oCN.RunProc(sql); + + oCN.Commit(); + + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "Sucess锛�"; + objJsonResult.data = null; + return objJsonResult; + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "Exception锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + #endregion + #region 鏍规嵁鐢ㄦ埛缂栫爜鏌ユ壘宸插垎閰嶅伐浣滀腑蹇冨垪琛� [Route("Xt_User/UserWorkCenterlistPlaylist")] [HttpGet] diff --git a/WebAPI/Controllers/BaseSet/Gy_CurrencyController.cs b/WebAPI/Controllers/BaseSet/Gy_CurrencyController.cs index e54e0e3..4ad4847 100644 --- a/WebAPI/Controllers/BaseSet/Gy_CurrencyController.cs +++ b/WebAPI/Controllers/BaseSet/Gy_CurrencyController.cs @@ -595,6 +595,7 @@ try { var _value = msg["model"].ToString(); + LogService.Write("甯佸埆:" + _value); SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); ListModels oListModels = new ListModels(); List<Model.ClsGy_Currency_Model> lsmain = new List<Model.ClsGy_Currency_Model>(); @@ -607,6 +608,11 @@ sql = "set identity_insert Gy_Currency on"; oCN.RunProc(sql); + LogService.Write("甯佸埆:" + $@"insert into Gy_Currency(HItemID,HNumber,HName,HShortNumber,HParentID + ,HLevel,HEndFlag,HStopflag,HRemark,HHelpCode,HScale,HExchangeRate) + values({lsmain[0].HItemID},'{lsmain[0].HNumber}','{lsmain[0].HName}','{lsmain[0].HShortNumber}',{lsmain[0].HParentID},{lsmain[0].HLevel} + ,{Convert.ToString(lsmain[0].HEndFlag ? 1 : 0)},{Convert.ToString(lsmain[0].HStopflag ? 1 : 0) },'{lsmain[0].HRemark}','{lsmain[0].HHelpCode}','{lsmain[0].HScale}','{lsmain[0].HExchangeRate}')"); + oCN.RunProc($@"insert into Gy_Currency(HItemID,HNumber,HName,HShortNumber,HParentID ,HLevel,HEndFlag,HStopflag,HRemark,HHelpCode,HScale,HExchangeRate) values({lsmain[0].HItemID},'{lsmain[0].HNumber}','{lsmain[0].HName}','{lsmain[0].HShortNumber}',{lsmain[0].HParentID},{lsmain[0].HLevel} diff --git a/WebAPI/Controllers/BaseSet/Gy_CustomerController.cs b/WebAPI/Controllers/BaseSet/Gy_CustomerController.cs index b2ef0d7..d293479 100644 --- a/WebAPI/Controllers/BaseSet/Gy_CustomerController.cs +++ b/WebAPI/Controllers/BaseSet/Gy_CustomerController.cs @@ -438,6 +438,7 @@ try { var model = oMain["model"].ToString(); + LogService.Write("瀹㈡埛:" + model); var custLocationModel = oMain["model"]["HCustLocationEntry"].ToString(); var custContactModel = oMain["model"]["HCustContactEntry"].ToString(); //鍙嶅簭鍒楀寲 @@ -451,6 +452,28 @@ oCN.RunProc(sql); sql = "set identity_insert gy_Customer on"; oCN.RunProc(sql); + + LogService.Write("瀹㈡埛:" + "Insert into Gy_Customer " + + " (HItemID,HNumber,HName,HHelpCode,HShortNumber,HParentID" + + ",HLevel,HEndFlag,HStopflag,HRemark" + + ",HShortName,HAddress,HLinkMan,HLinkPhone,HMobilePhone" + + ",HFax,HPostalCode,HEmail,HBank,HBankAccount" + + ",HTaxNum,HTaxRate,HCountry,HCorMan,HEnglishName" + + ",HEnglishAddress,HCurID,HSSID,HAreaID,HCusStatus" + + ",HEmpID,HCreditDate,HCreditRatingDate,HMaxCreditRatingDate" + + ",HMonthUseQty,HForecastCreditRating,HCreditLevelID,HCountAccrualRating" + + ",HSubsidyAccrualRating,HCreditRating,HMaxCreditRating" + + ",HCusTypeID) " + + " Values('" + lsmain[0].HItemID + "','" + lsmain[0].HNumber + "','" + lsmain[0].HName + "','" + lsmain[0].HHelpCode + "','" + lsmain[0].HShortNumber + "'," + lsmain[0].HParentID + + ", " + lsmain[0].HLevel + ",0,'" + lsmain[0].HStopFlag + "','" + lsmain[0].HRemark + "'" + + ",'" + lsmain[0].HShortName + "','" + lsmain[0].HAddress + "','" + lsmain[0].HLinkMan + "','" + lsmain[0].HLinkPhone + "','" + lsmain[0].HMobilePhone + "'" + + ",'" + lsmain[0].HFax + "','" + lsmain[0].HPostalCode + "','" + lsmain[0].HEmail + "','" + lsmain[0].HBank + "','" + lsmain[0].HBankAccount + "'" + + ",'" + lsmain[0].HTaxNum + "'," + lsmain[0].HTaxRate + ",'" + lsmain[0].HCountry + "','" + lsmain[0].HCorMan + "','" + lsmain[0].HEnglishName + "'" + + ",'" + lsmain[0].HEnglishAddress + "'," + lsmain[0].HCurID + "," + lsmain[0].HSSID + "," + lsmain[0].HAreaID + ",'" + lsmain[0].HCusStatus + "'" + + "," + lsmain[0].HEmpID + "," + lsmain[0].HCreditDate + "," + lsmain[0].HCreditRatingDate + "," + lsmain[0].HMaxCreditRatingDate + + "," + lsmain[0].HMonthUseQty + "," + lsmain[0].HForecastCreditRating + "," + lsmain[0].HCreditLevelID + "," + lsmain[0].HCountAccrualRating + + "," + lsmain[0].HSubsidyAccrualRating + "," + lsmain[0].HCreditRating + "," + lsmain[0].HMaxCreditRating + + ", " + lsmain[0].HCusTypeID + ")"); //涓昏〃_瀹㈡埛 oCN.RunProc("Insert into Gy_Customer " + " (HItemID,HNumber,HName,HHelpCode,HShortNumber,HParentID" + diff --git a/WebAPI/Controllers/BaseSet/Gy_MaterialController.cs b/WebAPI/Controllers/BaseSet/Gy_MaterialController.cs index f6519ae..5e64423 100644 --- a/WebAPI/Controllers/BaseSet/Gy_MaterialController.cs +++ b/WebAPI/Controllers/BaseSet/Gy_MaterialController.cs @@ -1156,6 +1156,34 @@ } #endregion + #region[鍣ㄥ叿妗f缂栬緫鏃惰幏鍙栧瓙琛ㄦ暟鎹甝 + [Route("Gy_MouldFileMain/Gy_MouldFileSubDetai")] + [HttpGet] + public object Gy_MouldFileSubDetai(long HInterID) + { + try + { + List<DataTable> tableList = new List<DataTable>(); + ds = oCN.RunProcReturn("select a.*,b.HBillNo from Gy_MouldFileSub_MaintainRule AS a left join Sc_MouldMaintainRuleBillMain as b on b.HInterID = a.HMaintainRuleID where a.HInterID = " + HInterID, "Gy_MouldFileBill_MaintainRule"); + tableList.Add(ds.Tables[0]); + ds = oCN.RunProcReturn("select a.*,b.HBillNo from Gy_MouldFileSub_DotCheckRule AS a left join Sc_MouldDotCheckRuleBillMain as b on b.HInterID = a.HDotCheckRuleID where a.HInterID = " + HInterID, "Gy_MouldFileBill_DotCheckRule"); + tableList.Add(ds.Tables[0]); + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = ""; + objJsonResult.data = tableList; + return objJsonResult; + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "Exception锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + #endregion /// <summary> /// 鏂板妯″叿妗f-淇濆瓨鎸夐挳 ///鍙傛暟锛歴tring sql銆� @@ -1185,7 +1213,6 @@ objJsonResult = AddBillMain(msg1); if (objJsonResult.code == "0") { - oCN.RollBack(); objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = objJsonResult.Message; @@ -1206,6 +1233,8 @@ string msg3 = sArray[1].ToString();//妯″潡鏉冮檺 string msg4 = sArray[2].ToString();//褰撳墠浜� string msg5 = sArray[3].ToString();//瀛愯〃鏁版嵁 + string msg6 = sArray[4].ToString();//瀛愯〃1鏁版嵁 + string msg7 = sArray[5].ToString();//瀛愯〃2鏁版嵁 try { msg2 = "[" + msg2.ToString() + "]"; @@ -1295,7 +1324,7 @@ ",0,0,'','',0,0 " + ") "); - objJsonResult = AddBillSub(msg5,HInterID, HBillNo); + objJsonResult = AddBillSub(msg5,msg6,msg7,HInterID, HBillNo); if (objJsonResult.code == "0") { @@ -1314,6 +1343,7 @@ } catch (Exception e) { + oCN.RollBack(); objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = "Exception锛�" + e.ToString(); @@ -1339,6 +1369,8 @@ string msg3 = sArray[1].ToString();//妯″潡鏉冮檺 string msg4 = sArray[2].ToString();//褰撳墠浜� string msg5 = sArray[3].ToString();//瀛愯〃鏁版嵁 + string msg6 = sArray[4].ToString();//瀛愯〃2鏁版嵁 + string msg7 = sArray[5].ToString();//瀛愯〃3鏁版嵁 try { if (!DBUtility.ClsPub.Security_Log(msg3, 1, false, msg4)) @@ -1471,8 +1503,9 @@ // oCN.RunProc("Update Gy_Department set HEndflag=0 where HItemID=" + HInterID, ref DBUtility.ClsPub.sExeReturnInfo); oCN.RunProc("delete from Gy_MouldFileSub_SubMater where HInterID='" + HInterID + "'"); - - objJsonResult = AddBillSub(msg5, HInterID, HBillNo); + oCN.RunProc("delete from Gy_MouldFileSub_MaintainRule where HInterID='" + HInterID + "'"); + oCN.RunProc("delete from Gy_MouldFileSub_DotCheckRule where HInterID='" + HInterID + "'"); + objJsonResult = AddBillSub(msg5, msg6, msg7, HInterID, HBillNo); oCN.Commit(); objJsonResult.code = "1"; @@ -1492,9 +1525,12 @@ } } - public json AddBillSub(string msg5, long HInterID, string HBillNo) + public json AddBillSub(string msg5, string msg6, string msg7, long HInterID, string HBillNo) { List<Gy_MouldFileSub_SubMater> DetailColl = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Gy_MouldFileSub_SubMater>>(msg5); + List<ClsGy_MouldFileBillSub_MaintainRule> MaintainRuleColl = Newtonsoft.Json.JsonConvert.DeserializeObject<List<ClsGy_MouldFileBillSub_MaintainRule>>(msg6); + + List<ClsGy_MouldFileBillSub_DotCheckRule> DotCheckRuleColl = Newtonsoft.Json.JsonConvert.DeserializeObject<List<ClsGy_MouldFileBillSub_DotCheckRule>>(msg7); int i = 0; //浣滀负瀛愯〃鍐呯爜 foreach (Gy_MouldFileSub_SubMater oSub in DetailColl) { @@ -1517,6 +1553,50 @@ "')"; oCN.RunProc(sql); + } + i = 0; + //淇濆瓨淇濆吇瑙勬牸 + foreach (ClsGy_MouldFileBillSub_MaintainRule oSub in MaintainRuleColl) + { + i++; + Int64 NewHEntryID = i; + Int64 newHFlag = 1; + if (oSub.HStdFlag == true) + { + newHFlag = 1; + } + else + { + newHFlag = 0; + } + oCN.RunProc($@"Insert into Gy_MouldFileSub_MaintainRule + (HInterID,HBillNo_bak,HEntryID,HRemark,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney, + HMaintainRuleID,HStdFlag + ) + values({HInterID},'{HBillNo}',{NewHEntryID},'{oSub.HRemark}',{oSub.HSourceInterID},{oSub.HSourceEntryID},'{oSub.HSourceBillNo}','{oSub.HSourceBillType}',{oSub.HRelationQty},{oSub.HRelationMoney} + ,{oSub.HMaintainRuleID},{newHFlag})"); + } + i = 0; + //淇濆瓨鐐规瑙勭▼ + foreach (ClsGy_MouldFileBillSub_DotCheckRule oSub in DotCheckRuleColl) + { + i++; + Int64 NewHEntryID = i; + Int64 newHFlag = 1; + if (oSub.HStdFlag == true) + { + newHFlag = 1; + } + else + { + newHFlag = 0; + } + oCN.RunProc($@"Insert into Gy_MouldFileSub_DotCheckRule + (HInterID,HBillNo_bak,HEntryID,HRemark,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney, + HDotCheckRuleID,HStdFlag + ) + values({HInterID},'{HBillNo}',{NewHEntryID},'{oSub.HRemark}',{oSub.HSourceInterID},{oSub.HSourceEntryID},'{oSub.HSourceBillNo}','{oSub.HSourceBillType}',{oSub.HRelationQty},{oSub.HRelationMoney} + ,{oSub.HDotCheckRuleID},{newHFlag})"); } objJsonResult.code = "1"; @@ -1612,6 +1692,8 @@ } if (oBill.DeleteBill(hmainid, ref DBUtility.ClsPub.sExeReturnInfo)) { + oCN.RunProc("Delete From Gy_MouldFileSub_MaintainRule where HInterID=" + hmainid); + oCN.RunProc("Delete From Gy_MouldFileSub_DotCheckRule where HInterID=" + hmainid); //鍐欏叆鏃ュ織 ClsPub.Add_Log("", "鍒犻櫎椤圭洰锛屼唬鐮侊細" + oBill.omodel.HMouldNo + ",鍚嶇О锛�" + oBill.omodel.HName, ClsPub.CurUserName); //鏇存柊涓婄骇涓� 鏈骇 diff --git a/WebAPI/Controllers/BaseSet/Gy_SupplierController.cs b/WebAPI/Controllers/BaseSet/Gy_SupplierController.cs index 8a21ba2..17da314 100644 --- a/WebAPI/Controllers/BaseSet/Gy_SupplierController.cs +++ b/WebAPI/Controllers/BaseSet/Gy_SupplierController.cs @@ -274,7 +274,7 @@ string sql = string.Empty; //淇濆瓨 oCN.BeginTran(); - sql = $"delete Gy_Supplier where HItemID = {lsmain[0].HItemID}"; + sql = $"delete from Gy_Supplier where HItemID = {lsmain[0].HItemID}"; oCN.RunProc(sql); sql = "set identity_insert Gy_Supplier on"; oCN.RunProc(sql); @@ -290,7 +290,7 @@ ",'" + lsmain[0].HShortName + "','" + lsmain[0].HAddress + "','" + lsmain[0].HLinkMan + "','" + lsmain[0].HLinkPhone + "','" + lsmain[0].HMobilePhone + "'" + ",'" + lsmain[0].HFax + "','" + lsmain[0].HPostalCode + "','" + lsmain[0].HEmail + "','" + lsmain[0].HBank + "','" + lsmain[0].HBankAccount + "'" + ",'" + lsmain[0].HTaxNum + "','" + lsmain[0].HTaxRate + "','" + lsmain[0].HCountry + "','" + lsmain[0].HCorMan + "','" + lsmain[0].HEnglishName + "'" + - ",'" + lsmain[0].HEnglishAddress + "'," + lsmain[0].HCurID + "," + lsmain[0].HSSID + "," + lsmain[0].HAreaID +","+lsmain[0].HMaterClass+ + ",'" + lsmain[0].HEnglishAddress + "'," + lsmain[0].HCurID + "," + lsmain[0].HSSID + "," + lsmain[0].HAreaID +",'"+lsmain[0].HMaterClass+ "'" + ") "); //淇敼涓婄骇涓洪潪鏈骇浠g爜 sql = "set identity_insert Gy_Supplier off"; diff --git a/WebAPI/Controllers/BaseSet/Gy_UnitController.cs b/WebAPI/Controllers/BaseSet/Gy_UnitController.cs index 5d74ac6..0a78001 100644 --- a/WebAPI/Controllers/BaseSet/Gy_UnitController.cs +++ b/WebAPI/Controllers/BaseSet/Gy_UnitController.cs @@ -476,6 +476,7 @@ { try { + LogService.Write("鍗曚綅锛�" + msg.ToString()); var _value = msg["model"].ToString(); SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); ListModels oListModels = new ListModels(); @@ -488,6 +489,14 @@ oCN.RunProc(sql); sql = "set identity_insert Gy_Unit on"; oCN.RunProc(sql); + + LogService.Write("鍗曚綅锛�" + "Insert into Gy_Unit" + + " (HItemID,HNumber,HName,HHelpCode,HShortNumber,HParentID" + + ",HLevel,HEndFlag,HStopflag,HRemark,HRate,HStandard,HUSEORGID,HCREATEORGID) " + + " Values('" + lsmain[0].HItemID + "','" + lsmain[0].HNumber + "','" + lsmain[0].HName + "','" + lsmain[0].HHelpCode + "','" + lsmain[0].HShortNumber + "'," + lsmain[0].HParentID.ToString() + + "," + lsmain[0].HLevel.ToString() + "," + Convert.ToString(lsmain[0].HEndFlag ? 1 : 0) + "," + Convert.ToString(lsmain[0].HStopflag ? 1 : 0) + ",'" + lsmain[0].HRemark + + "'," + lsmain[0].HRate.ToString() + "," + DBUtility.ClsPub.BoolToString(lsmain[0].HStandard) + "," + lsmain[0].HUSEORGID + "," + lsmain[0].HCREATEORGID + ")"); + oCN.RunProc("Insert into Gy_Unit" + " (HItemID,HNumber,HName,HHelpCode,HShortNumber,HParentID" + ",HLevel,HEndFlag,HStopflag,HRemark,HRate,HStandard,HUSEORGID,HCREATEORGID) " + diff --git a/WebAPI/Controllers/CJGL/Cj_StationInBillController.cs b/WebAPI/Controllers/CJGL/Cj_StationInBillController.cs index a9e4e6e..779867e 100644 --- a/WebAPI/Controllers/CJGL/Cj_StationInBillController.cs +++ b/WebAPI/Controllers/CJGL/Cj_StationInBillController.cs @@ -115,10 +115,11 @@ string HBillNo = list[0].HBillNo;//閫掑叆type寰楀埌鐨勫崟鎹彿 int HBillStatus = 0; string HMaker = user;//鍒跺崟浜� - int HYear = 2021; - double HPeriod = 1; + int HYear = DateTime.Now.Year; + double HPeriod = DateTime.Now.Month; string HRemark = list[0].HRemark;//澶囨敞 long HICMOInterID = list[0].HICMOInterID;//浠诲姟鍗旾D + long HICMOEntryID = list[0].HICMOEntryID;//浠诲姟鍗曞瓙ID string HICMOBillNo = list[0].HICMOBillNo;//浠诲姟鍗� long HProcPlanInterID = 0; long HProcPlanEntryID = 0; @@ -144,6 +145,8 @@ string HOrderProcNO = list[0].HOrderProcNO;//璁㈠崟璺熻釜鍙� long HPRDOrgID = list[0].HPRDOrgID;//缁勭粐ID double HmaterOutqty = list[0].HmaterOutqty;//鐧藉澂鍙戝竷 + long HMaterToSourceInterID = list[0].HMaterToSourceInterID;//涓婃枡闃查敊鍗旾D + string HMaterToSourceBillNo = list[0].HMaterToSourceBillNo;//涓婃枡闃查敊鍗曞崟鎹彿 //鍗曟嵁瀹屾暣鎬у垽鏂� if (HMaterID <= 0) { @@ -260,6 +263,29 @@ ",'" + HProcNo + "','" + HOrderProcNO + "','" + HMainInterID + "'," + HPRDOrgID + ","+ HmaterOutqty + ") "); + if(HMaterToSourceInterID!=0) + { + //鐢熸垚涓婃枡闃查敊鍗� + //鎻掑叆瀛愯〃 + oCN.RunProc("EXEC h_p_Sc_MaterToSourceBillSub_Insert " + HMaterToSourceInterID.ToString() + ",'" + HMaterToSourceBillNo + "'"); + //鎻掑叆涓昏〃 + oCN.RunProc("Insert Into Sc_MaterToSourceBillMain " + + "(HBillType,HBillSubType,HInterID,HBillNo,HDate" + + ",HYear,HPeriod,HRemark,HMaker,HMakeDate,HChecker,HCheckDate" + + ",HMainSourceInterID,HMainSourceEntryID,HMainSourceBillNo,HMainSourceBillType" + + ",HProcExchInterID,HProcExchEntryID,HProcExchBillNo,HICMOInterID,HICMOEntryID,HICMOBillNo" + + ",HSourceID,HProcID,HMaterID,HSourceBarCode,HEquipID,HWorkerID,HWorkerBarCode" + + ",HGroupID,HProcNo,HStockOrgID" + + ") " + + " values('3786','3790'," + HMaterToSourceInterID.ToString() + ",'" + HMaterToSourceBillNo + "',convert(varchar(10),getdate(),120)" + + ",year(getdate()),month(getdate()),'宸ュ簭杩涚珯缁戝畾鐢熸垚','" + HMaker + "',getdate(),'" + HMaker + "',getdate()" + + "," + HInterID.ToString() + ",0,'" + HBillNo + "','3790'" + + "," + HProcExchInterID.ToString() + "," + HProcExchEntryID.ToString() + ",'" + HProcExchBillNo + "'," + HICMOInterID.ToString() + "," + HICMOEntryID.ToString() + ",'" + HICMOBillNo + "'" + + "," + HSourceID.ToString() + "," + HProcID.ToString() + "," + HMaterID.ToString() + ",'',0,0,''" + + "," + HGroupID.ToString() + "," + HProcNo.ToString() + "," + HPRDOrgID.ToString() + + ") "); + } + //鍐欏叆鏃ュ織 LogService.Write("鐢ㄦ埛:" + user + ",鏃ユ湡:" + DateTime.Now + ",鏂板宸ュ簭杩涚珯鍗曟嵁:" + HBillNo); oCN.RunProc("Insert into System_log (GeginDate, userid, WorkstationName, WorkList, SystemName, NetuserName, State) select GETDATE(),'" + user + "','" + HComputerName + "','" + "鏂板宸ュ簭杩涚珯鍗曟嵁锛�" + HBillNo + "','LMES-宸ュ簭杩涚珯妯″潡','" + DBUtility.ClsPub.IPAddress + "','鏂板鍗曟嵁'", ref DBUtility.ClsPub.sExeReturnInfo); } @@ -423,6 +449,67 @@ } #endregion + #region 宸ュ簭杩涚珯鎺ユ敹鍗曟祦姘村彿鍥炶溅鑾峰彇宸ュ簭淇℃伅锛屽苟鏍规嵁绯荤粺鍙傛暟鍒ゆ柇杩涚珯鍗曟槸鍚︾粦瀹氶厤浠舵竻鍗� 20240621 + [Route("Cj_StationInBill/HProcNo_KeyDown")] + [HttpGet] + public object HProcNo_KeyDown(string HBillNo, string HProcExchBillNo, Int64 HProcNo, string HMaker) + { + try + { + if (HProcExchBillNo.Equals("")) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "娴佽浆鍗℃病鏈夋壂鎻忥紝鎴栬�呮病鏈夋寜鍥炶溅閿紝璇锋壂鎻忔祦杞崱鎴栧湪娴佽浆鍗℃枃鏈涓寜鍥炶溅閿紒"; + objJsonResult.data = null; + return objJsonResult; + } + + //鑾峰彇绯荤粺鍙傛暟 + string sErrMsg = ""; + if (oSystemParameter.ShowBill(ref sErrMsg) == true) + { + string MES_StationInBill_LineBindCtl = "N"; //杩涚珯鎺ユ敹鏃舵槸鍚︾粦瀹氳宸ュ簭鐨勯厤浠舵竻鍗曪紙Y鏄渶瑕佺粦瀹氾紝N涓嶉渶瑕佺粦瀹氾級 + string MES_StationInBill_DefQty = "4"; //宸ュ簭杩涚珯鏃堕粯璁ゅ甫鍏ユ暟閲忥紙1.娴佽浆鍗℃暟锛�2.涓婇亾鍚堟牸鏁伴噺锛�3.鐗╂枡鏈�灏忓寘瑁呮暟閲忥紝4.涓嶅甫鍏ワ級 + MES_StationInBill_LineBindCtl = oSystemParameter.omodel.MES_StationInBill_LineBindCtl; + MES_StationInBill_DefQty = oSystemParameter.omodel.MES_StationInBill_DefQty; + + ds = oCN.RunProcReturn("exec h_p_MES_StationInBill_HProcNo_KeyDown '" + HBillNo + "','" + HProcExchBillNo + "'," + HProcNo.ToString() + ",'" + MES_StationInBill_LineBindCtl + "','" + MES_StationInBill_DefQty + "','" + HMaker + "'", "h_p_MES_StationInBill_HProcNo_KeyDown"); + + if (ds == null || ds.Tables[0].Rows.Count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "宸ュ簭鍙烽敊璇垨鑰呭綋鍓嶅伐搴忓彿涓嶅厑璁歌繘绔欙紝璇烽噸鏂拌緭鍏ワ紒"; + objJsonResult.data = null; + return objJsonResult; + } + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = "鎴愬姛锛�"; + objJsonResult.data = ds.Tables[0]; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鑾峰彇绯荤粺鍙傛暟澶辫触锛� " + sErrMsg; + objJsonResult.data = null; + return objJsonResult; + } + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "宸ュ簭杩涚珯鎺ユ敹鍗曟祦姘村彿鑾峰彇淇℃伅澶辫触锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + #endregion + #region 宸ュ簭杩涚珯鎺ユ敹鍗曟祦姘村彿鍥炶溅鑾峰彇宸ュ簭淇℃伅 [Route("Cj_StationInBill/txtHProcNo_KeyDown")] [HttpGet] diff --git a/WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs b/WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs index 7ab0c3e..313fbd8 100644 --- a/WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs +++ b/WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs @@ -460,7 +460,7 @@ } //涓昏〃 - LogService.Write($"5.绯荤粺鎺у埗鏌ヨ鍒ゆ柇锛岀敤鏃�" + sw.Elapsed); + //LogService.Write($"5.绯荤粺鎺у埗鏌ヨ鍒ゆ柇锛岀敤鏃�" + sw.Elapsed); //ds = oCN.RunProcReturn("exec h_p_MES_StationOutBill_QtyCtrl " + HInterID + "", "h_p_MES_StationOutBill_QtyCtrl"); //if (ds == null) //{ @@ -492,13 +492,13 @@ // return objJsonResult; //} LogService.Write($"6.鍒ゆ柇缁撴潫锛岀敤鏃�" + sw.Elapsed); - oCN.RunProc("exec h_p_Mes_ProcessExchangeRelationQty_Out " + HInterID + ","+ num + ""); + oCN.RunProc("exec h_p_Mes_ProcessExchangeRelationQty_Out " + HInterID + "," + num + ""); LogService.Write($"6.1锛岀敤鏃�" + sw.Elapsed); oCN.RunProc("exec h_p_Mes_ProcessExchangeChangeStatus " + HInterID + " "); LogService.Write($"6.2锛岀敤鏃�" + sw.Elapsed); oCN.RunProc("exec h_p_Mes_StationOutBillBackBarCode " + HInterID + " "); LogService.Write($"7.瀛樺偍杩囩▼缁撴潫锛岀敤鏃�" + sw.Elapsed); - //鍒ゆ柇鏄惁鏄� 鏈亾宸ュ簭 + //鍒ゆ柇鏄惁鏄� 鏈亾宸ュ簭 ds1 = oCN.RunProcReturn(" select HLastProc,HFstProc from Sc_ProcessExchangeBillMain a " + " inner join Sc_ProcessExchangeBillSub b on a.HInterID=b.HInterID " + " Where a.HInterID=" + HProcExchInterID + " and b.HEntryID=" + HProcExchEntryID + " ", "Sc_ProcessExchangeBillMain"); diff --git a/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs b/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs index 66abec4..520f9c4 100644 --- a/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs +++ b/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs @@ -1170,7 +1170,7 @@ string sql = string.Format(@"select * from h_v_Sc_ProcessExchangeBillQuerySub"); - ds = oCN.RunProcReturn(sql + " where hmainid=" + HInterID + " and 鍑虹珯鍏宠仈鏁伴噺=0 and cast(娴佹按鍙� as int)>" + ds1 .Tables[0].Rows[0][0].ToString(), "h_v_Sc_ProcessExchangeBillQuerySub"); + ds = oCN.RunProcReturn(sql + " where hmainid=" + HInterID + " and 鍑虹珯鍏宠仈鏁伴噺=0 and cast(娴佹按鍙� as int)>" + ds1 .Tables[0].Rows[0][0].ToString()+ " order by cast(娴佹按鍙� as int) ", "h_v_Sc_ProcessExchangeBillQuerySub"); if (float.Parse(ds.Tables[0].Rows[0]["杩涚珯鍏宠仈鏁伴噺"].ToString()) > 0) { @@ -1246,9 +1246,9 @@ objJsonResult.data = 1; return objJsonResult; } - + int num = oItem.HBillNo.Split('-').Length; oBill.omodel.HMaker = msg5; //鍒跺崟浜� - oBill.omodel.HNo = DBUtility.ClsPub.isLong(oItem.HBillNo.Split('-')[1]); + oBill.omodel.HNo = DBUtility.ClsPub.isLong(oItem.HBillNo.Split('-')[num - 1]); oBill.omodel.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); oBill.omodel.HPeriod = DBUtility.ClsPub.isLong(DateTime.Now.Month); oBill.omodel.HDate = oItem.HDate;// 鏃ユ湡 @@ -1256,6 +1256,7 @@ oBill.omodel.HPlanEndDate = oItem.HPlanEndDate;// 璁″垝瀹屽伐鏃ユ湡 oBill.omodel.HQty = oItem.HQty;// 鏁伴噺 oBill.omodel.HBillNo = oItem.HBillNo;// 鍗曟嵁鍙� + oBill.omodel.HProjectNum = oItem.HProjectNum;// 椤圭洰鍙� } //琛ㄤ綋鏁版嵁 @@ -1311,7 +1312,6 @@ j++; } } - //淇濆瓨 //淇濆瓨瀹屾瘯鍚庡鐞� diff --git a/WebAPI/Controllers/LMESController.cs b/WebAPI/Controllers/LMESController.cs index 2177b34..ebb91d6 100644 --- a/WebAPI/Controllers/LMESController.cs +++ b/WebAPI/Controllers/LMESController.cs @@ -1624,6 +1624,32 @@ return GetObjectJson(ds); } + /// <summary> + /// 杩斿洖宸ュ簭娴佽浆鍗″垪琛� + ///鍙傛暟锛歴tring sql銆� + ///杩斿洖鍊硷細object銆� + /// </summary> + [Route("LEMS/MES_IF_ProcessBillList_Json")] + [HttpGet] + public object MES_IF_ProcessBillList_Json(string hinterid, string HEntryID, string user) + { + DataSet ds; + try + { + + ds = oCN.RunProcReturn("select * from h_v_Sc_ProcessExchangeBillQuerySub where hmainid ='" + hinterid+ "' and HEntryID='"+ HEntryID + "'", "h_v_Sc_ProcessExchangeBillQuerySub"); + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "娌℃湁杩斿洖浠讳綍璁板綍锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + return GetObjectJson(ds); + } + #region 鐢熶骇璁㈠崟 涓嬫煡 /// <summary> /// </summary> diff --git a/WebAPI/Controllers/MJGL/Sc_MouldOtherOutBillController.cs b/WebAPI/Controllers/MJGL/Sc_MouldOtherOutBillController.cs index 5a57592..af6e436 100644 --- a/WebAPI/Controllers/MJGL/Sc_MouldOtherOutBillController.cs +++ b/WebAPI/Controllers/MJGL/Sc_MouldOtherOutBillController.cs @@ -17,8 +17,10 @@ private json objJsonResult = new json(); public DataSet ds = new DataSet(); public WebServer webserver = new WebServer(); - public SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); + public SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); + Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter(); + DAL.ClsSc_MouldOtherOutBill oBill = new DAL.ClsSc_MouldOtherOutBill(); public DAL.ClsSc_MouldScrapInBill BillNew0 = new DAL.ClsSc_MouldScrapInBill(); //妯″叿鎶ュ簾鍏ュ簱瀵瑰簲鍗曟嵁绫� public DAL.ClsSc_MouldScrapInBill BillOld0 = new DAL.ClsSc_MouldScrapInBill(); //妯″叿鎶ュ簾鍏ュ簱瀵瑰簲鍗曟嵁绫� @@ -203,7 +205,159 @@ } #endregion - #region 鍏朵粬鍑哄簱鍗曚繚瀛�/缂栬緫 + #region 鍏朵粬鍑哄簱鍗曚繚瀛�/缂栬緫 20240702浣滃簾 + /// <summary> + /// 淇濆瓨妯″叿棰嗙敤鍗� + /// </summary> + /// <param name="msg"></param> + /// <returns></returns> + //[Route("Sc_MouldOtherOutBill/SaveGetMouldOtherOutBillList")] + //[HttpPost] + //public object SaveGetMouldOtherOutBillList([FromBody] JObject msg) + //{ + // var _value = msg["msg"].ToString(); + // string msg1 = _value.ToString(); + // string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); + // string msg2 = sArray[0].ToString(); + // string msg3 = sArray[1].ToString(); + // string msg4 = sArray[2].ToString(); + + // string UserName = ""; + // ListModels oListModels = new ListModels(); + // try + // { + // //缂栬緫鏉冮檺 + // if (!DBUtility.ClsPub.Security_Log_second("Sc_MouldOtherOutBill_Edit", 1, false, msg4)) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "鏃犱繚瀛樻潈闄愶紒"; + // objJsonResult.data = null; + // return objJsonResult; + // } + + // DLL.ClsSc_MouldOtherOutBill oBill = new DLL.ClsSc_MouldOtherOutBill(); + // List<Model.ClsSc_MouldOtherOutBillMain> lsmain = new List<Model.ClsSc_MouldOtherOutBillMain>(); + // msg2 = msg2.Replace("\\", ""); + // msg2 = msg2.Replace("\n", ""); //\n + // lsmain = oListModels.getObjectByJson_Sc_MouldOtherOutBillMain(msg2); + // foreach (Model.ClsSc_MouldOtherOutBillMain oItem in lsmain) + // { + // //oItem.HMaker = ""; + // UserName = oItem.HMaker; //鍒跺崟浜� + // oItem.HBillType = "3841"; + // oItem.HBillSubType = "3841"; + // //oItem.HBillNo = ""; //鍗曟嵁鍙� + // //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --鏃ユ湡 + // //oItem.HInnerBillNo = ""; // --鍐呴儴鍗曟嵁鍙� + // oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); + // oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); + // //oItem.HEquipID = 0; //璁惧ID(Gy_EquipMent) + // //oItem.HPeriod = 0; + // //oItem.HCheckBeginDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); // --缁翠慨鏃ユ湡 + // //oItem.HCheckResult = ""; //楠屾敹缁撹--(姝e父锛屽紓甯�) + // //oItem.HEmpID = 0; //楠屾敹浜�(Gy_Employee) + // //oItem.HManagerID = 0; //璐熻矗浜�(Gy_Employee) + // //oItem.HDeptID = 0; //楠屾敹閮ㄩ棬(Gy_Department) + // //oItem.HExplanation = ""; //鎽樿(鏁呴殰鎻忚堪) + // //oItem.HRemark = ""; //澶囨敞 + + // //oItem.HMainSourceInterID = oItem.HInterID; + + // //oItem.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd("1103", ref DBUtility.ClsPub.sExeReturnInfo); + // if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // oBill.omodel = oItem; + // } + // //琛ㄤ綋鏁版嵁 + // //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� + // msg3 = msg3.Substring(1, msg3.Length - 2); + // msg3 = msg3.Replace("\\", ""); + // msg3 = msg3.Replace("\n", ""); //\n + // //msg2 = msg2.Replace("'", "鈥�"); + // List<Model.ClsSc_MouldStockBillSub> ls = new List<Model.ClsSc_MouldStockBillSub>(); + // ls = oListModels.getObjectByJson_Gy_MouldStockBillSub(msg3); + // int i = 0; + // foreach (Model.ClsSc_MouldStockBillSub oItemSub in ls) + // { + + // i++; + // oItemSub.HEntryID = i; + + // //oItemSub.HRepairCheckID = 0; //楠屾敹椤圭洰ID + // //oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭 + // //oItemSub.HManagerID = 0; //璐熻矗浜篒D + // //oItemSub.HCloseMan = ""; //琛屽叧闂� + // oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); + // oItemSub.HCloseType = false; //鍏抽棴绫诲瀷 + // //oItemSub.HRemark = ""; //澶囨敞 + // oItemSub.HSourceInterID = 0; // 婧愬崟涓诲唴鐮� + // oItemSub.HSourceEntryID = 0; //婧愬崟瀛愬唴鐮� + // //oItemSub.HSourceBillNo = ""; //婧愬崟鍗曞彿 + // //oItemSub.HSourceBillType = ""; //婧愬崟绫诲瀷 + // //oItemSub.HRelationQty = 0; //鍏宠仈鏁伴噺 + // //oItemSub.HRelationMoney = 0; //鍏宠仈閲戦 + // //oItemSub.HRepairID = 0; //缁翠慨椤圭洰 + // //oItemSub.HRepairExplanation =""; //缁翠慨瑕佹眰 + // //oItemSub.HMoney = 0; //缁翠慨璐圭敤 + // oBill.DetailColl.Add(oItemSub); + + // } + // //淇濆瓨 + // //淇濆瓨瀹屾瘯鍚庡鐞� + // bool bResult; + // if (oBill.omodel.HInterID == 0) + // { + // // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + // string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'out','{oBill.omodel.HInterID.ToString()}' "); + // oCn.RunProc(sql); + // } + // else + // { + // bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + // //淇敼鎴愬姛 + // //string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID 1,{oBill.omodel.HInterID.ToString()},' ' "); + // string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); + // oCn.RunProc(sql); + // } + // if (bResult) + // { + + // objJsonResult.code = "0"; + // objJsonResult.count = 1; + // objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; + // //WebAPIController.Add_Log("閫佽揣鍗曚笅鎺�", UserName, "鐢熸垚閫佽揣鍗�"); + // objJsonResult.data = 1; + // return objJsonResult; + // } + // else + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // } + // catch (Exception e) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); + // objJsonResult.data = 1; + // return objJsonResult; + // } + //} + #endregion + + #region 鍏朵粬鍑哄簱鍗曚繚瀛�/缂栬緫 20240702 /// <summary> /// 淇濆瓨妯″叿棰嗙敤鍗� /// </summary> @@ -216,123 +370,121 @@ var _value = msg["msg"].ToString(); string msg1 = _value.ToString(); string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); - string msg2 = sArray[0].ToString(); - string msg3 = sArray[1].ToString(); - string msg4 = sArray[2].ToString(); - - string UserName = ""; - ListModels oListModels = new ListModels(); + string sMainStr = sArray[0].ToString(); //涓昏〃鏁版嵁 + string sSubStr = sArray[1].ToString(); //瀛愯〃鏁版嵁 + string HMaker = sArray[2].ToString(); //鍒跺崟浜� try { //缂栬緫鏉冮檺 - if (!DBUtility.ClsPub.Security_Log_second("Sc_MouldOtherOutBill_Edit", 1, false, msg4)) + if (!DBUtility.ClsPub.Security_Log("Sc_MouldOtherOutBill_Edit", 1, false, HMaker)) { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "鏃犱繚瀛樻潈闄愶紒"; + objJsonResult.Message = "鎮ㄦ病鏈夎妯″潡鏂板/缂栬緫鏉冮檺,璇蜂笌绠$悊鍛樿仈绯伙紒"; + objJsonResult.data = null; + return objJsonResult; + } + //琛ㄥご璧嬪�� + sMainStr = sMainStr.Replace("\\", ""); + sMainStr = sMainStr.Replace("\n", ""); + sMainStr = "[" + sMainStr.ToString() + "]"; + List<Model.ClsSc_MouldStockBillMain> lsmain = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldStockBillMain>>(sMainStr); + foreach (Model.ClsSc_MouldStockBillMain oItem in lsmain) + { + if (oItem.HInterID == 0) + { + BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; + } + else + { + BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify; + } + //鍗曟嵁鍙锋槸鍚﹂噸澶� + if (oBill.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, oItem.HInterID)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁鍙烽噸澶嶏紒涓嶅厑璁镐繚瀛橈紒"; + objJsonResult.data = null; + return objJsonResult; + } + //鍒ゆ柇浼氳鏈熸槸鍚﹀悎鐞� + string s = ""; + int sYear = 0; + int sPeriod = 0; + if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(oItem.HDate, ref sYear, ref sPeriod, ref s) == false) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = s; + objJsonResult.data = null; + return objJsonResult; + } + + oItem.HYear = sYear; + oItem.HPeriod = sPeriod; + DBUtility.ClsPub.CurUserName = oItem.HMaker; + oBill.omodel = oItem; + } + //琛ㄤ綋璧嬪�� + //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� + sSubStr = sSubStr.Substring(1, sSubStr.Length - 2); + sSubStr = sSubStr.Replace("\\", ""); + sSubStr = sSubStr.Replace("\n", ""); + sSubStr = "[" + sSubStr.ToString() + "]"; + List<Model.ClsSc_MouldStockBillSub> ls = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldStockBillSub>>(sSubStr); + int i = 0; + foreach (Model.ClsSc_MouldStockBillSub oItemSub in ls) + { + i++; + oItemSub.HEntryID = i; + oBill.DetailColl.Add(oItemSub); + } + + string sErrMsg = ""; + bool bResult; + //鑾峰彇绯荤粺鍙傛暟 + if (oSystemParameter.ShowBill(ref sErrMsg) == true) + { + //淇濆瓨 + if (oBill.omodel.HInterID == 0) //鏂板淇濆瓨 + { + bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + + if (oSystemParameter.omodel.WMS_CampanyName == "鍥涚淮灏�") //绯荤粺鍙傛暟 瀹㈡埛瀹氬埗鍖栧悕绉� 绌虹櫧涓洪�氱敤 + { + //淇敼鍣ㄥ叿妗f浣嶇疆 + string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'out','{oBill.omodel.HInterID.ToString()}' "); + oCn.RunProc(sql); + } + } + else //缂栬緫淇濆瓨 + { + bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + + if (oSystemParameter.omodel.WMS_CampanyName == "鍥涚淮灏�") //绯荤粺鍙傛暟 瀹㈡埛瀹氬埗鍖栧悕绉� 绌虹櫧涓洪�氱敤 + { + //淇敼鍣ㄥ叿妗f浣嶇疆 + string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); + oCn.RunProc(sql); + } + } + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鑾峰彇绯荤粺鍙傛暟澶辫触锛� " + sErrMsg; objJsonResult.data = null; return objJsonResult; } - DLL.ClsSc_MouldOtherOutBill oBill = new DLL.ClsSc_MouldOtherOutBill(); - List<Model.ClsSc_MouldOtherOutBillMain> lsmain = new List<Model.ClsSc_MouldOtherOutBillMain>(); - msg2 = msg2.Replace("\\", ""); - msg2 = msg2.Replace("\n", ""); //\n - lsmain = oListModels.getObjectByJson_Sc_MouldOtherOutBillMain(msg2); - foreach (Model.ClsSc_MouldOtherOutBillMain oItem in lsmain) - { - //oItem.HMaker = ""; - UserName = oItem.HMaker; //鍒跺崟浜� - oItem.HBillType = "3841"; - oItem.HBillSubType = "3841"; - //oItem.HBillNo = ""; //鍗曟嵁鍙� - //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --鏃ユ湡 - //oItem.HInnerBillNo = ""; // --鍐呴儴鍗曟嵁鍙� - oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); - oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); - //oItem.HEquipID = 0; //璁惧ID(Gy_EquipMent) - //oItem.HPeriod = 0; - //oItem.HCheckBeginDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); // --缁翠慨鏃ユ湡 - //oItem.HCheckResult = ""; //楠屾敹缁撹--(姝e父锛屽紓甯�) - //oItem.HEmpID = 0; //楠屾敹浜�(Gy_Employee) - //oItem.HManagerID = 0; //璐熻矗浜�(Gy_Employee) - //oItem.HDeptID = 0; //楠屾敹閮ㄩ棬(Gy_Department) - //oItem.HExplanation = ""; //鎽樿(鏁呴殰鎻忚堪) - //oItem.HRemark = ""; //澶囨敞 - - //oItem.HMainSourceInterID = oItem.HInterID; - - //oItem.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd("1103", ref DBUtility.ClsPub.sExeReturnInfo); - if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�"; - objJsonResult.data = 1; - return objJsonResult; - } - oBill.omodel = oItem; - } - //琛ㄤ綋鏁版嵁 - //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� - msg3 = msg3.Substring(1, msg3.Length - 2); - msg3 = msg3.Replace("\\", ""); - msg3 = msg3.Replace("\n", ""); //\n - //msg2 = msg2.Replace("'", "鈥�"); - List<Model.ClsSc_MouldStockBillSub> ls = new List<Model.ClsSc_MouldStockBillSub>(); - ls = oListModels.getObjectByJson_Gy_MouldStockBillSub(msg3); - int i = 0; - foreach (Model.ClsSc_MouldStockBillSub oItemSub in ls) - { - - i++; - oItemSub.HEntryID = i; - - //oItemSub.HRepairCheckID = 0; //楠屾敹椤圭洰ID - //oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭 - //oItemSub.HManagerID = 0; //璐熻矗浜篒D - //oItemSub.HCloseMan = ""; //琛屽叧闂� - oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); - oItemSub.HCloseType = false; //鍏抽棴绫诲瀷 - //oItemSub.HRemark = ""; //澶囨敞 - oItemSub.HSourceInterID = 0; // 婧愬崟涓诲唴鐮� - oItemSub.HSourceEntryID = 0; //婧愬崟瀛愬唴鐮� - //oItemSub.HSourceBillNo = ""; //婧愬崟鍗曞彿 - //oItemSub.HSourceBillType = ""; //婧愬崟绫诲瀷 - //oItemSub.HRelationQty = 0; //鍏宠仈鏁伴噺 - //oItemSub.HRelationMoney = 0; //鍏宠仈閲戦 - //oItemSub.HRepairID = 0; //缁翠慨椤圭洰 - //oItemSub.HRepairExplanation =""; //缁翠慨瑕佹眰 - //oItemSub.HMoney = 0; //缁翠慨璐圭敤 - oBill.DetailColl.Add(oItemSub); - - } - //淇濆瓨 - //淇濆瓨瀹屾瘯鍚庡鐞� - bool bResult; - if (oBill.omodel.HInterID == 0) - { - // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); - bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); - string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'out','{oBill.omodel.HInterID.ToString()}' "); - oCn.RunProc(sql); - } - else - { - bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); - //淇敼鎴愬姛 - //string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID 1,{oBill.omodel.HInterID.ToString()},' ' "); - string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); - oCn.RunProc(sql); - } if (bResult) { - objJsonResult.code = "0"; objJsonResult.count = 1; - objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; - //WebAPIController.Add_Log("閫佽揣鍗曚笅鎺�", UserName, "鐢熸垚閫佽揣鍗�"); - objJsonResult.data = 1; + objJsonResult.Message = DBUtility.ClsPub.sExeReturnInfo; //鎴愬姛锛� + objJsonResult.data = null; return objJsonResult; } else @@ -340,7 +492,7 @@ objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo; - objJsonResult.data = 1; + objJsonResult.data = null; return objJsonResult; } } @@ -348,8 +500,8 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); - objJsonResult.data = 1; + objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.Message; + objJsonResult.data = null; return objJsonResult; } } diff --git a/WebAPI/Controllers/MJGL/Sc_MouldProdInBillController.cs b/WebAPI/Controllers/MJGL/Sc_MouldProdInBillController.cs index 0ab23f8..a0abee9 100644 --- a/WebAPI/Controllers/MJGL/Sc_MouldProdInBillController.cs +++ b/WebAPI/Controllers/MJGL/Sc_MouldProdInBillController.cs @@ -14,10 +14,23 @@ { public class Sc_MouldProdInBillController : ApiController { - public DBUtility.ClsPub.Enum_BillStatus BillStatus;//鍗曟嵁鐘舵�侊紙鏂板锛屼慨鏀癸紝娴忚锛屾洿鏂板崟浠凤紝鍙樻洿锛� - private json objJsonResult = new json(); + public DBUtility.ClsPub.Enum_BillStatus BillStatus; + public const string ModName = "3801"; //鍗曟嵁绫诲瀷 + public const string ModCaption = "鍣ㄥ叿閲囪喘鍏ュ簱鍗�"; //鍗曟嵁鍚嶇О + public const string ModRightName = "Sc_MouldProdInBill"; + public const string ModRightNameList = ModRightName + "List"; //鍒楄〃 + public const string ModRightNameEdit = ModRightName + "_Edit"; //缂栬緫 + public const string ModRightNameCheck = ModRightName + "_Check"; //瀹℃牳 + public const string ModRightNameClose = ModRightName + "_Close"; //鍏抽棴 + public const string ModRightNameDelete = ModRightName + "_Delete"; //浣滃簾 + public const string ModRightNameDrop = ModRightName + "_Drop"; //鍒犻櫎 + public const string ModRightNameMoney = ModRightName + "_Money"; //閲戦 + public const string ModRightNameQty = ModRightName + "_Qty"; //鏁伴噺 public DataSet ds = new DataSet(); - public SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); + private json objJsonResult = new json(); + SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); + Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter(); + public DAL.ClsSc_MouldProdInBill oBill = new DAL.ClsSc_MouldProdInBill(); public DLL.ClsSc_MouldProdInBill BillNew0 = new DLL.ClsSc_MouldProdInBill(); //妯″叿鎶ュ簾鍏ュ簱瀵瑰簲鍗曟嵁绫� public DLL.ClsSc_MouldProdInBill BillOld0 = new DLL.ClsSc_MouldProdInBill(); //妯″叿鎶ュ簾鍏ュ簱瀵瑰簲鍗曟嵁绫� @@ -477,7 +490,219 @@ } #endregion - #region 妯″叿閲囪喘鍏ュ簱鍗曚繚瀛�/缂栬緫 + #region 妯″叿閲囪喘鍏ュ簱鍗曚繚瀛�/缂栬緫 20240702浣滃簾 + /// <summary> + /// 淇濆瓨妯″叿閲囪喘鍏ュ簱鍗� + /// </summary> + /// <param name="msg"></param> + /// <returns></returns> + //[Route("Sc_MouldProdInHouseBill/SaveGetMouldProdInHouseBillList")] + //[HttpPost] + //public object SaveGetMouldProdInHouseBillList([FromBody] JObject msg) + //{ + // var _value = msg["msg"].ToString(); + // string msg1 = _value.ToString(); + // string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); + // string msg2 = sArray[0].ToString(); + // string msg3 = sArray[1].ToString(); + // string refSav = sArray[2].ToString(); + // string msg4 = sArray[3].ToString(); + + // string UserName = ""; + // string s = ""; + // long mouldid; + // ListModels oListModels = new ListModels(); + // try + // { + // //缂栬緫鏉冮檺 + // if (!DBUtility.ClsPub.Security_Log_second("Sc_MouldProdInBill_Edit", 1, false, msg4)) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "鏃犱繚瀛樻潈闄愶紒"; + // objJsonResult.data = null; + // return objJsonResult; + // } + + // DLL.ClsSc_MouldProdInBill oBill = new DLL.ClsSc_MouldProdInBill(); + // List<Models.ClsSc_MouldProdBillMain> lsmain = new List<Models.ClsSc_MouldProdBillMain>(); + // msg2 = msg2.Replace("\\", ""); + // msg2 = msg2.Replace("\n", ""); //\n + // lsmain = oListModels.getObjectByJson_Gy_MouldProdInHouseBillMain(msg2); + // foreach (Models.ClsSc_MouldProdBillMain oItem in lsmain) + // { + // if (refSav == "Add") + // { + // //鍗曟嵁鍙锋槸鍚﹂噸澶� + // if (BillNew0.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, BillOld0.omodel.HInterID)) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "鍗曟嵁鍙烽噸澶嶏紒涓嶅厑璁镐繚瀛橈紒"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // } + // if (refSav == "Update") + // { + // if (BillOld0.ShowBill(oItem.HInterID, ref s) == false) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "姝ゅ崟鎹湁璇紒"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // //鍒ゆ柇鏄惁鍙紪杈� + // if (BillOld0.omodel.HChecker != "" && BillOld0.omodel.HChecker != null) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "姝ゅ崟鎹凡缁忚瀹℃牳锛屼笉鍏佽淇敼锛�"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // if (BillOld0.omodel.HBillStatus > 1) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "姝ゅ崟鎹浜庝笉鍙紪杈戠姸鎬侊紝涓嶅厑璁镐慨鏀癸紒"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // if (!DBUtility.Xt_BaseBillFun.Fun_AllowEditBill(BillOld0, ref s)) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = s + "锛屼笉鍏佽淇敼"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // } + // //oItem.HMaker = ""; + // UserName = oItem.HMaker; //鍒跺崟浜� + // oItem.HBillType = "3801"; + // oItem.HBillSubType = "3801"; + // //oItem.HBillNo = ""; //鍗曟嵁鍙� + // //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --鏃ユ湡 + // //oItem.HInnerBillNo = ""; // --鍐呴儴鍗曟嵁鍙� + // oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); + // oItem.HPeriod = DBUtility.ClsPub.isLong(DateTime.Now.Month); + // oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); + // //oItem.HEquipID = 0; //璁惧ID(Gy_EquipMent) + // //oItem.HPeriod = 0; + // //oItem.HCheckBeginDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); // --缁翠慨鏃ユ湡 + // //oItem.HCheckResult = ""; //楠屾敹缁撹--(姝e父锛屽紓甯�) + // //oItem.HEmpID = 0; //楠屾敹浜�(Gy_Employee) + // //oItem.HManagerID = 0; //璐熻矗浜�(Gy_Employee) + // //oItem.HDeptID = 0; //楠屾敹閮ㄩ棬(Gy_Department) + // //oItem.HExplanation = ""; //鎽樿(鏁呴殰鎻忚堪) + // //oItem.HRemark = ""; //澶囨敞 + + // //oItem.HMainSourceInterID = oItem.HInterID; + + // //oItem.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd("1103", ref DBUtility.ClsPub.sExeReturnInfo); + // if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // oBill.omodel = oItem; + // } + // //琛ㄤ綋鏁版嵁 + // //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� + // msg3 = msg3.Substring(1, msg3.Length - 2); + // msg3 = msg3.Replace("\\", ""); + // msg3 = msg3.Replace("\n", ""); //\n + // //msg2 = msg2.Replace("'", "鈥�"); + // List<Models.ClsSc_MouldProdBillSub> ls = new List<Models.ClsSc_MouldProdBillSub>(); + // ls = oListModels.getObjectByJson_Gy_MouldProdInHouseBillSub(msg3); + // int i = 0; + // foreach (Models.ClsSc_MouldProdBillSub oItemSub in ls) + // { + + // i++; + // oItemSub.HEntryID = i; + // mouldid = oItemSub.HMaterID; + // //oItemSub.HRepairCheckID = 0; //楠屾敹椤圭洰ID + // //oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭 + // //oItemSub.HManagerID = 0; //璐熻矗浜篒D + // //oItemSub.HCloseMan = ""; //琛屽叧闂� + // oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); + // oItemSub.HCloseType = false; //鍏抽棴绫诲瀷 + // //oItemSub.HRemark = ""; //澶囨敞 + // oItemSub.HSourceInterID = 0; // 婧愬崟涓诲唴鐮� + // oItemSub.HSourceEntryID = 0; //婧愬崟瀛愬唴鐮� + // //oItemSub.HSourceBillNo = ""; //婧愬崟鍗曞彿 + // //oItemSub.HSourceBillType = ""; //婧愬崟绫诲瀷 + // //oItemSub.HRelationQty = 0; //鍏宠仈鏁伴噺 + // //oItemSub.HRelationMoney = 0; //鍏宠仈閲戦 + // //oItemSub.HRepairID = 0; //缁翠慨椤圭洰 + // //oItemSub.HRepairExplanation =""; //缁翠慨瑕佹眰 + // //oItemSub.HMoney = 0; //缁翠慨璐圭敤 + // oBill.DetailColl.Add(oItemSub); + + // } + // //淇濆瓨 + // //淇濆瓨瀹屾瘯鍚庡鐞� + // bool bResult; + // if (oBill.omodel.HInterID == 0) + // { + // // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + // //淇敼鍣ㄥ叿妗f浣嶇疆 + // string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "); + // DataSet db = oCn.RunProcReturn(sql, "h_p_Sc_MouldChangeFileStatus"); + // if (db.Tables[0].Rows[0]["issuccess"].ToString() == "0") + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "鍣ㄥ叿浣嶇疆鍚屾澶辫触锛�"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // } + // else + // { + // bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + // //淇敼鎴愬姛 + // //string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID 1,{oBill.omodel.HInterID.ToString()},' ' "); + // string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); + // oCn.RunProc(sql); + // } + // if (bResult) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 1; + // objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; + // //WebAPIController.Add_Log("閫佽揣鍗曚笅鎺�", UserName, "鐢熸垚閫佽揣鍗�"); + // objJsonResult.data = 1; + // return objJsonResult; + // } + // else + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // } + // catch (Exception e) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); + // objJsonResult.data = 1; + // return objJsonResult; + // } + //} + #endregion + + #region 妯″叿閲囪喘鍏ュ簱鍗曚繚瀛�/缂栬緫 20240702 /// <summary> /// 淇濆瓨妯″叿閲囪喘鍏ュ簱鍗� /// </summary> @@ -490,183 +715,140 @@ var _value = msg["msg"].ToString(); string msg1 = _value.ToString(); string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); - string msg2 = sArray[0].ToString(); - string msg3 = sArray[1].ToString(); - string refSav = sArray[2].ToString(); - string msg4 = sArray[3].ToString(); - - string UserName = ""; - string s = ""; - long mouldid; - ListModels oListModels = new ListModels(); + string sMainStr = sArray[0].ToString(); //涓昏〃鏁版嵁 + string sSubStr = sArray[1].ToString(); //瀛愯〃鏁版嵁 + string OperationType = sArray[2].ToString(); //鎿嶄綔绫诲瀷锛圓dd鏂板銆乁pdate缂栬緫锛� + string HMaker = sArray[3].ToString(); //鍒跺崟浜� try { - //缂栬緫鏉冮檺 - if (!DBUtility.ClsPub.Security_Log_second("Sc_MouldProdInBill_Edit", 1, false, msg4)) + //鍒ゆ柇鏉冮檺 + if (OperationType == "Add") { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "鏃犱繚瀛樻潈闄愶紒"; - objJsonResult.data = null; - return objJsonResult; - } - - DLL.ClsSc_MouldProdInBill oBill = new DLL.ClsSc_MouldProdInBill(); - List<Models.ClsSc_MouldProdBillMain> lsmain = new List<Models.ClsSc_MouldProdBillMain>(); - msg2 = msg2.Replace("\\", ""); - msg2 = msg2.Replace("\n", ""); //\n - lsmain = oListModels.getObjectByJson_Gy_MouldProdInHouseBillMain(msg2); - foreach (Models.ClsSc_MouldProdBillMain oItem in lsmain) - { - if (refSav == "Add") - { - //鍗曟嵁鍙锋槸鍚﹂噸澶� - if (BillNew0.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, BillOld0.omodel.HInterID)) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "鍗曟嵁鍙烽噸澶嶏紒涓嶅厑璁镐繚瀛橈紒"; - objJsonResult.data = 1; - return objJsonResult; - } - } - if (refSav == "Update") - { - if (BillOld0.ShowBill(oItem.HInterID, ref s) == false) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "姝ゅ崟鎹湁璇紒"; - objJsonResult.data = 1; - return objJsonResult; - } - //鍒ゆ柇鏄惁鍙紪杈� - if (BillOld0.omodel.HChecker != "" && BillOld0.omodel.HChecker != null) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "姝ゅ崟鎹凡缁忚瀹℃牳锛屼笉鍏佽淇敼锛�"; - objJsonResult.data = 1; - return objJsonResult; - } - if (BillOld0.omodel.HBillStatus > 1) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "姝ゅ崟鎹浜庝笉鍙紪杈戠姸鎬侊紝涓嶅厑璁镐慨鏀癸紒"; - objJsonResult.data = 1; - return objJsonResult; - } - if (!DBUtility.Xt_BaseBillFun.Fun_AllowEditBill(BillOld0, ref s)) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = s + "锛屼笉鍏佽淇敼"; - objJsonResult.data = 1; - return objJsonResult; - } - } - //oItem.HMaker = ""; - UserName = oItem.HMaker; //鍒跺崟浜� - oItem.HBillType = "3801"; - oItem.HBillSubType = "3801"; - //oItem.HBillNo = ""; //鍗曟嵁鍙� - //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --鏃ユ湡 - //oItem.HInnerBillNo = ""; // --鍐呴儴鍗曟嵁鍙� - oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); - oItem.HPeriod = DBUtility.ClsPub.isLong(DateTime.Now.Month); - oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); - //oItem.HEquipID = 0; //璁惧ID(Gy_EquipMent) - //oItem.HPeriod = 0; - //oItem.HCheckBeginDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); // --缁翠慨鏃ユ湡 - //oItem.HCheckResult = ""; //楠屾敹缁撹--(姝e父锛屽紓甯�) - //oItem.HEmpID = 0; //楠屾敹浜�(Gy_Employee) - //oItem.HManagerID = 0; //璐熻矗浜�(Gy_Employee) - //oItem.HDeptID = 0; //楠屾敹閮ㄩ棬(Gy_Department) - //oItem.HExplanation = ""; //鎽樿(鏁呴殰鎻忚堪) - //oItem.HRemark = ""; //澶囨敞 - - //oItem.HMainSourceInterID = oItem.HInterID; - - //oItem.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd("1103", ref DBUtility.ClsPub.sExeReturnInfo); - if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") + BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; + //鍒ゆ柇鏂板鏉冮檺 + if (!DBUtility.ClsPub.Security_Log(ModRightName, 1, false, HMaker)) { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�"; - objJsonResult.data = 1; - return objJsonResult; - } - oBill.omodel = oItem; - } - //琛ㄤ綋鏁版嵁 - //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� - msg3 = msg3.Substring(1, msg3.Length - 2); - msg3 = msg3.Replace("\\", ""); - msg3 = msg3.Replace("\n", ""); //\n - //msg2 = msg2.Replace("'", "鈥�"); - List<Models.ClsSc_MouldProdBillSub> ls = new List<Models.ClsSc_MouldProdBillSub>(); - ls = oListModels.getObjectByJson_Gy_MouldProdInHouseBillSub(msg3); - int i = 0; - foreach (Models.ClsSc_MouldProdBillSub oItemSub in ls) - { - - i++; - oItemSub.HEntryID = i; - mouldid = oItemSub.HMaterID; - //oItemSub.HRepairCheckID = 0; //楠屾敹椤圭洰ID - //oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭 - //oItemSub.HManagerID = 0; //璐熻矗浜篒D - //oItemSub.HCloseMan = ""; //琛屽叧闂� - oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); - oItemSub.HCloseType = false; //鍏抽棴绫诲瀷 - //oItemSub.HRemark = ""; //澶囨敞 - oItemSub.HSourceInterID = 0; // 婧愬崟涓诲唴鐮� - oItemSub.HSourceEntryID = 0; //婧愬崟瀛愬唴鐮� - //oItemSub.HSourceBillNo = ""; //婧愬崟鍗曞彿 - //oItemSub.HSourceBillType = ""; //婧愬崟绫诲瀷 - //oItemSub.HRelationQty = 0; //鍏宠仈鏁伴噺 - //oItemSub.HRelationMoney = 0; //鍏宠仈閲戦 - //oItemSub.HRepairID = 0; //缁翠慨椤圭洰 - //oItemSub.HRepairExplanation =""; //缁翠慨瑕佹眰 - //oItemSub.HMoney = 0; //缁翠慨璐圭敤 - oBill.DetailColl.Add(oItemSub); - - } - //淇濆瓨 - //淇濆瓨瀹屾瘯鍚庡鐞� - bool bResult; - if (oBill.omodel.HInterID == 0) - { - // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); - bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); - //淇敼鍣ㄥ叿妗f浣嶇疆 - string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "); - DataSet db = oCn.RunProcReturn(sql, "h_p_Sc_MouldChangeFileStatus"); - if (db.Tables[0].Rows[0]["issuccess"].ToString() == "0") - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "鍣ㄥ叿浣嶇疆鍚屾澶辫触锛�"; - objJsonResult.data = 1; + objJsonResult.Message = "鎮ㄦ病鏈夎妯″潡鏂板鏉冮檺,璇蜂笌绠$悊鍛樿仈绯伙紒"; + objJsonResult.data = null; return objJsonResult; } } else { - bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); - //淇敼鎴愬姛 - //string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID 1,{oBill.omodel.HInterID.ToString()},' ' "); - string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); - oCn.RunProc(sql); + BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify; + //鍒ゆ柇缂栬緫鏉冮檺 + if (!DBUtility.ClsPub.Security_Log(ModRightNameEdit, 1, false, HMaker)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鎮ㄦ病鏈夎妯″潡缂栬緫鏉冮檺,璇蜂笌绠$悊鍛樿仈绯伙紒"; + objJsonResult.data = null; + return objJsonResult; + } } + //琛ㄥご璧嬪�� + sMainStr = sMainStr.Replace("\\", ""); + sMainStr = sMainStr.Replace("\n", ""); + sMainStr = "[" + sMainStr.ToString() + "]"; + List<Model.ClsSc_MouldProdInBillMain> lsmain = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldProdInBillMain>>(sMainStr); + foreach (Model.ClsSc_MouldProdInBillMain oItem in lsmain) + { + //鍗曟嵁鍙锋槸鍚﹂噸澶� + if (oBill.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, oItem.HInterID)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁鍙烽噸澶嶏紒涓嶅厑璁镐繚瀛橈紒"; + objJsonResult.data = null; + return objJsonResult; + } + //鍒ゆ柇浼氳鏈熸槸鍚﹀悎鐞� + string s = ""; + int sYear = 0; + int sPeriod = 0; + if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(oItem.HDate, ref sYear, ref sPeriod, ref s) == false) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = s; + objJsonResult.data = null; + return objJsonResult; + } + + oItem.HYear = sYear; + oItem.HPeriod = sPeriod; + DBUtility.ClsPub.CurUserName = oItem.HMaker; + oBill.omodel = oItem; + } + //琛ㄤ綋璧嬪�� + //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� + sSubStr = sSubStr.Substring(1, sSubStr.Length - 2); + sSubStr = sSubStr.Replace("\\", ""); + sSubStr = sSubStr.Replace("\n", ""); + sSubStr = "[" + sSubStr.ToString() + "]"; + List<Model.ClsSc_MouldStockBillSub> ls = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldStockBillSub>>(sSubStr); + int i = 0; + foreach (Model.ClsSc_MouldStockBillSub oItemSub in ls) + { + i++; + oItemSub.HEntryID = i; + oBill.DetailColl.Add(oItemSub); + } + + string sErrMsg = ""; + bool bResult; + //鑾峰彇绯荤粺鍙傛暟 + if (oSystemParameter.ShowBill(ref sErrMsg) == true) + { + //淇濆瓨 + if (OperationType == "Add") //鏂板淇濆瓨 + { + bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + + if (oSystemParameter.omodel.WMS_CampanyName == "鍥涚淮灏�") //绯荤粺鍙傛暟 瀹㈡埛瀹氬埗鍖栧悕绉� 绌虹櫧涓洪�氱敤 + { + //淇敼鍣ㄥ叿妗f浣嶇疆 + string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "); + DataSet db = oCn.RunProcReturn(sql, "h_p_Sc_MouldChangeFileStatus"); + if (db.Tables[0].Rows[0]["issuccess"].ToString() == "0") + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍣ㄥ叿浣嶇疆鍚屾澶辫触锛�"; + objJsonResult.data = 1; + return objJsonResult; + } + } + } + else //缂栬緫淇濆瓨 + { + bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + + if (oSystemParameter.omodel.WMS_CampanyName == "鍥涚淮灏�") //绯荤粺鍙傛暟 瀹㈡埛瀹氬埗鍖栧悕绉� 绌虹櫧涓洪�氱敤 + { + //淇敼鍣ㄥ叿妗f浣嶇疆 + string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); + oCn.RunProc(sql); + } + } + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鑾峰彇绯荤粺鍙傛暟澶辫触锛� " + sErrMsg; + objJsonResult.data = null; + return objJsonResult; + } + if (bResult) { objJsonResult.code = "0"; objJsonResult.count = 1; - objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; - //WebAPIController.Add_Log("閫佽揣鍗曚笅鎺�", UserName, "鐢熸垚閫佽揣鍗�"); - objJsonResult.data = 1; + objJsonResult.Message = DBUtility.ClsPub.sExeReturnInfo; //鎴愬姛锛� + objJsonResult.data = null; return objJsonResult; } else @@ -674,7 +856,7 @@ objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo; - objJsonResult.data = 1; + objJsonResult.data = null; return objJsonResult; } } @@ -682,8 +864,8 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); - objJsonResult.data = 1; + objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.Message; + objJsonResult.data = null; return objJsonResult; } } @@ -772,5 +954,8 @@ } } #endregion + + + } } diff --git a/WebAPI/Controllers/MJGL/Sc_MouldProdMoveBillListController.cs b/WebAPI/Controllers/MJGL/Sc_MouldProdMoveBillListController.cs index e28d3ab..de79d99 100644 --- a/WebAPI/Controllers/MJGL/Sc_MouldProdMoveBillListController.cs +++ b/WebAPI/Controllers/MJGL/Sc_MouldProdMoveBillListController.cs @@ -18,6 +18,7 @@ public DataSet ds = new DataSet(); public WebServer webserver = new WebServer(); public SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); + Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter(); public DAL.ClsSc_MouldScrapInBill BillNew0 = new DAL.ClsSc_MouldScrapInBill(); //妯″叿鎶ュ簾鍏ュ簱瀵瑰簲鍗曟嵁绫� public DAL.ClsSc_MouldScrapInBill BillOld0 = new DAL.ClsSc_MouldScrapInBill(); //妯″叿鎶ュ簾鍏ュ簱瀵瑰簲鍗曟嵁绫� @@ -206,7 +207,157 @@ } #endregion - #region 鍣ㄥ叿鐩存帴璋冩嫧鍗曚繚瀛�/缂栬緫 + #region 鍣ㄥ叿鐩存帴璋冩嫧鍗曚繚瀛�/缂栬緫 20240702浣滃簾 + /// <summary> + /// 淇濆瓨妯″叿棰嗙敤鍗� + /// </summary> + /// <param name="msg"></param> + /// <returns></returns> + //[Route("Sc_MouldProdMoveBill/SaveGetMouldProdMoveBillList")] + //[HttpPost] + //public object SaveGetMouldProdMoveBillList([FromBody] JObject msg) + //{ + // var _value = msg["msg"].ToString(); + // string msg1 = _value.ToString(); + // string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); + // string msg2 = sArray[0].ToString(); + // string msg3 = sArray[1].ToString(); + // string msg4 = sArray[2].ToString(); + + // string UserName = ""; + // ListModels oListModels = new ListModels(); + // try + // { + // if (!DBUtility.ClsPub.Security_Log_second("Sc_MouldProdMoveBill_Edit", 1, false, msg4)) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "娌℃湁淇濆瓨鏉冮檺"; + // objJsonResult.data = null; + // return objJsonResult; + // } + + // DLL.ClsSc_MouldProdMoveBill oBill = new DLL.ClsSc_MouldProdMoveBill(); + // List<Model.ClsSc_MouldProdMoveBillMain> lsmain = new List<Model.ClsSc_MouldProdMoveBillMain>(); + // msg2 = msg2.Replace("\\", ""); + // msg2 = msg2.Replace("\n", ""); //\n + // lsmain = oListModels.getObjectByJson_Gy_MouldProdMoveBillMain(msg2); + // foreach (Model.ClsSc_MouldProdMoveBillMain oItem in lsmain) + // { + // //oItem.HMaker = ""; + // UserName = oItem.HMaker; //鍒跺崟浜� + // oItem.HBillType = "3814"; + // oItem.HBillSubType = "3814"; + // //oItem.HBillNo = ""; //鍗曟嵁鍙� + // //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --鏃ユ湡 + // //oItem.HInnerBillNo = ""; // --鍐呴儴鍗曟嵁鍙� + // oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); + // oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); + // //oItem.HEquipID = 0; //璁惧ID(Gy_EquipMent) + // //oItem.HPeriod = 0; + // //oItem.HCheckBeginDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); // --缁翠慨鏃ユ湡 + // //oItem.HCheckResult = ""; //楠屾敹缁撹--(姝e父锛屽紓甯�) + // //oItem.HEmpID = 0; //楠屾敹浜�(Gy_Employee) + // //oItem.HManagerID = 0; //璐熻矗浜�(Gy_Employee) + // //oItem.HDeptID = 0; //楠屾敹閮ㄩ棬(Gy_Department) + // //oItem.HExplanation = ""; //鎽樿(鏁呴殰鎻忚堪) + // //oItem.HRemark = ""; //澶囨敞 + + // //oItem.HMainSourceInterID = oItem.HInterID; + + // //oItem.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd("1103", ref DBUtility.ClsPub.sExeReturnInfo); + // if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // oBill.omodel = oItem; + // } + // //琛ㄤ綋鏁版嵁 + // //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� + // msg3 = msg3.Substring(1, msg3.Length - 2); + // msg3 = msg3.Replace("\\", ""); + // msg3 = msg3.Replace("\n", ""); //\n + // //msg2 = msg2.Replace("'", "鈥�"); + // List<Model.ClsSc_MouldStockBillSub> ls = new List<Model.ClsSc_MouldStockBillSub>(); + // ls = oListModels.getObjectByJson_Gy_MouldStockBillSub(msg3); + // int i = 0; + // foreach (Model.ClsSc_MouldStockBillSub oItemSub in ls) + // { + + // i++; + // oItemSub.HEntryID = i; + + // //oItemSub.HRepairCheckID = 0; //楠屾敹椤圭洰ID + // //oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭 + // //oItemSub.HManagerID = 0; //璐熻矗浜篒D + // //oItemSub.HCloseMan = ""; //琛屽叧闂� + // oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); + // oItemSub.HCloseType = false; //鍏抽棴绫诲瀷 + // //oItemSub.HRemark = ""; //澶囨敞 + // oItemSub.HSourceInterID = 0; // 婧愬崟涓诲唴鐮� + // oItemSub.HSourceEntryID = 0; //婧愬崟瀛愬唴鐮� + // //oItemSub.HSourceBillNo = ""; //婧愬崟鍗曞彿 + // //oItemSub.HSourceBillType = ""; //婧愬崟绫诲瀷 + // //oItemSub.HRelationQty = 0; //鍏宠仈鏁伴噺 + // //oItemSub.HRelationMoney = 0; //鍏宠仈閲戦 + // //oItemSub.HRepairID = 0; //缁翠慨椤圭洰 + // //oItemSub.HRepairExplanation =""; //缁翠慨瑕佹眰 + // //oItemSub.HMoney = 0; //缁翠慨璐圭敤 + // oBill.DetailColl.Add(oItemSub); + + // } + // //淇濆瓨 + // //淇濆瓨瀹屾瘯鍚庡鐞� + // bool bResult; + // if (oBill.omodel.HInterID == 0) + // { + // // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + // string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "); + // oCn.RunProc(sql); + // } + // else + // { + // bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + // //淇敼鎴愬姛 + // //string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID 1,{oBill.omodel.HInterID.ToString()},' ' "); + // string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); + // oCn.RunProc(sql); + // } + // if (bResult) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 1; + // objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; + // //WebAPIController.Add_Log("閫佽揣鍗曚笅鎺�", UserName, "鐢熸垚閫佽揣鍗�"); + // objJsonResult.data = 1; + // return objJsonResult; + // } + // else + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // } + // catch (Exception e) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); + // objJsonResult.data = 1; + // return objJsonResult; + // } + //} + #endregion + + #region 鍣ㄥ叿鐩存帴璋冩嫧鍗曚繚瀛�/缂栬緫 20240702 /// <summary> /// 淇濆瓨妯″叿棰嗙敤鍗� /// </summary> @@ -216,124 +367,126 @@ [HttpPost] public object SaveGetMouldProdMoveBillList([FromBody] JObject msg) { + DAL.ClsSc_MouldProdMoveBill oBill = new DAL.ClsSc_MouldProdMoveBill(); + var _value = msg["msg"].ToString(); string msg1 = _value.ToString(); string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); - string msg2 = sArray[0].ToString(); - string msg3 = sArray[1].ToString(); - string msg4 = sArray[2].ToString(); - - string UserName = ""; - ListModels oListModels = new ListModels(); + string sMainStr = sArray[0].ToString(); //涓昏〃鏁版嵁 + string sSubStr = sArray[1].ToString(); //瀛愯〃鏁版嵁 + string HMaker = sArray[2].ToString(); //鍒跺崟浜� try { - if (!DBUtility.ClsPub.Security_Log_second("Sc_MouldProdMoveBill_Edit", 1, false, msg4)) + //鍒ゆ柇鏉冮檺 + if (!DBUtility.ClsPub.Security_Log("Sc_MouldProdMoveBill_Edit", 1, false, HMaker)) { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "娌℃湁淇濆瓨鏉冮檺"; + objJsonResult.Message = "鎮ㄦ病鏈夎妯″潡鏂板/缂栬緫鏉冮檺,璇蜂笌绠$悊鍛樿仈绯伙紒"; + objJsonResult.data = null; + return objJsonResult; + } + //琛ㄥご璧嬪�� + sMainStr = sMainStr.Replace("\\", ""); + sMainStr = sMainStr.Replace("\n", ""); + sMainStr = "[" + sMainStr.ToString() + "]"; + List<Model.ClsSc_MouldProdMoveBillMain> lsmain = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldProdMoveBillMain>>(sMainStr); + foreach (Model.ClsSc_MouldProdMoveBillMain oItem in lsmain) + { + if (oItem.HInterID == 0) + { + BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; + } + else + { + BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify; + } + //鍗曟嵁鍙锋槸鍚﹂噸澶� + if (oBill.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, oItem.HInterID)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁鍙烽噸澶嶏紒涓嶅厑璁镐繚瀛橈紒"; + objJsonResult.data = null; + return objJsonResult; + } + //鍒ゆ柇浼氳鏈熸槸鍚﹀悎鐞� + string s = ""; + int sYear = 0; + int sPeriod = 0; + if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(oItem.HDate, ref sYear, ref sPeriod, ref s) == false) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = s; + objJsonResult.data = null; + return objJsonResult; + } + + oItem.HYear = sYear; + oItem.HPeriod = sPeriod; + DBUtility.ClsPub.CurUserName = oItem.HMaker; + oBill.omodel = oItem; + } + //琛ㄤ綋璧嬪�� + //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� + sSubStr = sSubStr.Substring(1, sSubStr.Length - 2); + sSubStr = sSubStr.Replace("\\", ""); + sSubStr = sSubStr.Replace("\n", ""); + sSubStr = "[" + sSubStr.ToString() + "]"; + List<Model.ClsSc_MouldProdMoveBillSub> ls = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldProdMoveBillSub>>(sSubStr); + int i = 0; + foreach (Model.ClsSc_MouldProdMoveBillSub oItemSub in ls) + { + i++; + oItemSub.HEntryID = i; + oBill.DetailColl.Add(oItemSub); + } + + string sErrMsg = ""; + bool bResult; + //鑾峰彇绯荤粺鍙傛暟 + if (oSystemParameter.ShowBill(ref sErrMsg) == true) + { + //淇濆瓨 + if (oBill.omodel.HInterID == 0) //鏂板淇濆瓨 + { + bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + + if (oSystemParameter.omodel.WMS_CampanyName == "鍥涚淮灏�") //绯荤粺鍙傛暟 瀹㈡埛瀹氬埗鍖栧悕绉� 绌虹櫧涓洪�氱敤 + { + //淇敼鍣ㄥ叿妗f浣嶇疆 + string sql1 = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "); + oCn.RunProc(sql1); + } + } + else //缂栬緫淇濆瓨 + { + bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + + if (oSystemParameter.omodel.WMS_CampanyName == "鍥涚淮灏�") //绯荤粺鍙傛暟 瀹㈡埛瀹氬埗鍖栧悕绉� 绌虹櫧涓洪�氱敤 + { + //淇敼鍣ㄥ叿妗f浣嶇疆 + string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); + oCn.RunProc(sql); + } + } + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鑾峰彇绯荤粺鍙傛暟澶辫触锛� " + sErrMsg; objJsonResult.data = null; return objJsonResult; } - DLL.ClsSc_MouldProdMoveBill oBill = new DLL.ClsSc_MouldProdMoveBill(); - List<Model.ClsSc_MouldProdMoveBillMain> lsmain = new List<Model.ClsSc_MouldProdMoveBillMain>(); - msg2 = msg2.Replace("\\", ""); - msg2 = msg2.Replace("\n", ""); //\n - lsmain = oListModels.getObjectByJson_Gy_MouldProdMoveBillMain(msg2); - foreach (Model.ClsSc_MouldProdMoveBillMain oItem in lsmain) - { - //oItem.HMaker = ""; - UserName = oItem.HMaker; //鍒跺崟浜� - oItem.HBillType = "3814"; - oItem.HBillSubType = "3814"; - //oItem.HBillNo = ""; //鍗曟嵁鍙� - //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --鏃ユ湡 - //oItem.HInnerBillNo = ""; // --鍐呴儴鍗曟嵁鍙� - oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); - oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); - //oItem.HEquipID = 0; //璁惧ID(Gy_EquipMent) - //oItem.HPeriod = 0; - //oItem.HCheckBeginDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); // --缁翠慨鏃ユ湡 - //oItem.HCheckResult = ""; //楠屾敹缁撹--(姝e父锛屽紓甯�) - //oItem.HEmpID = 0; //楠屾敹浜�(Gy_Employee) - //oItem.HManagerID = 0; //璐熻矗浜�(Gy_Employee) - //oItem.HDeptID = 0; //楠屾敹閮ㄩ棬(Gy_Department) - //oItem.HExplanation = ""; //鎽樿(鏁呴殰鎻忚堪) - //oItem.HRemark = ""; //澶囨敞 - - //oItem.HMainSourceInterID = oItem.HInterID; - - //oItem.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd("1103", ref DBUtility.ClsPub.sExeReturnInfo); - if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�"; - objJsonResult.data = 1; - return objJsonResult; - } - oBill.omodel = oItem; - } - //琛ㄤ綋鏁版嵁 - //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� - msg3 = msg3.Substring(1, msg3.Length - 2); - msg3 = msg3.Replace("\\", ""); - msg3 = msg3.Replace("\n", ""); //\n - //msg2 = msg2.Replace("'", "鈥�"); - List<Model.ClsSc_MouldStockBillSub> ls = new List<Model.ClsSc_MouldStockBillSub>(); - ls = oListModels.getObjectByJson_Gy_MouldStockBillSub(msg3); - int i = 0; - foreach (Model.ClsSc_MouldStockBillSub oItemSub in ls) - { - - i++; - oItemSub.HEntryID = i; - - //oItemSub.HRepairCheckID = 0; //楠屾敹椤圭洰ID - //oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭 - //oItemSub.HManagerID = 0; //璐熻矗浜篒D - //oItemSub.HCloseMan = ""; //琛屽叧闂� - oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); - oItemSub.HCloseType = false; //鍏抽棴绫诲瀷 - //oItemSub.HRemark = ""; //澶囨敞 - oItemSub.HSourceInterID = 0; // 婧愬崟涓诲唴鐮� - oItemSub.HSourceEntryID = 0; //婧愬崟瀛愬唴鐮� - //oItemSub.HSourceBillNo = ""; //婧愬崟鍗曞彿 - //oItemSub.HSourceBillType = ""; //婧愬崟绫诲瀷 - //oItemSub.HRelationQty = 0; //鍏宠仈鏁伴噺 - //oItemSub.HRelationMoney = 0; //鍏宠仈閲戦 - //oItemSub.HRepairID = 0; //缁翠慨椤圭洰 - //oItemSub.HRepairExplanation =""; //缁翠慨瑕佹眰 - //oItemSub.HMoney = 0; //缁翠慨璐圭敤 - oBill.DetailColl.Add(oItemSub); - - } - //淇濆瓨 - //淇濆瓨瀹屾瘯鍚庡鐞� - bool bResult; - if (oBill.omodel.HInterID == 0) - { - // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); - bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); - string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "); - oCn.RunProc(sql); - } - else - { - bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); - //淇敼鎴愬姛 - //string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID 1,{oBill.omodel.HInterID.ToString()},' ' "); - string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); - oCn.RunProc(sql); - } if (bResult) { objJsonResult.code = "0"; objJsonResult.count = 1; - objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; - //WebAPIController.Add_Log("閫佽揣鍗曚笅鎺�", UserName, "鐢熸垚閫佽揣鍗�"); - objJsonResult.data = 1; + objJsonResult.Message = DBUtility.ClsPub.sExeReturnInfo; //鎴愬姛锛� + objJsonResult.data = null; return objJsonResult; } else @@ -341,7 +494,7 @@ objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo; - objJsonResult.data = 1; + objJsonResult.data = null; return objJsonResult; } } @@ -349,8 +502,8 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); - objJsonResult.data = 1; + objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.Message; + objJsonResult.data = null; return objJsonResult; } } diff --git a/WebAPI/Controllers/MJGL/Sc_MouldRepairOutBillController.cs b/WebAPI/Controllers/MJGL/Sc_MouldRepairOutBillController.cs index a6b2b09..cdb898f 100644 --- a/WebAPI/Controllers/MJGL/Sc_MouldRepairOutBillController.cs +++ b/WebAPI/Controllers/MJGL/Sc_MouldRepairOutBillController.cs @@ -17,6 +17,8 @@ private json objJsonResult = new json(); public DataSet ds = new DataSet(); public SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); + Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter(); + DAL.ClsSc_MouldRepairOutBill oBill = new DAL.ClsSc_MouldRepairOutBill(); public DLL.ClsSc_MouldRepairOutBill BillNew0 = new DLL.ClsSc_MouldRepairOutBill(); //妯″叿鏀瑰埗鍑哄簱瀵瑰簲鍗曟嵁绫� public DLL.ClsSc_MouldRepairOutBill BillOld0 = new DLL.ClsSc_MouldRepairOutBill(); //妯″叿鏀瑰埗鍑哄簱瀵瑰簲鍗曟嵁绫� @@ -172,7 +174,208 @@ #endregion - #region 妯″叿鏀瑰埗鍑哄簱淇濆瓨/缂栬緫 + #region 妯″叿鏀瑰埗鍑哄簱淇濆瓨/缂栬緫 20240702浣滃簾 + /// <summary> + /// 淇濆瓨妯″叿閲囪喘鍏ュ簱鍗� + /// </summary> + /// <param name="msg"></param> + /// <returns></returns> + //[Route("Sc_MouldRepairOutHouseBill/SaveGetMouldRepairOutHouseBillList")] + //[HttpPost] + //public object SaveGetMouldRepairOutHouseBillList([FromBody] JObject msg) + //{ + // var _value = msg["msg"].ToString(); + // string msg1 = _value.ToString(); + // string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); + // string msg2 = sArray[0].ToString(); + // string msg3 = sArray[1].ToString(); + // string refSav = sArray[2].ToString(); + // string msg4 = sArray[3].ToString(); + + // string UserName = ""; + // string s = ""; + // ListModels oListModels = new ListModels(); + // try + // { + // //缂栬緫鏉冮檺 + // if (!DBUtility.ClsPub.Security_Log_second("Sc_MouldRepairOut_SingleBill_Edit", 1, false, msg4)) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "鏃犱繚瀛樻潈闄愶紒"; + // objJsonResult.data = null; + // return objJsonResult; + // } + + // DLL.ClsSc_MouldRepairOutBill oBill = new DLL.ClsSc_MouldRepairOutBill(); + // List<Models.ClsSc_MouldRepairOutBillMain> lsmain = new List<Models.ClsSc_MouldRepairOutBillMain>(); + // msg2 = msg2.Replace("\\", ""); + // msg2 = msg2.Replace("\n", ""); //\n + // lsmain = oListModels.getObjectByJson_Gy_MouldRepairOutHouseBillMain(msg2); + // foreach (Models.ClsSc_MouldRepairOutBillMain oItem in lsmain) + // { + // if (refSav == "Add") + // { + // //鍗曟嵁鍙锋槸鍚﹂噸澶� + // if (BillNew0.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, BillOld0.omodel.HInterID)) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "鍗曟嵁鍙烽噸澶嶏紒涓嶅厑璁镐繚瀛橈紒"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // } + // if (refSav == "Update") + // { + // if (BillOld0.ShowBill(oItem.HInterID, ref s) == false) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "姝ゅ崟鎹湁璇紒"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // //鍒ゆ柇鏄惁鍙紪杈� + // if (BillOld0.omodel.HChecker != "" && BillOld0.omodel.HChecker != null) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "姝ゅ崟鎹凡缁忚瀹℃牳锛屼笉鍏佽淇敼锛�"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // if (BillOld0.omodel.HBillStatus > 1) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "姝ゅ崟鎹浜庝笉鍙紪杈戠姸鎬侊紝涓嶅厑璁镐慨鏀癸紒"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // if (!DBUtility.Xt_BaseBillFun.Fun_AllowEditBill(BillOld0, ref s)) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = s + "锛屼笉鍏佽淇敼"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // } + // //oItem.HMaker = ""; + // UserName = oItem.HMaker; //鍒跺崟浜� + // oItem.HBillType = "3825"; + // oItem.HBillSubType = "3825"; + // //oItem.HBillNo = ""; //鍗曟嵁鍙� + // //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --鏃ユ湡 + // //oItem.HInnerBillNo = ""; // --鍐呴儴鍗曟嵁鍙� + // oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); + // oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); + // //oItem.HEquipID = 0; //璁惧ID(Gy_EquipMent) + // //oItem.HPeriod = 0; + // //oItem.HCheckBeginDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); // --缁翠慨鏃ユ湡 + // //oItem.HCheckResult = ""; //楠屾敹缁撹--(姝e父锛屽紓甯�) + // //oItem.HEmpID = 0; //楠屾敹浜�(Gy_Employee) + // //oItem.HManagerID = 0; //璐熻矗浜�(Gy_Employee) + // //oItem.HDeptID = 0; //楠屾敹閮ㄩ棬(Gy_Department) + // //oItem.HExplanation = ""; //鎽樿(鏁呴殰鎻忚堪) + // //oItem.HRemark = ""; //澶囨敞 + + // //oItem.HMainSourceInterID = oItem.HInterID; + + // //oItem.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd("1103", ref DBUtility.ClsPub.sExeReturnInfo); + // if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // oBill.omodel = oItem; + // } + // //琛ㄤ綋鏁版嵁 + // //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� + // msg3 = msg3.Substring(1, msg3.Length - 2); + // msg3 = msg3.Replace("\\", ""); + // msg3 = msg3.Replace("\n", ""); //\n + // //msg2 = msg2.Replace("'", "鈥�"); + // List<Models.ClsSc_MouldRepairOutBillSub> ls = new List<Models.ClsSc_MouldRepairOutBillSub>(); + // ls = oListModels.getObjectByJson_Gy_MouldRepairOutHouseBillSub(msg3); + // int i = 0; + // foreach (Models.ClsSc_MouldRepairOutBillSub oItemSub in ls) + // { + + // i++; + // oItemSub.HEntryID = i; + + // //oItemSub.HRepairCheckID = 0; //楠屾敹椤圭洰ID + // //oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭 + // //oItemSub.HManagerID = 0; //璐熻矗浜篒D + // //oItemSub.HCloseMan = ""; //琛屽叧闂� + // oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); + // oItemSub.HCloseType = false; //鍏抽棴绫诲瀷 + // //oItemSub.HRemark = ""; //澶囨敞 + // oItemSub.HSourceInterID = 0; // 婧愬崟涓诲唴鐮� + // oItemSub.HSourceEntryID = 0; //婧愬崟瀛愬唴鐮� + // //oItemSub.HSourceBillNo = ""; //婧愬崟鍗曞彿 + // //oItemSub.HSourceBillType = ""; //婧愬崟绫诲瀷 + // //oItemSub.HRelationQty = 0; //鍏宠仈鏁伴噺 + // //oItemSub.HRelationMoney = 0; //鍏宠仈閲戦 + // //oItemSub.HRepairID = 0; //缁翠慨椤圭洰 + // //oItemSub.HRepairExplanation =""; //缁翠慨瑕佹眰 + // //oItemSub.HMoney = 0; //缁翠慨璐圭敤 + // oBill.DetailColl.Add(oItemSub); + + // } + // //淇濆瓨 + // //淇濆瓨瀹屾瘯鍚庡鐞� + // bool bResult; + // if (oBill.omodel.HInterID == 0) + // { + // // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + // string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'out',{oBill.omodel.HInterID.ToString()} "); + // oCn.RunProc(sql); + // } + // else + // { + // bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + // //淇敼鎴愬姛 + // //string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID 1,{oBill.omodel.HInterID.ToString()},' ' "); + // string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); + // oCn.RunProc(sql); + // } + // if (bResult) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 1; + // objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; + // //WebAPIController.Add_Log("閫佽揣鍗曚笅鎺�", UserName, "鐢熸垚閫佽揣鍗�"); + // objJsonResult.data = 1; + // return objJsonResult; + // } + // else + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // } + // catch (Exception e) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); + // objJsonResult.data = 1; + // return objJsonResult; + // } + //} + #endregion + + #region 妯″叿鏀瑰埗鍑哄簱淇濆瓨/缂栬緫 20240702 /// <summary> /// 淇濆瓨妯″叿閲囪喘鍏ュ簱鍗� /// </summary> @@ -185,172 +388,132 @@ var _value = msg["msg"].ToString(); string msg1 = _value.ToString(); string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); - string msg2 = sArray[0].ToString(); - string msg3 = sArray[1].ToString(); - string refSav = sArray[2].ToString(); - string msg4 = sArray[3].ToString(); - - string UserName = ""; - string s = ""; - ListModels oListModels = new ListModels(); + string sMainStr = sArray[0].ToString(); //涓昏〃鏁版嵁 + string sSubStr = sArray[1].ToString(); //瀛愯〃鏁版嵁 + string OperationType = sArray[2].ToString(); //鎿嶄綔绫诲瀷锛圓dd鏂板銆乁pdate缂栬緫锛� + string HMaker = sArray[3].ToString(); //鍒跺崟浜� try { - //缂栬緫鏉冮檺 - if (!DBUtility.ClsPub.Security_Log_second("Sc_MouldRepairOut_SingleBill_Edit", 1, false, msg4)) + //鍒ゆ柇鏉冮檺 + if (OperationType == "Add") + { + BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; + //鍒ゆ柇鏂板鏉冮檺 + if (!DBUtility.ClsPub.Security_Log("Sc_MouldRepairOut_SingleBill", 1, false, HMaker)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鎮ㄦ病鏈夎妯″潡鏂板鏉冮檺,璇蜂笌绠$悊鍛樿仈绯伙紒"; + objJsonResult.data = null; + return objJsonResult; + } + } + else + { + BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify; + //鍒ゆ柇缂栬緫鏉冮檺 + if (!DBUtility.ClsPub.Security_Log("Sc_MouldRepairOut_SingleBill_Edit", 1, false, HMaker)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鎮ㄦ病鏈夎妯″潡缂栬緫鏉冮檺,璇蜂笌绠$悊鍛樿仈绯伙紒"; + objJsonResult.data = null; + return objJsonResult; + } + } + //琛ㄥご璧嬪�� + sMainStr = sMainStr.Replace("\\", ""); + sMainStr = sMainStr.Replace("\n", ""); + sMainStr = "[" + sMainStr.ToString() + "]"; + List<Model.ClsSc_MouldStockBillMain> lsmain = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldStockBillMain>>(sMainStr); + foreach (Model.ClsSc_MouldStockBillMain oItem in lsmain) + { + //鍗曟嵁鍙锋槸鍚﹂噸澶� + if (oBill.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, oItem.HInterID)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁鍙烽噸澶嶏紒涓嶅厑璁镐繚瀛橈紒"; + objJsonResult.data = null; + return objJsonResult; + } + //鍒ゆ柇浼氳鏈熸槸鍚﹀悎鐞� + string s = ""; + int sYear = 0; + int sPeriod = 0; + if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(oItem.HDate, ref sYear, ref sPeriod, ref s) == false) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = s; + objJsonResult.data = null; + return objJsonResult; + } + + oItem.HYear = sYear; + oItem.HPeriod = sPeriod; + DBUtility.ClsPub.CurUserName = oItem.HMaker; + oBill.omodel = oItem; + } + //琛ㄤ綋璧嬪�� + //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� + sSubStr = sSubStr.Substring(1, sSubStr.Length - 2); + sSubStr = sSubStr.Replace("\\", ""); + sSubStr = sSubStr.Replace("\n", ""); + sSubStr = "[" + sSubStr.ToString() + "]"; + List<Model.ClsSc_MouldStockBillSub> ls = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldStockBillSub>>(sSubStr); + int i = 0; + foreach (Model.ClsSc_MouldStockBillSub oItemSub in ls) + { + i++; + oItemSub.HEntryID = i; + oBill.DetailColl.Add(oItemSub); + } + + string sErrMsg = ""; + bool bResult; + //鑾峰彇绯荤粺鍙傛暟 + if (oSystemParameter.ShowBill(ref sErrMsg) == true) + { + //淇濆瓨 + if (OperationType == "Add") //鏂板淇濆瓨 + { + bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + + if (oSystemParameter.omodel.WMS_CampanyName == "鍥涚淮灏�") //绯荤粺鍙傛暟 瀹㈡埛瀹氬埗鍖栧悕绉� 绌虹櫧涓洪�氱敤 + { + //淇敼鍣ㄥ叿妗f浣嶇疆 + string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'out',{oBill.omodel.HInterID.ToString()} "); + oCn.RunProc(sql); + } + } + else //缂栬緫淇濆瓨 + { + bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + + if (oSystemParameter.omodel.WMS_CampanyName == "鍥涚淮灏�") //绯荤粺鍙傛暟 瀹㈡埛瀹氬埗鍖栧悕绉� 绌虹櫧涓洪�氱敤 + { + //淇敼鍣ㄥ叿妗f浣嶇疆 + string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); + oCn.RunProc(sql); + } + } + } + else { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "鏃犱繚瀛樻潈闄愶紒"; + objJsonResult.Message = "鑾峰彇绯荤粺鍙傛暟澶辫触锛� " + sErrMsg; objJsonResult.data = null; return objJsonResult; } - DLL.ClsSc_MouldRepairOutBill oBill = new DLL.ClsSc_MouldRepairOutBill(); - List<Models.ClsSc_MouldRepairOutBillMain> lsmain = new List<Models.ClsSc_MouldRepairOutBillMain>(); - msg2 = msg2.Replace("\\", ""); - msg2 = msg2.Replace("\n", ""); //\n - lsmain = oListModels.getObjectByJson_Gy_MouldRepairOutHouseBillMain(msg2); - foreach (Models.ClsSc_MouldRepairOutBillMain oItem in lsmain) - { - if (refSav == "Add") - { - //鍗曟嵁鍙锋槸鍚﹂噸澶� - if (BillNew0.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, BillOld0.omodel.HInterID)) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "鍗曟嵁鍙烽噸澶嶏紒涓嶅厑璁镐繚瀛橈紒"; - objJsonResult.data = 1; - return objJsonResult; - } - } - if (refSav == "Update") - { - if (BillOld0.ShowBill(oItem.HInterID, ref s) == false) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "姝ゅ崟鎹湁璇紒"; - objJsonResult.data = 1; - return objJsonResult; - } - //鍒ゆ柇鏄惁鍙紪杈� - if (BillOld0.omodel.HChecker != "" && BillOld0.omodel.HChecker != null) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "姝ゅ崟鎹凡缁忚瀹℃牳锛屼笉鍏佽淇敼锛�"; - objJsonResult.data = 1; - return objJsonResult; - } - if (BillOld0.omodel.HBillStatus > 1) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "姝ゅ崟鎹浜庝笉鍙紪杈戠姸鎬侊紝涓嶅厑璁镐慨鏀癸紒"; - objJsonResult.data = 1; - return objJsonResult; - } - if (!DBUtility.Xt_BaseBillFun.Fun_AllowEditBill(BillOld0, ref s)) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = s + "锛屼笉鍏佽淇敼"; - objJsonResult.data = 1; - return objJsonResult; - } - } - //oItem.HMaker = ""; - UserName = oItem.HMaker; //鍒跺崟浜� - oItem.HBillType = "3825"; - oItem.HBillSubType = "3825"; - //oItem.HBillNo = ""; //鍗曟嵁鍙� - //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --鏃ユ湡 - //oItem.HInnerBillNo = ""; // --鍐呴儴鍗曟嵁鍙� - oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); - oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); - //oItem.HEquipID = 0; //璁惧ID(Gy_EquipMent) - //oItem.HPeriod = 0; - //oItem.HCheckBeginDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); // --缁翠慨鏃ユ湡 - //oItem.HCheckResult = ""; //楠屾敹缁撹--(姝e父锛屽紓甯�) - //oItem.HEmpID = 0; //楠屾敹浜�(Gy_Employee) - //oItem.HManagerID = 0; //璐熻矗浜�(Gy_Employee) - //oItem.HDeptID = 0; //楠屾敹閮ㄩ棬(Gy_Department) - //oItem.HExplanation = ""; //鎽樿(鏁呴殰鎻忚堪) - //oItem.HRemark = ""; //澶囨敞 - - //oItem.HMainSourceInterID = oItem.HInterID; - - //oItem.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd("1103", ref DBUtility.ClsPub.sExeReturnInfo); - if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�"; - objJsonResult.data = 1; - return objJsonResult; - } - oBill.omodel = oItem; - } - //琛ㄤ綋鏁版嵁 - //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� - msg3 = msg3.Substring(1, msg3.Length - 2); - msg3 = msg3.Replace("\\", ""); - msg3 = msg3.Replace("\n", ""); //\n - //msg2 = msg2.Replace("'", "鈥�"); - List<Models.ClsSc_MouldRepairOutBillSub> ls = new List<Models.ClsSc_MouldRepairOutBillSub>(); - ls = oListModels.getObjectByJson_Gy_MouldRepairOutHouseBillSub(msg3); - int i = 0; - foreach (Models.ClsSc_MouldRepairOutBillSub oItemSub in ls) - { - - i++; - oItemSub.HEntryID = i; - - //oItemSub.HRepairCheckID = 0; //楠屾敹椤圭洰ID - //oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭 - //oItemSub.HManagerID = 0; //璐熻矗浜篒D - //oItemSub.HCloseMan = ""; //琛屽叧闂� - oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); - oItemSub.HCloseType = false; //鍏抽棴绫诲瀷 - //oItemSub.HRemark = ""; //澶囨敞 - oItemSub.HSourceInterID = 0; // 婧愬崟涓诲唴鐮� - oItemSub.HSourceEntryID = 0; //婧愬崟瀛愬唴鐮� - //oItemSub.HSourceBillNo = ""; //婧愬崟鍗曞彿 - //oItemSub.HSourceBillType = ""; //婧愬崟绫诲瀷 - //oItemSub.HRelationQty = 0; //鍏宠仈鏁伴噺 - //oItemSub.HRelationMoney = 0; //鍏宠仈閲戦 - //oItemSub.HRepairID = 0; //缁翠慨椤圭洰 - //oItemSub.HRepairExplanation =""; //缁翠慨瑕佹眰 - //oItemSub.HMoney = 0; //缁翠慨璐圭敤 - oBill.DetailColl.Add(oItemSub); - - } - //淇濆瓨 - //淇濆瓨瀹屾瘯鍚庡鐞� - bool bResult; - if (oBill.omodel.HInterID == 0) - { - // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); - bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); - string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'out',{oBill.omodel.HInterID.ToString()} "); - oCn.RunProc(sql); - } - else - { - bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); - //淇敼鎴愬姛 - //string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID 1,{oBill.omodel.HInterID.ToString()},' ' "); - string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); - oCn.RunProc(sql); - } if (bResult) { objJsonResult.code = "0"; objJsonResult.count = 1; - objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; - //WebAPIController.Add_Log("閫佽揣鍗曚笅鎺�", UserName, "鐢熸垚閫佽揣鍗�"); - objJsonResult.data = 1; + objJsonResult.Message = DBUtility.ClsPub.sExeReturnInfo; //鎴愬姛锛� + objJsonResult.data = null; return objJsonResult; } else @@ -358,7 +521,7 @@ objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo; - objJsonResult.data = 1; + objJsonResult.data = null; return objJsonResult; } } @@ -366,8 +529,8 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); - objJsonResult.data = 1; + objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.Message; + objJsonResult.data = null; return objJsonResult; } } diff --git a/WebAPI/Controllers/MJGL/Sc_MouldUpperBillController.cs b/WebAPI/Controllers/MJGL/Sc_MouldUpperBillController.cs index b3d6f23..2501eff 100644 --- a/WebAPI/Controllers/MJGL/Sc_MouldUpperBillController.cs +++ b/WebAPI/Controllers/MJGL/Sc_MouldUpperBillController.cs @@ -67,6 +67,70 @@ } #endregion + #region 涓婃ā鍗� 淇濆瓨鍓嶃�佷繚瀛樺悗鎺у埗 + + //淇濆瓨鍓嶆帶鍒� + public json BeforeSave_MouldUpperBill(Int64 HInterID, string HBillNo, Int64 OperationType) + { + DataSet BeforeSave = oCN.RunProcReturn("Exec h_p_Sc_MouldUpperBill_BeforeSaveCtrl " + HInterID.ToString() + ",'" + HBillNo + "'," + OperationType.ToString(), "h_p_Sc_MouldUpperBill_BeforeSaveCtrl"); + if (BeforeSave == null || BeforeSave.Tables[0].Rows.Count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "淇濆瓨鍓嶅垽鏂け璐ワ紒"; + objJsonResult.data = null; + return objJsonResult; + } + else if (DBUtility.ClsPub.isLong(BeforeSave.Tables[0].Rows[0]["HBack"]) == 1) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; //澶辫触锛� + objJsonResult.Message = DBUtility.ClsPub.isStrNull(BeforeSave.Tables[0].Rows[0]["HRemark"]); + objJsonResult.data = null; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 1; //鎴愬姛锛� + objJsonResult.Message = DBUtility.ClsPub.isStrNull(BeforeSave.Tables[0].Rows[0]["HRemark"]); + objJsonResult.data = null; + return objJsonResult; + } + } + + //淇濆瓨鍚庢帶鍒� + public json AfterSave_MouldUpperBill(Int64 HInterID, string HBillNo, Int64 OperationType) + { + DataSet AfterSave = oCN.RunProcReturn("Exec h_p_Sc_MouldUpperBill_AfterSaveCtrl " + HInterID.ToString() + ",'" + HBillNo + "'," + OperationType.ToString(), "h_p_Sc_MouldUpperBill_AfterSaveCtrl"); + if (AfterSave == null || AfterSave.Tables[0].Rows.Count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "淇濆瓨鍚庡垽鏂け璐ワ紒"; + objJsonResult.data = null; + return objJsonResult; + } + else if (DBUtility.ClsPub.isLong(AfterSave.Tables[0].Rows[0]["HBack"]) == 1) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; //澶辫触锛� + objJsonResult.Message = DBUtility.ClsPub.isStrNull(AfterSave.Tables[0].Rows[0]["HRemark"]); + objJsonResult.data = null; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 1; //鎴愬姛锛� + objJsonResult.Message = DBUtility.ClsPub.isStrNull(AfterSave.Tables[0].Rows[0]["HRemark"]); + objJsonResult.data = null; + return objJsonResult; + } + } + + #endregion + #region 涓婃ā鍗� 鏂板 /// <summary> /// 鏂板鍗曟嵁-淇濆瓨鎸夐挳 @@ -136,6 +200,16 @@ if ((OperationType == 1) && ds.Tables[0].Rows.Count == 0)//鏂板 { + //淇濆瓨鍓嶆帶鍒� + objJsonResult = BeforeSave_MouldUpperBill(HInterID, HBillNo, 1); + if (objJsonResult.count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = objJsonResult.Message; + objJsonResult.data = null; + return objJsonResult; + } //涓昏〃 oCN.RunProc(@"Insert Into Sc_MouldUpperBillMain (HBillType,HBillStatus, HBillSubType, HInterID, HBillNo, HDate @@ -147,7 +221,18 @@ } else if (OperationType == 3 || ds.Tables[0].Rows.Count != 0) - { //淇敼 + { + //淇濆瓨鍓嶆帶鍒� + objJsonResult = BeforeSave_MouldUpperBill(HInterID, HBillNo, 2); + if (objJsonResult.count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = objJsonResult.Message; + objJsonResult.data = null; + return objJsonResult; + } + //淇敼 oCN.RunProc("update Sc_MouldUpperBillMain set " + "HDate='" + HDate + "',HYear='" + HYear + "',HPeriod='" + HPeriod + "',HRemark='" + HRemark + "',hupdater='" + HMaker + @@ -157,7 +242,7 @@ oCN.RunProc("delete from Sc_MouldUpperBillSub where HInterID='" + HInterID + "'"); } //淇濆瓨瀛愯〃 - objJsonResult = AddBillSub(msg3, HInterID, HBillNo); + objJsonResult = AddBillSub(msg3, HInterID, HBillNo, OperationType); if (objJsonResult.code == "0") { objJsonResult.code = "0"; @@ -183,7 +268,7 @@ } } - public json AddBillSub(string msg3, long HInterID,string HBillNo) + public json AddBillSub(string msg3, long HInterID,string HBillNo, Int64 OperationType) { List<ClsSc_MouldUpperBillSub> DetailColl = Newtonsoft.Json.JsonConvert.DeserializeObject<List<ClsSc_MouldUpperBillSub>>(msg3); int i = 0; @@ -198,11 +283,34 @@ + HInterID + ",'"+ HBillNo + "'," + i + "," + oSub.HMouldID.ToString() + ",'" + oSub.HQty + "'," + oSub.HSourceID.ToString() + "," + oSub.HICMOInterID.ToString() + "," + oSub.HICMOEntryID.ToString()+",'"+ oSub.HICMOBillNo.ToString() + "') "); - - //鍙嶅啓妯″叿鐘舵�� - oCN.RunProc("update Gy_MouldFileMain set HMouldStatus='棰嗗嚭' where HInterID= " + oSub.HMouldID.ToString()); } + if (OperationType == 1)//鏂板 + { + //淇濆瓨鍚庢帶鍒� + objJsonResult = AfterSave_MouldUpperBill(HInterID, HBillNo, 1); + if (objJsonResult.count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = objJsonResult.Message; + objJsonResult.data = null; + return objJsonResult; + } + } + else + { + //淇濆瓨鍚庢帶鍒� + objJsonResult = AfterSave_MouldUpperBill(HInterID, HBillNo, 2); + if (objJsonResult.count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = objJsonResult.Message; + objJsonResult.data = null; + return objJsonResult; + } + } objJsonResult.code = "1"; objJsonResult.count = 1; objJsonResult.Message = null; @@ -749,6 +857,70 @@ } #endregion + #region 涓嬫ā鍗� 淇濆瓨鍓嶃�佷繚瀛樺悗鎺у埗 + + //淇濆瓨鍓嶆帶鍒� + public json BeforeSave_MouldLowerBill(Int64 HInterID, string HBillNo, Int64 OperationType) + { + DataSet BeforeSave = oCN.RunProcReturn("Exec h_p_Sc_MouldLowerBill_BeforeSaveCtrl " + HInterID.ToString() + ",'" + HBillNo + "'," + OperationType.ToString(), "h_p_Sc_MouldLowerBill_BeforeSaveCtrl"); + if (BeforeSave == null || BeforeSave.Tables[0].Rows.Count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "淇濆瓨鍓嶅垽鏂け璐ワ紒"; + objJsonResult.data = null; + return objJsonResult; + } + else if (DBUtility.ClsPub.isLong(BeforeSave.Tables[0].Rows[0]["HBack"]) == 1) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; //澶辫触锛� + objJsonResult.Message = DBUtility.ClsPub.isStrNull(BeforeSave.Tables[0].Rows[0]["HRemark"]); + objJsonResult.data = null; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 1; //鎴愬姛锛� + objJsonResult.Message = DBUtility.ClsPub.isStrNull(BeforeSave.Tables[0].Rows[0]["HRemark"]); + objJsonResult.data = null; + return objJsonResult; + } + } + + //淇濆瓨鍚庢帶鍒� + public json AfterSave_MouldLowerBill(Int64 HInterID, string HBillNo, Int64 OperationType) + { + DataSet AfterSave = oCN.RunProcReturn("Exec h_p_Sc_MouldLowerBill_AfterSaveCtrl " + HInterID.ToString() + ",'" + HBillNo + "'," + OperationType.ToString(), "h_p_Sc_MouldLowerBill_AfterSaveCtrl"); + if (AfterSave == null || AfterSave.Tables[0].Rows.Count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "淇濆瓨鍚庡垽鏂け璐ワ紒"; + objJsonResult.data = null; + return objJsonResult; + } + else if (DBUtility.ClsPub.isLong(AfterSave.Tables[0].Rows[0]["HBack"]) == 1) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; //澶辫触锛� + objJsonResult.Message = DBUtility.ClsPub.isStrNull(AfterSave.Tables[0].Rows[0]["HRemark"]); + objJsonResult.data = null; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 1; //鎴愬姛锛� + objJsonResult.Message = DBUtility.ClsPub.isStrNull(AfterSave.Tables[0].Rows[0]["HRemark"]); + objJsonResult.data = null; + return objJsonResult; + } + } + + #endregion + #region 涓嬫ā鍗� 鏂板 /// <summary> /// 鏂板鍗曟嵁-淇濆瓨鎸夐挳 @@ -818,6 +990,16 @@ if ((OperationType == 1) && ds.Tables[0].Rows.Count == 0)//鏂板 { + //淇濆瓨鍓嶆帶鍒� + objJsonResult = BeforeSave_MouldLowerBill(HInterID, HBillNo, 1); + if (objJsonResult.count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = objJsonResult.Message; + objJsonResult.data = null; + return objJsonResult; + } //涓昏〃 oCN.RunProc(@"Insert Into Sc_MouldLowerBillMain (HBillType,HBillStatus, HBillSubType, HInterID, HBillNo, HDate @@ -829,7 +1011,18 @@ } else if (OperationType == 3 || ds.Tables[0].Rows.Count != 0) - { //淇敼 + { + //淇濆瓨鍓嶆帶鍒� + objJsonResult = BeforeSave_MouldLowerBill(HInterID, HBillNo, 2); + if (objJsonResult.count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = objJsonResult.Message; + objJsonResult.data = null; + return objJsonResult; + } + //淇敼 oCN.RunProc("update Sc_MouldLowerBillMain set " + "HDate='" + HDate + "',HYear='" + HYear + "',HPeriod='" + HPeriod + "',HRemark='" + HRemark + "',hupdater='" + HMaker + @@ -839,7 +1032,7 @@ oCN.RunProc("delete from Sc_MouldLowerBillSub where HInterID='" + HInterID + "'"); } //淇濆瓨瀛愯〃 - objJsonResult = AddMouldLowerBill(msg3, HInterID, HBillNo); + objJsonResult = AddMouldLowerBill(msg3, HInterID, HBillNo, OperationType); if (objJsonResult.code == "0") { objJsonResult.code = "0"; @@ -865,7 +1058,7 @@ } } - public json AddMouldLowerBill(string msg3, long HInterID, string HBillNo) + public json AddMouldLowerBill(string msg3, long HInterID, string HBillNo, Int64 OperationType) { List<ClsSc_MouldLowerBillSub> DetailColl = Newtonsoft.Json.JsonConvert.DeserializeObject<List<ClsSc_MouldLowerBillSub>>(msg3); int i = 0; @@ -880,11 +1073,34 @@ + HInterID + ",'" + HBillNo + "'," + i + "," + oSub.HMouldID.ToString() + ",'" + oSub.HQty + "'," + oSub.HSourceID.ToString() + "," + oSub.HICMOInterID.ToString() + "," + oSub.HICMOEntryID.ToString() + ",'" + oSub.HICMOBillNo.ToString() + "') "); - - //鍙嶅啓妯″叿鐘舵�� - oCN.RunProc("update Gy_MouldFileMain set HMouldStatus='鍦ㄥ簱' where HInterID= " + oSub.HMouldID.ToString()); } + if (OperationType == 1)//鏂板 + { + //淇濆瓨鍚庢帶鍒� + objJsonResult = AfterSave_MouldLowerBill(HInterID, HBillNo, 1); + if (objJsonResult.count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = objJsonResult.Message; + objJsonResult.data = null; + return objJsonResult; + } + } + else + { + //淇濆瓨鍚庢帶鍒� + objJsonResult = AfterSave_MouldLowerBill(HInterID, HBillNo, 2); + if (objJsonResult.count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = objJsonResult.Message; + objJsonResult.data = null; + return objJsonResult; + } + } objJsonResult.code = "1"; objJsonResult.count = 1; objJsonResult.Message = null; @@ -1529,6 +1745,16 @@ if ((OperationType == 1) && ds.Tables[0].Rows.Count == 0)//鏂板 { + //淇濆瓨鍓嶆帶鍒� + objJsonResult = BeforeSave_MouldUpperBill(HInterID, HBillNo, 1); + if (objJsonResult.count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = objJsonResult.Message; + objJsonResult.data = null; + return objJsonResult; + } //涓昏〃 oCN.RunProc(@"Insert Into Sc_MouldUpperBillMain (HBillType,HBillStatus, HBillSubType, HInterID, HBillNo, HDate @@ -1540,7 +1766,18 @@ } else if (OperationType == 3 || ds.Tables[0].Rows.Count != 0) - { //淇敼 + { + //淇濆瓨鍓嶆帶鍒� + objJsonResult = BeforeSave_MouldUpperBill(HInterID, HBillNo, 2); + if (objJsonResult.count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = objJsonResult.Message; + objJsonResult.data = null; + return objJsonResult; + } + //淇敼 oCN.RunProc("update Sc_MouldUpperBillMain set " + "HDate='" + HDate + "',HYear='" + HYear + "',HPeriod='" + HPeriod + "',HRemark='" + HRemark + "',hupdater='" + HMaker + @@ -1550,7 +1787,7 @@ oCN.RunProc("delete from Sc_MouldUpperBillSub where HInterID='" + HInterID + "'"); } //淇濆瓨瀛愯〃 - objJsonResult = AddBillSub_PDA(msg2, HInterID, HBillNo); + objJsonResult = AddBillSub_PDA(msg2, HInterID, HBillNo, OperationType); if (objJsonResult.code == "0") { objJsonResult.code = "0"; @@ -1576,7 +1813,7 @@ } } - public json AddBillSub_PDA(string msg2, long HInterID, string HBillNo) + public json AddBillSub_PDA(string msg2, long HInterID, string HBillNo, Int64 OperationType) { List<ClsSc_MouldUpperBillSub> DetailColl = Newtonsoft.Json.JsonConvert.DeserializeObject<List<ClsSc_MouldUpperBillSub>>(msg2); int i = 0; @@ -1594,11 +1831,34 @@ + "'," + oSub.HSourceID.ToString() + "," + oSub.HICMOInterID.ToString() + "," + oSub.HICMOEntryID.ToString() + ",'" + oSub.HICMOBillNo.ToString() + "','" + oSub.HProcExchBillNo.ToString() + "'," + oSub.HProcExchInterID.ToString() + "," + oSub.HProcExchEntryID.ToString() + ",'" + oSub.HScanDate.ToString() + "','" + oSub.HMouldNumber.ToString() + "') "); - - //鍙嶅啓妯″叿鐘舵�� - oCN.RunProc("update Gy_MouldFileMain set HMouldStatus='棰嗗嚭' where HInterID= "+ oSub.HMouldID.ToString()); } + if (OperationType == 1)//鏂板 + { + //淇濆瓨鍚庢帶鍒� + objJsonResult = AfterSave_MouldUpperBill(HInterID, HBillNo, 1); + if (objJsonResult.count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = objJsonResult.Message; + objJsonResult.data = null; + return objJsonResult; + } + } + else + { + //淇濆瓨鍚庢帶鍒� + objJsonResult = AfterSave_MouldUpperBill(HInterID, HBillNo, 2); + if (objJsonResult.count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = objJsonResult.Message; + objJsonResult.data = null; + return objJsonResult; + } + } objJsonResult.code = "1"; objJsonResult.count = 1; objJsonResult.Message = null; @@ -1676,6 +1936,16 @@ if ((OperationType == 1) && ds.Tables[0].Rows.Count == 0)//鏂板 { + //淇濆瓨鍓嶆帶鍒� + objJsonResult = BeforeSave_MouldLowerBill(HInterID, HBillNo, 1); + if (objJsonResult.count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = objJsonResult.Message; + objJsonResult.data = null; + return objJsonResult; + } //涓昏〃 oCN.RunProc(@"Insert Into Sc_MouldLowerBillMain (HBillType,HBillStatus, HBillSubType, HInterID, HBillNo, HDate @@ -1687,7 +1957,18 @@ } else if (OperationType == 3 || ds.Tables[0].Rows.Count != 0) - { //淇敼 + { + //淇濆瓨鍓嶆帶鍒� + objJsonResult = BeforeSave_MouldLowerBill(HInterID, HBillNo, 2); + if (objJsonResult.count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = objJsonResult.Message; + objJsonResult.data = null; + return objJsonResult; + } + //淇敼 oCN.RunProc("update Sc_MouldLowerBillMain set " + "HDate='" + HDate + "',HYear='" + HYear + "',HPeriod='" + HPeriod + "',HRemark='" + HRemark + "',hupdater='" + HMaker + @@ -1697,7 +1978,7 @@ oCN.RunProc("delete from Sc_MouldLowerBillSub where HInterID='" + HInterID + "'"); } //淇濆瓨瀛愯〃 - objJsonResult = AddSc_MouldLowerBillSub_PDA(msg2, HInterID, HBillNo); + objJsonResult = AddSc_MouldLowerBillSub_PDA(msg2, HInterID, HBillNo, OperationType); if (objJsonResult.code == "0") { objJsonResult.code = "0"; @@ -1723,7 +2004,7 @@ } } - public json AddSc_MouldLowerBillSub_PDA(string msg2, long HInterID, string HBillNo) + public json AddSc_MouldLowerBillSub_PDA(string msg2, long HInterID, string HBillNo, Int64 OperationType) { List<ClsSc_MouldLowerBillSub> DetailColl = Newtonsoft.Json.JsonConvert.DeserializeObject<List<ClsSc_MouldLowerBillSub>>(msg2); int i = 0; @@ -1741,11 +2022,34 @@ + "'," + oSub.HSourceID.ToString() + "," + oSub.HICMOInterID.ToString() + "," + oSub.HICMOEntryID.ToString() + ",'" + oSub.HICMOBillNo.ToString() + "','" + oSub.HProcExchBillNo.ToString() + "'," + oSub.HProcExchInterID.ToString() + "," + oSub.HProcExchEntryID.ToString() + ",'" + oSub.HScanDate.ToString() + "','" + oSub.HMouldNumber.ToString() + "') "); - - //鍙嶅啓妯″叿鐘舵�� - oCN.RunProc("update Gy_MouldFileMain set HMouldStatus='鍦ㄥ簱' where HInterID= " + oSub.HMouldID.ToString()); } + if (OperationType == 1)//鏂板 + { + //淇濆瓨鍚庢帶鍒� + objJsonResult = AfterSave_MouldLowerBill(HInterID, HBillNo, 1); + if (objJsonResult.count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = objJsonResult.Message; + objJsonResult.data = null; + return objJsonResult; + } + } + else + { + //淇濆瓨鍚庢帶鍒� + objJsonResult = AfterSave_MouldLowerBill(HInterID, HBillNo, 2); + if (objJsonResult.count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = objJsonResult.Message; + objJsonResult.data = null; + return objJsonResult; + } + } objJsonResult.code = "1"; objJsonResult.count = 1; objJsonResult.Message = null; diff --git a/WebAPI/Controllers/SBGL/Gy_EquipFileMainController.cs b/WebAPI/Controllers/SBGL/Gy_EquipFileMainController.cs index c083f5e..03f94b0 100644 --- a/WebAPI/Controllers/SBGL/Gy_EquipFileMainController.cs +++ b/WebAPI/Controllers/SBGL/Gy_EquipFileMainController.cs @@ -94,6 +94,7 @@ return objJsonResult; } DLL.ClsGy_EquipFileMain oBill = new DLL.ClsGy_EquipFileMain(); + oCN.BeginTran(); ds = oCN.RunProcReturn("select * from Gy_EquipFileBillMain where HInterID=" + HItemID, "Gy_EquipFileBillMain"); if (ds.Tables[0].Rows.Count > 0) { @@ -107,6 +108,9 @@ } oCN.RunProc("Delete From Gy_EquipFileBillMain where HInterID=" + lngBillKey); + oCN.RunProc("Delete From Gy_EquipFileBillSub_MaintainRule where HInterID=" + lngBillKey); + oCN.RunProc("Delete From Gy_EquipFileBillSub_DotCheckRule where HInterID=" + lngBillKey); + oCN.Commit(); objJsonResult.code = "1"; objJsonResult.count = 1; objJsonResult.Message = "鍒犻櫎鎴愬姛"; @@ -121,6 +125,7 @@ objJsonResult.data = null; return objJsonResult; } + } #endregion @@ -151,6 +156,35 @@ } #endregion + #region[璁惧妗f缂栬緫鏃惰幏鍙栧瓙琛ㄦ暟鎹甝 + [Route("Gy_EquipFileMain/Gy_EquipFileSubDetai")] + [HttpGet] + public object Gy_EquipFileSubDetai(long HInterID) + { + try + { + List<DataTable> tableList = new List<DataTable>(); + ds = oCN.RunProcReturn("select a.*,b.HBillNo from Gy_EquipFileBillSub_MaintainRule AS a left join Sb_EquipMaintainRuleBillMain as b on b.HInterID = a.HMaintainRuleID where a.HInterID = " + HInterID, "Gy_EquipFileBillSub_MaintainRule"); + tableList.Add(ds.Tables[0]); + ds = oCN.RunProcReturn("select a.*,b.HBillNo from Gy_EquipFileBillSub_DotCheckRule AS a left join Sb_EquipDotCheckRuleBillMain as b on b.HInterID = a.HDotCheckRuleID where a.HInterID = " + HInterID, "Gy_EquipFileBillSub_DotCheckRule"); + tableList.Add(ds.Tables[0]); + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = ""; + objJsonResult.data = tableList; + return objJsonResult; + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "Exception锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + #endregion + #region 璁惧妗f鏂板淇濆瓨 /// <summary> /// 妯℃不鍏峰垎绫�-淇濆瓨鎸夐挳 @@ -166,11 +200,12 @@ var _value = oMain["oMain"].ToString(); string msg1 = _value.ToString(); string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); - string msg2 = sArray[0].ToString(); - string msg3 = sArray[1].ToString(); - string msg4 = sArray[2].ToString(); + string msg2 = sArray[0].ToString(); //涓昏〃鏁版嵁 + string msg3 = sArray[1].ToString(); //瀛愯〃1 + string msg4 = sArray[2].ToString(); //瀛愯〃2 + string msg5 = sArray[3].ToString(); //鐢ㄦ埛 - if (!DBUtility.ClsPub.Security_Log("Gy_EquipFile_Edit", 1, false, msg4)) + if (!DBUtility.ClsPub.Security_Log("Gy_EquipFile_Edit", 1, false, msg5)) { objJsonResult.code = "0"; objJsonResult.count = 0; @@ -214,7 +249,7 @@ string HMainSourceFlag = list[0].HMainSourceFlag; //varchar(10) //鏄惁涓荤敓浜ц澶�(鍚︼紝鏄�) string HMacAddress = list[0].HMacAddress; // varchar(50) //鏁伴噰鐗╃悊鍦板潃 int HMainSourceID = list[0].HMainSourceID; //int //鎵�灞炰富鐢熶骇璁惧锛圙y_EquipFileBillMain锛� - string HMaker = msg4; + string HMaker = msg5; string HMakeDate = DateTime.Now.Date.ToString(); int HEquipDotCheckRuleInterID = list[0].HEquipDotCheckRuleInterID; int HEquipMaintainRuleInterID = list[0].HEquipMaintainRuleInterID; @@ -228,22 +263,30 @@ objJsonResult.data = null; return objJsonResult; } + DataSet DS = oCN.RunProcReturn("Select * from Gy_EquipFileBillMain Where HEquipFileNumber='" + HEquipFileNumber + "' and HInterID<>" + HInterID, "Gy_EquipFileBillMain", ref Pub_Class.ClsPub.sExeReturnInfo); + + if (DS.Tables[0].Rows.Count != 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "浠g爜閲嶅锛�"; + objJsonResult.data = null; + return objJsonResult; + } //鑻AINDI閲嶅鍒欓噸鏂拌幏鍙� oCN.BeginTran(); //涓昏〃 oCN.RunProc("Insert into Gy_EquipFileBillMain " + - " (hbillno,HEquipFileNumber,HEquipFileNo,HName,HModel,HModel2,HMaterID,HUnitID,HOutComDate" + + " (HInterID,hbillno,HEquipFileNumber,HEquipFileNo,HName,HModel,HModel2,HMaterID,HUnitID,HOutComDate" + ",HOutComNo,HDeptID,HUseEmpID,HRepairEmpID,HAddress,HSetupDate,HStartupDate,HStatus," + "HEquipFileTypeID,HProNum,HBarCode,HWorkArea,HLogo,HSellSupID,HMakeSupID,hbilltype,HDate,HYear,HMaker,HMakeDate,HEquipMaintainRuleInterID,HEquipDotCheckRuleInterID,HSourceID,HMainSourceFlag,HMacAddress,HMainSourceID) " + - " Values('" + hbillno + "','" + HEquipFileNumber + "','" + HEquipFileNo + "','" + HName + "','" + HModel + "','" + HModel2 + "'," + HMaterID + "," + HUnitID + + " Values("+ HInterID+",'" + hbillno + "','" + HEquipFileNumber + "','" + HEquipFileNo + "','" + HName + "','" + HModel + "','" + HModel2 + "'," + HMaterID + "," + HUnitID + ",'" + HOutComDate + "','" + HOutComNo + "'," + HDeptID + "," + HUseEmpID + "," + HRepairEmpID + ",'" + HAddress + "','" + HSetupDate + "','" + HStartupDate + "','" + HStatus + "'," + HEquipFileTypeID + ",'" + HProNum + "','" + HBarCode + "','" + HWorkArea + "','" + HLogo + "'," + HSellSupID + "," + HMakeSupID + ",'3308','" + HDate + "','" + HYear + "','" + HMaker + "','" + HMakeDate + "','" + HEquipMaintainRuleInterID + "','" + HEquipDotCheckRuleInterID +"'," + HSourceID + ",'" + HMainSourceFlag + "','" + HMacAddress + "','" + HMainSourceID + "')", ref DBUtility.ClsPub.sExeReturnInfo); //淇敼涓婄骇涓洪潪鏈骇浠g爜 + objJsonResult = AddBillSub(msg3, msg4, HInterID, hbillno, 1); oCN.Commit(); - objJsonResult.code = "1"; - objJsonResult.count = 1; - objJsonResult.Message = "鏂板鎴愬姛锛�"; //objJsonResult.data = null; return objJsonResult; } @@ -271,11 +314,12 @@ var _value = oMain["oMain"].ToString(); string msg1 = _value.ToString(); string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); - string msg2 = sArray[0].ToString(); - string msg3 = sArray[1].ToString(); - string msg4 = sArray[2].ToString(); + string msg2 = sArray[0].ToString(); //涓昏〃鏁版嵁 + string msg3 = sArray[1].ToString(); //瀛愯〃1 + string msg4 = sArray[2].ToString(); //瀛愯〃2 + string msg5 = sArray[3].ToString(); //鐢ㄦ埛 - if (!DBUtility.ClsPub.Security_Log("Gy_EquipFile_Edit", 1, false, msg4)) + if (!DBUtility.ClsPub.Security_Log("Gy_EquipFile_Edit", 1, false, msg5)) { objJsonResult.code = "0"; objJsonResult.count = 0; @@ -315,7 +359,7 @@ string HMainSourceFlag = list[0].HMainSourceFlag; //varchar(10) //鏄惁涓荤敓浜ц澶�(鍚︼紝鏄�) string HMacAddress = list[0].HMacAddress; // varchar(50) //鏁伴噰鐗╃悊鍦板潃 int HMainSourceID = list[0].HMainSourceID; //int //鎵�灞炰富鐢熶骇璁惧锛圙y_EquipFileBillMain锛� - string HUpDater = msg4; + string HUpDater = msg5; string HUpDateDate = DateTime.Now.Date.ToString(); int HEquipDotCheckRuleInterID = list[0].HEquipDotCheckRuleInterID; int HEquipMaintainRuleInterID = list[0].HEquipMaintainRuleInterID; @@ -382,10 +426,8 @@ //淇敼瀛愰」鐩唬鐮� //oCN.RunProc("exec h_p_Gy_UpdateNumber Gy_RepairCheck,'" + HNumber + ".','" + this.HOldNumber + ".'", ref DBUtility.ClsPub.sExeReturnInfo); // + objJsonResult = AddBillSub(msg3, msg4, HInterID, list[0].HBillNo, 2); oCN.Commit(); - objJsonResult.code = "1"; - objJsonResult.count = 1; - objJsonResult.Message = "淇敼鎴愬姛锛�"; //objJsonResult.data = null; return objJsonResult; } @@ -398,6 +440,110 @@ objJsonResult.data = null; return objJsonResult; } + } + #endregion + + #region 璁惧妗f淇濆瓨瀛愯〃鏁版嵁 + /// <summary> + /// 瀛愯〃鏁版嵁鏂板鎴栬�呯紪杈� + /// </summary> + /// <param name="msg3"></param> + /// <param name="msg4"></param> + /// <param name="HInterID"></param> + /// <param name="HBillNo"></param> + /// <param name="OperationType">1涓烘坊鍔�2涓虹紪杈�</param> + /// <returns></returns> + public json AddBillSub(string msg3, string msg4, long HInterID, string HBillNo, int OperationType) + { + List<ClsGy_EquipFileBillSub_MaintainRule> MaintainRuleColl = Newtonsoft.Json.JsonConvert.DeserializeObject<List<ClsGy_EquipFileBillSub_MaintainRule>>(msg3); + + List<ClsGy_EquipFileBillSub_DotCheckRule> DotCheckRuleColl = Newtonsoft.Json.JsonConvert.DeserializeObject<List<ClsGy_EquipFileBillSub_DotCheckRule>>(msg4); + if (OperationType == 2) + { + //鍒犻櫎瀛愯〃 + oCN.RunProc("delete from Gy_EquipFileBillSub_MaintainRule where HInterID = " + HInterID ); + oCN.RunProc("delete from Gy_EquipFileBillSub_DotCheckRule where HInterID = " + HInterID ); + } + int i = 0; + //淇濆瓨淇濆吇瑙勬牸 + foreach (ClsGy_EquipFileBillSub_MaintainRule oSub in MaintainRuleColl) + { + i++; + if (oSub.HMaintainRuleID <= 0 || oSub.HMaintainRuleID == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "绗�" + i + "琛�,淇濆吇瑙勬牸涓嶈兘涓虹┖"; + objJsonResult.data = null; + throw new Exception("淇濆吇瑙勬牸涓嶈兘涓虹┖"); + } + DataSet Cs; + Int64 NewHEntryID = 1; + Int64 newHFlag = 1; + Cs = oCN.RunProcReturn("select MAX(HEntryID)HEntryID from Gy_EquipFileBillSub_MaintainRule", "Gy_EquipFileBillSub_MaintainRule"); + if (Cs.Tables[0].Rows.Count != 0 && ClsPub.isLong(Cs.Tables[0].Rows[0]["HEntryID"].ToString()) != 0) + { + NewHEntryID = ClsPub.isLong(Cs.Tables[0].Rows[0]["HEntryID"].ToString()); + NewHEntryID += 1; + } + if(oSub.HStdFlag == true) + { + newHFlag = 1; + } + else + { + newHFlag = 0; + } + oCN.RunProc($@"Insert into Gy_EquipFileBillSub_MaintainRule + (HInterID,HBillNo_bak,HEntryID,HRemark,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney, + HMaintainRuleID,HStdFlag + ) + values({HInterID},'{HBillNo}',{NewHEntryID},'{oSub.HRemark}',{oSub.HSourceInterID},{oSub.HSourceEntryID},'{oSub.HSourceBillNo}','{oSub.HSourceBillType}',{oSub.HRelationQty},{oSub.HRelationMoney} + ,{oSub.HMaintainRuleID},{newHFlag})"); + } + i = 0; + //淇濆瓨鐐规瑙勭▼ + foreach (ClsGy_EquipFileBillSub_DotCheckRule oSub in DotCheckRuleColl) + { + i++; + if (oSub.HDotCheckRuleID <= 0 || oSub.HDotCheckRuleID == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "绗�" + i + "琛�,鐐规瑙勭▼涓嶈兘涓虹┖"; + objJsonResult.data = null; + throw new Exception("鐐规瑙勭▼涓嶈兘涓虹┖"); + } + DataSet Cs; + Int64 NewHEntryID = 1; + Int64 newHFlag = 1; + Cs = oCN.RunProcReturn("select MAX(HEntryID)HEntryID from Gy_EquipFileBillSub_DotCheckRule", "Gy_EquipFileBillSub_DotCheckRule"); + if (Cs.Tables[0].Rows.Count != 0 && ClsPub.isLong(Cs.Tables[0].Rows[0]["HEntryID"].ToString()) != 0) + { + NewHEntryID = ClsPub.isLong(Cs.Tables[0].Rows[0]["HEntryID"].ToString()); + NewHEntryID += 1; + } + if (oSub.HStdFlag == true) + { + newHFlag = 1; + } + else + { + newHFlag = 0; + } + oCN.RunProc($@"Insert into Gy_EquipFileBillSub_DotCheckRule + (HInterID,HBillNo_bak,HEntryID,HRemark,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney, + HDotCheckRuleID,HStdFlag + ) + values({HInterID},'{HBillNo}',{NewHEntryID},'{oSub.HRemark}',{oSub.HSourceInterID},{oSub.HSourceEntryID},'{oSub.HSourceBillNo}','{oSub.HSourceBillType}',{oSub.HRelationQty},{oSub.HRelationMoney} + ,{oSub.HDotCheckRuleID},{newHFlag})"); + } + //淇敼涓婄骇涓洪潪鏈骇浠g爜 + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "淇濆瓨瀛愯〃鎴愬姛锛�"; + //objJsonResult.data = null; + return objJsonResult; } #endregion @@ -998,5 +1144,131 @@ } #endregion + #region 璁惧灞ュ巻鍒楄〃 + + [Route("Gy_EquipFileMain/GetResumeList")] + [HttpGet] + public object GetResumeList(string HInterID, string user) + { + try + { + List<object> columnNameList = new List<object>(); + if (!DBUtility.ClsPub.Security_Log("Gy_EquipFileList", 1, false, user)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "娌℃湁鏌ョ湅鏉冮檺"; + objJsonResult.data = null; + return objJsonResult; + } + + ds = oCN.RunProcReturn($@"select a.HInterID,a.HDate '鏃ユ湡',a.HBillType,x.HName 鍗曟嵁绫诲瀷,a.HBillNo as '鍗曟嵁鍙�', + CASE WHEN a.HBillStatus <= 1 THEN '鍒涘缓' WHEN a.HBillStatus = 2 THEN '宸插鏍�' WHEN a.HBillStatus = 3 AND + a.HCloseType = 0 THEN '鑷姩鍏抽棴' WHEN a.HBillStatus = 3 AND + a.HCloseType = 1 THEN '鎵嬪姩鍏抽棴' WHEN a.HBillStatus = 4 THEN '宸蹭綔搴�' ELSE '鍏跺畠鐘舵��' END AS 鍗曟嵁鐘舵��, + a.HMaker AS 鍒跺崟浜�, a.HMakeDate AS 鍒跺崟鏃ユ湡,a.HChecker AS 瀹℃牳浜�, a.HCheckDate AS 瀹℃牳鏃ユ湡, a.HUpDater AS 淇敼浜�, a.HUpDateDate AS 淇敼鏃ユ湡, + a.HCloseMan AS 鍏抽棴浜�, a.HCloseDate AS 鍏抽棴鏃ユ湡, a.HDeleteMan AS 浣滃簾浜�, a.HDeleteDate AS 浣滃簾鏃ユ湡 + from ( + select HInterID,HDate,HBillType,HBillNo,HBillStatus,HMaker,HMakeDate,HChecker,HCheckDate,HUpDater,HUpDateDate,HCloseMan,HCloseDate,HDeleteMan,HDeleteDate,HCloseType from Gy_EquipFileBillMain where HInterID = {HInterID} UNION ALL + select HInterID,HDate,HBillType,HBillNo,HBillStatus,HMaker,HMakeDate,HChecker,HCheckDate,HUpDater,HUpDateDate,HCloseMan,HCloseDate,HDeleteMan,HDeleteDate,HCloseType from Sb_EquipStockInCheckBillMain where HEquipID = {HInterID} UNION ALL + select HInterID,HDate,HBillType,HBillNo,HBillStatus,HMaker,HMakeDate,HChecker,HCheckDate,HUpDater,HUpDateDate,HCloseMan,HCloseDate,HDeleteMan,HDeleteDate,HCloseType from Sb_EquipDotCheckBillMain where HEquipID = {HInterID} UNION ALL + select HInterID,HDate,HBillType,HBillNo,HBillStatus,HMaker,HMakeDate,HChecker,HCheckDate,HUpDater,HUpDateDate,HCloseMan,HCloseDate,HDeleteMan,HDeleteDate,HCloseType from Sb_EquipMaintainBillMain where HEquipID = {HInterID} UNION ALL + select HInterID,HDate,HBillType,HBillNo,HBillStatus,HMaker,HMakeDate,HChecker,HCheckDate,HUpDater,HUpDateDate,HCloseMan,HCloseDate,HDeleteMan,HDeleteDate,HCloseType from Sb_EquipRepairWorkBillMain where HEquipID = {HInterID} UNION ALL + select HInterID,HDate,HBillType,HBillNo,HBillStatus,HMaker,HMakeDate,HChecker,HCheckDate,HUpDater,HUpDateDate,HCloseMan,HCloseDate,HDeleteMan,HDeleteDate,HCloseType from Sb_EquipConkBookBillMain where HEquipID = {HInterID} + )as a,Xt_BillType as x + where a.HBillType = x.HNumber + ORDER BY '鏃ユ湡' ASC;", "h_v_Gy_EquipFileMainList"); + + //娣诲姞鍔ㄦ�佸垪淇℃伅 + 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));//鑾峰彇鍒癉ataColumn鍒楀璞$殑鍒楀悕 + } + + 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 + + #region 鍣ㄥ叿灞ュ巻鍒楄〃 + + [Route("Gy_MouldFileMain/GetMouldResumeList")] + [HttpGet] + public object GetMouldResumeList(string HInterID, string user) + { + try + { + List<object> columnNameList = new List<object>(); + if (!DBUtility.ClsPub.Security_Log("Gy_MouldFileList", 1, false, user)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "娌℃湁鏌ョ湅鏉冮檺"; + objJsonResult.data = null; + return objJsonResult; + } + + ds = oCN.RunProcReturn($@"select a.HInterID,a.HDate '鏃ユ湡',a.HBillType,x.HName 鍗曟嵁绫诲瀷,a.HBillNo as '鍗曟嵁鍙�', + CASE WHEN a.HBillStatus <= 1 THEN '鍒涘缓' WHEN a.HBillStatus = 2 THEN '宸插鏍�' WHEN a.HBillStatus = 3 AND + a.HCloseType = 0 THEN '鑷姩鍏抽棴' WHEN a.HBillStatus = 3 AND + a.HCloseType = 1 THEN '鎵嬪姩鍏抽棴' WHEN a.HBillStatus = 4 THEN '宸蹭綔搴�' ELSE '鍏跺畠鐘舵��' END AS 鍗曟嵁鐘舵��, + a.HMaker AS 鍒跺崟浜�, a.HMakeDate AS 鍒跺崟鏃ユ湡,a.HChecker AS 瀹℃牳浜�, a.HCheckDate AS 瀹℃牳鏃ユ湡, a.HUpDater AS 淇敼浜�, a.HUpDateDate AS 淇敼鏃ユ湡, + a.HCloseMan AS 鍏抽棴浜�, a.HCloseDate AS 鍏抽棴鏃ユ湡, a.HDeleteMan AS 浣滃簾浜�, a.HDeleteDate AS 浣滃簾鏃ユ湡 + from ( + select HInterID,HDate,HBillType,HBillNo,HBillStatus,HMaker,HMakeDate,HChecker,HCheckDate,HUpDater,HUpDateDate,HCloseMan,HCloseDate,HDeleteMan,HDeleteDate,HCloseType from Gy_MouldFileMain where HInterID = {HInterID} UNION ALL + select HInterID,HDate,HBillType,HBillNo,HBillStatus,HMaker,HMakeDate,HChecker,HCheckDate,HUpDater,HUpDateDate,HCloseMan,HCloseDate,HDeleteMan,HDeleteDate,HCloseType from Sc_MouldDotCheckBillMain where HMouldID = {HInterID} UNION ALL + select HInterID,HDate,HBillType,HBillNo,HBillStatus,HMaker,HMakeDate,HChecker,HCheckDate,HUpDater,HUpDateDate,HCloseMan,HCloseDate,HDeleteMan,HDeleteDate,HCloseType from Sc_MouldMaintainBillMain where HMouldID = {HInterID} UNION ALL + select HInterID,HDate,HBillType,HBillNo,HBillStatus,HMaker,HMakeDate,HChecker,HCheckDate,HUpDater,HUpDateDate,HCloseMan,HCloseDate,HDeleteMan,HDeleteDate,HCloseType from Sc_MouldRepairWorkBillMain where HMouldID = {HInterID} UNION ALL + select HInterID,HDate,HBillType,HBillNo,HBillStatus,HMaker,HMakeDate,HChecker,HCheckDate,HUpDater,HUpDateDate,HCloseMan,HCloseDate,HDeleteMan,HDeleteDate,HCloseType from Sc_MouldConkBookBillMain where HMouldID = {HInterID} UNION ALL + select a.HInterID,a.HDate,a.HBillType,a.HBillNo,a.HBillStatus,a.HMaker,a.HMakeDate,a.HChecker,a.HCheckDate,a.HUpDater,a.HUpDateDate,a.HCloseMan,a.HCloseDate,a.HDeleteMan,a.HDeleteDate,a.HCloseType + from Sc_MouldStockBillMain as a,Sc_MouldStockBillSub as b + where a.HInterID = b.HInterID and b.HMaterID = {HInterID} and HBillType in ('3801','3829','3826','3831','3827') + )as a,Xt_BillType as x + where a.HBillType = x.HNumber + ORDER BY '鏃ユ湡' ASC;", "Gy_MouldFileResume"); + + //娣诲姞鍔ㄦ�佸垪淇℃伅 + 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));//鑾峰彇鍒癉ataColumn鍒楀璞$殑鍒楀悕 + } + + 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 + } } diff --git a/WebAPI/Controllers/SBGL/Sb_EquipBeginBillController.cs b/WebAPI/Controllers/SBGL/Sb_EquipBeginBillController.cs index 5edf029..1e3c9a8 100644 --- a/WebAPI/Controllers/SBGL/Sb_EquipBeginBillController.cs +++ b/WebAPI/Controllers/SBGL/Sb_EquipBeginBillController.cs @@ -210,7 +210,7 @@ oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); oItem.HPeriod = DBUtility.ClsPub.isLong(DateTime.Now.Month); - oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); + oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now); if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") { diff --git a/WebAPI/Controllers/SBGL/Sb_EquipStopBillController.cs b/WebAPI/Controllers/SBGL/Sb_EquipStopBillController.cs index 8385d23..7c15bc8 100644 --- a/WebAPI/Controllers/SBGL/Sb_EquipStopBillController.cs +++ b/WebAPI/Controllers/SBGL/Sb_EquipStopBillController.cs @@ -210,7 +210,7 @@ oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); oItem.HPeriod = DBUtility.ClsPub.isLong(DateTime.Now.Month); - oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); + oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now); if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") { diff --git a/WebAPI/Controllers/SCGL/Sc_MESTransFerWorkBillController.cs b/WebAPI/Controllers/SCGL/Sc_MESTransFerWorkBillController.cs index 3f55bdf..1ba08b5 100644 --- a/WebAPI/Controllers/SCGL/Sc_MESTransFerWorkBillController.cs +++ b/WebAPI/Controllers/SCGL/Sc_MESTransFerWorkBillController.cs @@ -159,7 +159,16 @@ //string[] arrStr = oItem.HSendMan.Split(','); //鍙戦�佷汉 //arrStr = oItem.HReceiveMan.Split(','); //鎺ユ敹浜� - string[] arrStr = oItem.HCopyMan.Split(','); //鎶勯�佷汉 + string[] arrStr; + + if (string.IsNullOrEmpty(oItem.HCopyMan)) + { + arrStr = new string[0]; // 濡傛灉 oItem.HCopyMan 涓虹┖锛屽垯璧嬪�间负绌烘暟缁� + } + else + { + arrStr = oItem.HCopyMan.Split(','); // 鍚﹀垯锛屼娇鐢� Split(',') 鏂规硶鎷嗗垎瀛楃涓� + } List<string> b = new List<string>(arrStr); b.Add(oItem.HSendMan); b.Add(oItem.HReceiveMan); @@ -176,6 +185,7 @@ } oBill.DetailColl2.Add(sb); } + oBill.omodel = oItem; } @@ -185,7 +195,7 @@ bool bResult; if (refSav == "Add") { - bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); if (bResult) { objJsonResult.HInterID = DBUtility.ClsPub.sExeReturnInfo; //杩斿洖涓籌D @@ -201,9 +211,8 @@ { objJsonResult.Verify = "N"; } - } - } - SaveOA_ErrMsgBackBillSub(msg2);//绗竴娆′繚瀛樺彂閫侀拤閽� + } + } } else @@ -522,14 +531,15 @@ A.HQty,A.HSendType, A.HDeptID,D.HName HDeptName, A.HSendMan, A.HReceiveMan,A.HCopyMan,A.HHasten, - A.HLevel,A.HMaterName,A.HMaterModel, + A.HLevel,A.HMaterNumber,A.HMaterName,A.HMaterModel, B.HReadFlag, A.HMaker,A.HMakeDate,A.HUpDater,A.HUpDateDate,A.HChecker,A.HCheckDate,A.HCloseMan,A.HCloseDate,A.HDeleteMan,A.HDeleteDate, A.HSourceInterID,A.HSourceEntryID,A.HSourceBillNo,A.HSourceBillType, - A.HHandleEmpID,f.HName HHandleEmpName + A.HHandleEmpID,f.HName HHandleEmpName,A.HErrMsgBackTypeID,g.HName HErrMsgBackTypeName from OA_ErrMsgBackBillMain A inner join OA_ErrMsgBackBillSub2 B on A.HInterID=B.HInterID left join Gy_Department D on A.HDeptID=D.HItemID - left join Gy_Employee f on A.HHandleEmpID=f.HItemID + left join Gy_Employee f on A.HHandleEmpID=f.HItemID + left join Gy_ErrMsgBackType g on A.HErrMsgBackTypeID=g.HItemID where A.HInterID='" + HID + "' and b.HEntryID='" + HEntryID + "'"); var dataSet = oCN.RunProcReturn(sql, "OA_ErrMsgBackBillMain"); if (dataSet == null || dataSet.Tables[0].Rows.Count == 0) @@ -1018,6 +1028,7 @@ { bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + _ = SendDingDingAsync(oBill.omodel.HSendMan, oBill.omodel.HHandleEmpID,oBill.omodel.HDescription,""); } else if (refSav == "Update") { @@ -1992,6 +2003,7 @@ { bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + _ = SendDingDingAsync(oBill.omodel.HSendMan, 1, oBill.omodel.HDescription, oBill.omodel.HReceiveMan); } else if (refSav == "Update") { @@ -2908,6 +2920,7 @@ { bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + _ = SendDingDingAsync(oBill.omodel.HSendMan, 1, oBill.omodel.HDescription, oBill.omodel.HReceiveMan); } else if (refSav == "Update") { @@ -3821,6 +3834,7 @@ { bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + _ = SendDingDingAsync(oBill.omodel.HReceiveMan, 0, oBill.omodel.HDescription, oBill.omodel.HCopyMan); } else if (refSav == "Update") { @@ -4800,8 +4814,8 @@ { List<object> columnNameList = new List<object>(); - string sql = "select * from h_v_OA_AndengFlowRuleBillMainList where hmainid='" + HID + "'"; - ds = oCN.RunProcReturn(sql, "h_v_OA_AndengFlowRuleBillMainList"); + string sql = "select * from h_v_OA_AndengFlowRuleBillMainEdit where hmainid='" + HID + "'"; + ds = oCN.RunProcReturn(sql, "h_v_OA_AndengFlowRuleBillMainEdit"); //娣诲姞鍒楀悕 foreach (DataColumn col in ds.Tables[0].Columns) @@ -6597,56 +6611,391 @@ #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寰楀埌鐨勫崟鎹甀D - 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; - } - + #region 寮傚父鍙嶉 鎺ユ敹,澶勭悊,楠屾敹鍗曚繚瀛樺彂閫佹秷鎭� /// <summary> - /// 寮傚父鍙嶉鍗曠涓�娆′繚瀛樼殑鏃跺�欒繘琛屽彂閫佹秷鎭� + /// 寮傚父鍙嶉 鎺ユ敹,澶勭悊,楠屾敹鍗曚繚瀛樺彂閫佹秷鎭� /// </summary> - /// <param name="HReceiveMan"></param> + /// <param name="HSendMan"></param> + /// <param name="HHandleEmpID"></param> /// <param name="HDescription"></param> - public async void FistDingDingMesAsync(string HReceiveMan, string HDescription) + /// <param name="HCopyMan"></param> + /// <returns></returns> + public async Task<object> SendDingDingAsync(string HSendMan, int HHandleEmpID,string HDescription,string HCopyMan) { - - ds = oCN.RunProcReturn("select * from Gy_Czygl where Czymc='" + HReceiveMan + "'", "Gy_Czygl"); - string DDUserID = ds.Tables[0].Rows[0]["DDUserID"].ToString(); //閽夐拤鐢ㄦ埛鐨刬d + string concatenatedNames = ""; Cls_DDMsg msg = new Cls_DDMsg(); string appKey = "dingrsrzhdyn3mlaof95"; string appSecret = "RAqH6YtZnPLCpDbuqfaYQkKkVtVdS0wqfC8I26X6qiS-8eoCJCNrzx3fubGND4Sq"; + //鏂帿灏� + //string appKey = "dingkdddbhdcssk7jduw"; + //string appSecret = "iv07c-GLfJPnzfJaNAAOfJDl3Z-eODvDAhlInMZCZhGorkle5Evbaxx3ImylvdjQ"; + if (HHandleEmpID==0) //寮傚父鍙嶉楠屾敹鍗曚繚瀛� 灏嗘秷鎭� 鍙戦�佺粰 鎺ユ敹浜猴紝鎸囨淳澶勭悊浜猴紝鍏ㄩ儴鎶勯�佷汉 + { + string HReceiveMan = HSendMan; + string[] names = HCopyMan.Split(','); + string sqlNames = ""; + foreach (string name in names) + { + sqlNames += "'" + name.Trim() + "',"; + } + sqlNames = sqlNames.TrimEnd(','); + //鑾峰彇鎸囨淳澶勭悊浜�,鍙戦�佷汉鐨勯拤閽塱d + string sql1 = "select HDingDingUserID 閽夐拤id from Gy_Czygl where Czymc in ('" + HReceiveMan + "'," + sqlNames + ")"; + ds = oCN.RunProcReturn(sql1, "Gy_Czygl"); + List<string> HNames = new List<string>(); + for (int i = 0; i < ds.Tables[0].Rows.Count; i++) + { + string HName = ds.Tables[0].Rows[i]["閽夐拤id"].ToString(); + HNames.Add(HName); + + } + concatenatedNames = string.Join(",", HNames); + } + else if (HHandleEmpID==1)//寮傚父鍙嶉绛惧埌鍗�,寮傚父鍙嶉澶勭悊鍗� 灏嗘秷鎭� 鍙戦�佺粰 鍙戦�佷汉锛屾帴鏀朵汉 + { + //鑾峰彇鍙戦�佷汉 鎺ユ敹浜� + string HReceiveMan = HCopyMan; + string sql1 = "select HDingDingUserID 閽夐拤id from Gy_Czygl where Czymc in ('" + HSendMan + "','" + HReceiveMan + "')"; + ds = oCN.RunProcReturn(sql1, "Gy_Czygl"); + List<string> HNames = new List<string>(); + for (int i = 0; i < ds.Tables[0].Rows.Count; i++) + { + string HName = ds.Tables[0].Rows[i]["閽夐拤id"].ToString(); + HNames.Add(HName); + + } + concatenatedNames = string.Join(",", HNames); + } + else + { + //鏌ヨ鎸囨淳澶勭悊浜� + string sql = "select HName from Gy_Employee where HItemID='" + HHandleEmpID + "'"; + ds = oCN.RunProcReturn(sql, "Gy_Employee"); + string HHandleEmpName = ds.Tables[0].Rows[0]["HName"].ToString(); + //鑾峰彇鎸囨淳澶勭悊浜�,鍙戦�佷汉鐨勯拤閽塱d + string sql1 = "select HDingDingUserID 閽夐拤id from Gy_Czygl where Czymc in ('" + HSendMan + "','" + HHandleEmpName + "')"; + ds = oCN.RunProcReturn(sql1, "Gy_Czygl"); + List<string> HNames = new List<string>(); + for (int i = 0; i < ds.Tables[0].Rows.Count; i++) + { + string HName = ds.Tables[0].Rows[i]["閽夐拤id"].ToString(); + HNames.Add(HName); + + } + concatenatedNames = string.Join(",", HNames); + } + //鑾峰彇浼佷笟鐨刟ccess_token鐨勫�� string response = msg.GetAccessToken(appKey, appSecret); JObject responseJson = JObject.Parse(response); // 鑾峰彇access_token鐨勫�� string accessToken = responseJson["accessToken"].ToString(); + //璋冪敤鏂规硶鍙戦�佹秷鎭� - string agentId = "3118119317"; //浼佷笟鍐呴儴灏忕▼搴廼d + string agentId = "3118119317";//閽夐拤鍚庡彴寤虹珛鐨勫皬绋嬪簭id + string userIdList = concatenatedNames;//閽夐拤浜哄憳鐨刬d string deptIdList = "0"; // 绌哄瓧绗︿覆琛ㄧず涓嶆寚瀹氶儴闂� string toAllUser = "false"; - string message = HDescription;//寮傚父鍙嶉鍗曠殑鍐呭 - response = await msg.SendTextMessage(accessToken, agentId, DDUserID, deptIdList, toAllUser, message); - Console.WriteLine($"鍒濆娑堟伅鍙戦�佺粨鏋�: {response}"); - } + string message = HDescription; + response = await msg.SendTextMessage(accessToken, agentId, userIdList, deptIdList, toAllUser, message); + Console.WriteLine(response); + return response; + } + #endregion + #region 寮傚父鍙嶉鍗曟煡璇紙鎺ユ敹鐨勶紝鍙戦�佺殑锛屾妱閫佺殑锛� + + [Route("Sc_MESTransFerWorkBill/GetSc_MESTransFerWorkBillQuery")] + [HttpGet] + public object GetSc_MESTransFerWorkBillQuery(string user) + { + try + { + List<object> columnNameList = new List<object>(); + + ds = oCN.RunProcReturn("exec h_p_OA_ErrMsgBackSelfQuery " + user, "h_p_OA_ErrMsgBackSelfQuery"); + + if (ds.Tables[0].Rows.Count != 0 || ds != null) + { + //娣诲姞鍒楀悕 + 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));//鑾峰彇鍒癉ataColumn鍒楀璞$殑鍒楀悕 + } + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "Sucess锛�"; + objJsonResult.data = ds; + objJsonResult.list = columnNameList; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鏃犳暟鎹�"; + objJsonResult.data = null; + return objJsonResult; + } + + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "Exception锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + #endregion + + #region 鎶ュ伐鍙拌烦杞紓甯稿弽棣堝崟 寮圭獥鑾峰彇鐢熶骇鐘舵�佷复鏃惰〃鐨� 鐗╂枡 鏁伴噺 淇℃伅 + + [Route("Sc_MESTransFerWorkBill/Get_Sc_ICMOBillStatus")] + [HttpGet] + public object Get_Sc_ICMOBillStatus(string HSourceBill) + { + try + { + List<object> columnNameList = new List<object>(); + + string sql = "select a.HSourceBillNo 娴佽浆鍗″彿,a.HSourceBillType 娴佽浆鍗$被鍨�,a.HSourceInterID 娴佽浆鍗′富鍐呯爜,a.HSourceEntryID 娴佽浆鍗″瓙鍐呯爜,b.HNumber 鐗╂枡浠g爜,b.HName 鐗╂枡鍚嶇О,b.HModel 瑙勬牸鍨嬪彿,a.HPlanQty 璁″垝鏁伴噺 from Sc_ICMOBillStatus_Tmp a left join Gy_Material b on a.HMaterID=b.HItemID where HSourceBillNo='" + HSourceBill + "'"; + ds = oCN.RunProcReturn(sql, "Sc_ICMOBillStatus_Tmp"); + + //娣诲姞鍒楀悕 + 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));//鑾峰彇鍒癉ataColumn鍒楀璞$殑鍒楀悕 + } + + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "Sucess锛�"; + objJsonResult.data = ds.Tables[0]; + objJsonResult.list = columnNameList; + return objJsonResult; + } + catch (Exception ex) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鏌ヨ鏁版嵁寮傚父锛岃涓庣鐞嗗憳鑱旂郴锛�" + ex.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + #endregion + + #region 鎶ュ伐鍙拌烦杞紓甯稿弽棣堝崟 寮圭獥鑾峰彇 寮傚父绫诲瀷 + + [Route("Sc_MESTransFerWorkBill/Get_ErrMsgBackType")] + [HttpGet] + public object Get_ErrMsgBackType(string TypeName) + { + try + { + List<object> columnNameList = new List<object>(); + + string sql = "select HItemID,HName from Gy_ErrMsgBackType where HName='" + TypeName + "'"; + ds = oCN.RunProcReturn(sql, "Gy_ErrMsgBackType"); + + //娣诲姞鍒楀悕 + 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));//鑾峰彇鍒癉ataColumn鍒楀璞$殑鍒楀悕 + } + + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "Sucess锛�"; + objJsonResult.data = ds.Tables[0]; + objJsonResult.list = columnNameList; + return objJsonResult; + } + catch (Exception ex) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鏌ヨ鏁版嵁寮傚父锛岃涓庣鐞嗗憳鑱旂郴锛�" + ex.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + #endregion + + #region 鎶ュ伐鍙拌烦杞紓甯稿弽棣堝崟 寮圭獥鑾峰彇 褰撳墠浜虹殑涓婄骇 + + [Route("Sc_MESTransFerWorkBill/Get_UserSuperiors")] + [HttpGet] + public object Get_UserSuperiors(string HName) + { + try + { + List<object> columnNameList = new List<object>(); + //鏍规嵁褰撳墠浜鸿幏鍙栬亴鍔� + string sql = "select a.Czymc 鐢ㄦ埛鍚嶇О,c.GroupName 鑱屽姟 from Gy_Czygl a left join System_UserGroupInfo b on a.Czybm = b.UserId left join System_UserGroup c on b.GroupId = c.GroupID where a.Czymc = '"+HName+"'"; + ds = oCN.RunProcReturn(sql, "Gy_ErrMsgBackType"); + string Job = ds.Tables[0].Rows[0]["鑱屽姟"].ToString(); + //鏍规嵁鑱屽姟鎵惧埌浠栫殑涓婄骇 + string sql1 = "select * from Gy_Duty where HParentID=(select HParentID from Gy_Duty where HItemID =(select HParentID from Gy_Duty group by HParentID, HName having HName = '"+Job+"' and count(*) = 1))"; + ds = oCN.RunProcReturn(sql1, "Gy_Duty"); + string Job1= ds.Tables[0].Rows[0]["HName"].ToString(); + //鐢ㄤ笂绾х殑鑱屽姟鎵惧埌鐢ㄦ埛 + string sql2 = "select a.Czymc 鐢ㄦ埛鍚嶇О from Gy_Czygl a left join System_UserGroupInfo b on a.Czybm = b.UserId left join System_UserGroup c on b.GroupId = c.GroupID where c.GroupName = '"+Job1+"'"; + ds = oCN.RunProcReturn(sql2, "Gy_Czygl"); + //娣诲姞鍒楀悕 + 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));//鑾峰彇鍒癉ataColumn鍒楀璞$殑鍒楀悕 + } + + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "Sucess锛�"; + objJsonResult.data = ds.Tables[0]; + objJsonResult.list = columnNameList; + return objJsonResult; + } + catch (Exception ex) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鏌ヨ鏁版嵁寮傚父锛岃涓庣鐞嗗憳鑱旂郴锛�" + ex.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + #endregion + + #region 寮傚父鍙嶉鍗� 璺熻釜鏌ヨ + [Route("Sc_MESTransFerWorkBill/GetErrMsgBackResumeList")] + [HttpGet] + public object GetErrMsgBackResumeList(string HInterID, string user) + { + try + { + List<object> columnNameList = new List<object>(); + if (!DBUtility.ClsPub.Security_Log("OA_ErrMsgBackBill_Query", 1, false, user)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "娌℃湁鏌ョ湅鏉冮檺"; + objJsonResult.data = null; + return objJsonResult; + } + + ds = oCN.RunProcReturn($@"select a.HInterID,a.HDate '鏃ユ湡',a.HBillType,x.HName 鍗曟嵁绫诲瀷,a.HBillNo as '鍗曟嵁鍙�', + CASE WHEN a.HBillStatus <= 1 THEN '鍒涘缓' WHEN a.HBillStatus = 2 THEN '宸插鏍�' WHEN a.HBillStatus = 3 AND + a.HCloseType = 0 THEN '鑷姩鍏抽棴' WHEN a.HBillStatus = 3 AND + a.HCloseType = 1 THEN '鎵嬪姩鍏抽棴' WHEN a.HBillStatus = 4 THEN '宸蹭綔搴�' ELSE '鍏跺畠鐘舵��' END AS 鍗曟嵁鐘舵��, + a.HSendMan AS 鍙戦�佷汉,a.HReceiveMan AS 鎺ユ敹浜�,a.HCopyMan AS 鎶勯�佷汉,a.HLevel AS 绱ф�ョ▼搴�,a.HContext AS 涓婚,a.HDescription AS 鍐呭,a.HErrMsgBackTypeID,b.HName AS 寮傚父绫诲瀷, + a.HMaker AS 鍒跺崟浜�, a.HMakeDate AS 鍒跺崟鏃ユ湡,a.HChecker AS 瀹℃牳浜�, a.HCheckDate AS 瀹℃牳鏃ユ湡, a.HUpDater AS 淇敼浜�, a.HUpDateDate AS 淇敼鏃ユ湡, + a.HCloseMan AS 鍏抽棴浜�, a.HCloseDate AS 鍏抽棴鏃ユ湡, a.HDeleteMan AS 浣滃簾浜�, a.HDeleteDate AS 浣滃簾鏃ユ湡 + from ( + select HInterID,HDate,HBillType,HBillNo,HBillStatus,HMaker,HMakeDate,HChecker,HCheckDate,HUpDater,HUpDateDate,HCloseMan,HCloseDate,HDeleteMan,HDeleteDate,HCloseType,HSendMan,HReceiveMan,HCopyMan,HLevel,HContext,HDescription,HErrMsgBackTypeID from OA_ErrMsgBackBillMain where HInterID = {HInterID} UNION ALL + select HInterID,HDate,HBillType,HBillNo,HBillStatus,HMaker,HMakeDate,HChecker,HCheckDate,HUpDater,HUpDateDate,HCloseMan,HCloseDate,HDeleteMan,HDeleteDate,HCloseType,HSendMan,HReceiveMan,HCopyMan,HLevel,HContext,HDescription,HErrMsgBackTypeID from OA_ErrMsgBackReceiveBillMain where HMainSourceInterID = {HInterID} UNION ALL + select HInterID,HDate,HBillType,HBillNo,HBillStatus,HMaker,HMakeDate,HChecker,HCheckDate,HUpDater,HUpDateDate,HCloseMan,HCloseDate,HDeleteMan,HDeleteDate,HCloseType,HSendMan,HReceiveMan,HCopyMan,HLevel,HContext,HDescription,HErrMsgBackTypeID from OA_ErrMsgBackSignBillMain where HErrMsgBackInterID = {HInterID} UNION ALL + select HInterID,HDate,HBillType,HBillNo,HBillStatus,HMaker,HMakeDate,HChecker,HCheckDate,HUpDater,HUpDateDate,HCloseMan,HCloseDate,HDeleteMan,HDeleteDate,HCloseType,HSendMan,HReceiveMan,HCopyMan,HLevel,HContext,HDescription,HErrMsgBackTypeID from OA_ErrMsgBackHandleBillMain where HErrMsgBackInterID = {HInterID} UNION ALL + select HInterID,HDate,HBillType,HBillNo,HBillStatus,HMaker,HMakeDate,HChecker,HCheckDate,HUpDater,HUpDateDate,HCloseMan,HCloseDate,HDeleteMan,HDeleteDate,HCloseType,HSendMan,HReceiveMan,HCopyMan,HLevel,HContext,HDescription,HErrMsgBackTypeID from OA_ErrMsgBackCheckBillMain where HErrMsgBackInterID = {HInterID} + )as a,Xt_BillType as x,Gy_ErrMsgBackType as b + where a.HBillType = x.HNumber and a.HErrMsgBackTypeID = b.HItemID + ORDER BY '鏃ユ湡' ASC;", "OA_ErrMsgBackBillResume"); + + //娣诲姞鍔ㄦ�佸垪淇℃伅 + 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));//鑾峰彇鍒癉ataColumn鍒楀璞$殑鍒楀悕 + } + + 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 + + #region 寮傚父鍙嶉鍗� 璺熻釜鏉′欢鏌ヨ + [Route("Sc_MESTransFerWorkBill/GetErrMsgBackResumeList")] + [HttpGet] + public object GetErrMsgBackResumeList(string HInterID,string sWhere,string user) + { + try + { + List<object> columnNameList = new List<object>(); + if (!DBUtility.ClsPub.Security_Log("OA_ErrMsgBackBill_Query", 1, false, user)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "娌℃湁鏌ョ湅鏉冮檺"; + objJsonResult.data = null; + return objJsonResult; + } + + ds = oCN.RunProcReturn($@"select * from + (select a.HInterID,a.HDate '鏃ユ湡',a.HBillType,x.HName 鍗曟嵁绫诲瀷,a.HBillNo as '鍗曟嵁鍙�', + CASE WHEN a.HBillStatus <= 1 THEN '鍒涘缓' WHEN a.HBillStatus = 2 THEN '宸插鏍�' WHEN a.HBillStatus = 3 AND + a.HCloseType = 0 THEN '鑷姩鍏抽棴' WHEN a.HBillStatus = 3 AND + a.HCloseType = 1 THEN '鎵嬪姩鍏抽棴' WHEN a.HBillStatus = 4 THEN '宸蹭綔搴�' ELSE '鍏跺畠鐘舵��' END AS 鍗曟嵁鐘舵��, + a.HSendMan AS 鍙戦�佷汉,a.HReceiveMan AS 鎺ユ敹浜�,a.HCopyMan AS 鎶勯�佷汉,a.HLevel AS 绱ф�ョ▼搴�,a.HContext AS 涓婚,a.HDescription AS 鍐呭,a.HErrMsgBackTypeID,b.HName AS 寮傚父绫诲瀷, + a.HMaker AS 鍒跺崟浜�, a.HMakeDate AS 鍒跺崟鏃ユ湡,a.HChecker AS 瀹℃牳浜�, a.HCheckDate AS 瀹℃牳鏃ユ湡, a.HUpDater AS 淇敼浜�, a.HUpDateDate AS 淇敼鏃ユ湡, + a.HCloseMan AS 鍏抽棴浜�, a.HCloseDate AS 鍏抽棴鏃ユ湡, a.HDeleteMan AS 浣滃簾浜�, a.HDeleteDate AS 浣滃簾鏃ユ湡 + from ( + select HInterID,HDate,HBillType,HBillNo,HBillStatus,HMaker,HMakeDate,HChecker,HCheckDate,HUpDater,HUpDateDate,HCloseMan,HCloseDate,HDeleteMan,HDeleteDate,HCloseType,HSendMan,HReceiveMan,HCopyMan,HLevel,HContext,HDescription,HErrMsgBackTypeID from OA_ErrMsgBackBillMain where HInterID = {HInterID} UNION ALL + select HInterID,HDate,HBillType,HBillNo,HBillStatus,HMaker,HMakeDate,HChecker,HCheckDate,HUpDater,HUpDateDate,HCloseMan,HCloseDate,HDeleteMan,HDeleteDate,HCloseType,HSendMan,HReceiveMan,HCopyMan,HLevel,HContext,HDescription,HErrMsgBackTypeID from OA_ErrMsgBackReceiveBillMain where HMainSourceInterID = {HInterID} UNION ALL + select HInterID,HDate,HBillType,HBillNo,HBillStatus,HMaker,HMakeDate,HChecker,HCheckDate,HUpDater,HUpDateDate,HCloseMan,HCloseDate,HDeleteMan,HDeleteDate,HCloseType,HSendMan,HReceiveMan,HCopyMan,HLevel,HContext,HDescription,HErrMsgBackTypeID from OA_ErrMsgBackSignBillMain where HErrMsgBackInterID = {HInterID} UNION ALL + select HInterID,HDate,HBillType,HBillNo,HBillStatus,HMaker,HMakeDate,HChecker,HCheckDate,HUpDater,HUpDateDate,HCloseMan,HCloseDate,HDeleteMan,HDeleteDate,HCloseType,HSendMan,HReceiveMan,HCopyMan,HLevel,HContext,HDescription,HErrMsgBackTypeID from OA_ErrMsgBackHandleBillMain where HErrMsgBackInterID = {HInterID} UNION ALL + select HInterID,HDate,HBillType,HBillNo,HBillStatus,HMaker,HMakeDate,HChecker,HCheckDate,HUpDater,HUpDateDate,HCloseMan,HCloseDate,HDeleteMan,HDeleteDate,HCloseType,HSendMan,HReceiveMan,HCopyMan,HLevel,HContext,HDescription,HErrMsgBackTypeID from OA_ErrMsgBackCheckBillMain where HErrMsgBackInterID = {HInterID} + )as a,Xt_BillType as x,Gy_ErrMsgBackType as b + where a.HBillType = x.HNumber and a.HErrMsgBackTypeID = b.HItemID ) AS a where 1=1 " + sWhere + + @" ORDER BY 鏃ユ湡 ASC;", "OA_ErrMsgBackBillResume"); + + //娣诲姞鍔ㄦ�佸垪淇℃伅 + 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));//鑾峰彇鍒癉ataColumn鍒楀璞$殑鍒楀悕 + } + + 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 } } \ No newline at end of file diff --git a/WebAPI/Controllers/Sc_CheckToolsRepairWorkBillListController.cs b/WebAPI/Controllers/Sc_CheckToolsRepairWorkBillListController.cs index a47006f..c4ed243 100644 --- a/WebAPI/Controllers/Sc_CheckToolsRepairWorkBillListController.cs +++ b/WebAPI/Controllers/Sc_CheckToolsRepairWorkBillListController.cs @@ -18,6 +18,7 @@ public DataSet ds = new DataSet(); public SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); public WebServer webserver = new WebServer(); + Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter(); public DAL.ClsSc_MouldScrapInBill BillNew0 = new DAL.ClsSc_MouldScrapInBill(); //妯″叿鎶ュ簾鍏ュ簱瀵瑰簲鍗曟嵁绫� public DAL.ClsSc_MouldScrapInBill BillOld0 = new DAL.ClsSc_MouldScrapInBill(); //妯″叿鎶ュ簾鍏ュ簱瀵瑰簲鍗曟嵁绫� @@ -4318,7 +4319,209 @@ } #endregion - #region 鍣ㄥ叿鏀瑰埗鍏ュ簱鍗曚繚瀛�/缂栬緫 + #region 鍣ㄥ叿鏀瑰埗鍏ュ簱鍗曚繚瀛�/缂栬緫 20240702浣滃簾 + /// <summary> + /// 淇濆瓨鍣ㄥ叿鏀瑰埗鍏ュ簱鍗� + /// </summary> + /// <param name="msg"></param> + /// <returns></returns> + //[Route("Sc_MouldRepairInBill/SaveGetMouldRepairInBillList")] + //[HttpPost] + //public object SaveGetMouldRepairInBillList([FromBody] JObject msg) + //{ + // var _value = msg["msg"].ToString(); + // string msg1 = _value.ToString(); + // string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); + // string msg2 = sArray[0].ToString(); + // string msg3 = sArray[1].ToString(); + // string refSav = sArray[2].ToString(); + // string msg4 = sArray[3].ToString(); + + // string UserName = ""; + // string s = ""; + // ListModels oListModels = new ListModels(); + // try + // { + // //缂栬緫鏉冮檺 + // if (!DBUtility.ClsPub.Security_Log("Sc_MouldRepairIn_SingleBill_Edit", 1, false, msg4)) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "鏃犱繚瀛樻潈闄愶紒"; + // objJsonResult.data = null; + // return objJsonResult; + // } + + // DLL.ClsSc_MouldRepairInBill oBill = new DLL.ClsSc_MouldRepairInBill(); + // List<Models.ClsSc_MouldRepairInBillMain> lsmain = new List<Models.ClsSc_MouldRepairInBillMain>(); + // msg2 = msg2.Replace("\\", ""); + // msg2 = msg2.Replace("\n", ""); //\n + // lsmain = oListModels.getObjectByJson_Gy_MouldRepairInHouseBillMain(msg2); + // foreach (Models.ClsSc_MouldRepairInBillMain oItem in lsmain) + // { + // if (refSav == "Add") + // { + // //鍗曟嵁鍙锋槸鍚﹂噸澶� + // if (BillNew01.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, BillOld0.omodel.HInterID)) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "鍗曟嵁鍙烽噸澶嶏紒涓嶅厑璁镐繚瀛橈紒"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // } + // if (refSav == "Update") + // { + // if (BillOld01.ShowBill(oItem.HInterID, ref s) == false) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "姝ゅ崟鎹湁璇紒"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // //鍒ゆ柇鏄惁鍙紪杈� + // if (BillOld0.omodel.HChecker != "" && BillOld0.omodel.HChecker != null) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "姝ゅ崟鎹凡缁忚瀹℃牳锛屼笉鍏佽淇敼锛�"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // if (BillOld0.omodel.HBillStatus > 1) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "姝ゅ崟鎹浜庝笉鍙紪杈戠姸鎬侊紝涓嶅厑璁镐慨鏀癸紒"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // if (!DBUtility.Xt_BaseBillFun.Fun_AllowEditBill(BillOld0, ref s)) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = s + "锛屼笉鍏佽淇敼"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // } + // //oItem.HMaker = ""; + // UserName = oItem.HMaker; //鍒跺崟浜� + // oItem.HBillType = "3826"; + // oItem.HBillSubType = "3826"; + // //oItem.HBillNo = ""; //鍗曟嵁鍙� + // //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --鏃ユ湡 + // //oItem.HInnerBillNo = ""; // --鍐呴儴鍗曟嵁鍙� + // oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); + // oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); + // //oItem.HEquipID = 0; //璁惧ID(Gy_EquipMent) + // //oItem.HPeriod = 0; + // //oItem.HCheckBeginDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); // --缁翠慨鏃ユ湡 + // //oItem.HCheckResult = ""; //楠屾敹缁撹--(姝e父锛屽紓甯�) + // //oItem.HEmpID = 0; //楠屾敹浜�(Gy_Employee) + // //oItem.HManagerID = 0; //璐熻矗浜�(Gy_Employee) + // //oItem.HDeptID = 0; //楠屾敹閮ㄩ棬(Gy_Department) + // //oItem.HExplanation = ""; //鎽樿(鏁呴殰鎻忚堪) + // //oItem.HRemark = ""; //澶囨敞 + + // //oItem.HMainSourceInterID = oItem.HInterID; + + // //oItem.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd("1103", ref DBUtility.ClsPub.sExeReturnInfo); + // if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // oBill.omodel = oItem; + // } + // //琛ㄤ綋鏁版嵁 + // //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� + // msg3 = msg3.Substring(1, msg3.Length - 2); + // msg3 = msg3.Replace("\\", ""); + // msg3 = msg3.Replace("\n", ""); //\n + // //msg2 = msg2.Replace("'", "鈥�"); + // List<Models.ClsSc_MouldRepairInBillSub> ls = new List<Models.ClsSc_MouldRepairInBillSub>(); + // ls = oListModels.getObjectByJson_Gy_MouldRepairInHouseBillSub(msg3); + // int i = 0; + // foreach (Models.ClsSc_MouldRepairInBillSub oItemSub in ls) + // { + + // i++; + // oItemSub.HEntryID = i; + + // //oItemSub.HRepairCheckID = 0; //楠屾敹椤圭洰ID + // //oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭 + // //oItemSub.HManagerID = 0; //璐熻矗浜篒D + // //oItemSub.HCloseMan = ""; //琛屽叧闂� + // oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); + // oItemSub.HCloseType = false; //鍏抽棴绫诲瀷 + // //oItemSub.HRemark = ""; //澶囨敞 + // oItemSub.HSourceInterID = 0; // 婧愬崟涓诲唴鐮� + // oItemSub.HSourceEntryID = 0; //婧愬崟瀛愬唴鐮� + // //oItemSub.HSourceBillNo = ""; //婧愬崟鍗曞彿 + // //oItemSub.HSourceBillType = ""; //婧愬崟绫诲瀷 + // //oItemSub.HRelationQty = 0; //鍏宠仈鏁伴噺 + // //oItemSub.HRelationMoney = 0; //鍏宠仈閲戦 + // //oItemSub.HRepairID = 0; //缁翠慨椤圭洰 + // //oItemSub.HRepairExplanation =""; //缁翠慨瑕佹眰 + // //oItemSub.HMoney = 0; //缁翠慨璐圭敤 + // oBill.DetailColl.Add(oItemSub); + + // } + // //淇濆瓨 + // //淇濆瓨瀹屾瘯鍚庡鐞� + // bool bResult; + // if (oBill.omodel.HInterID == 0) + // { + // // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + // //淇濆瓨鎴愬姛 + // string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "); + // oCn.RunProc(sql); + // } + // else + // { + // bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + // //淇敼鎴愬姛 + // //string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID 1,{oBill.omodel.HInterID.ToString()},' ' "); + // string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); + // oCn.RunProc(sql); + // } + // if (bResult) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 1; + // objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; + // //WebAPIController.Add_Log("閫佽揣鍗曚笅鎺�", UserName, "鐢熸垚閫佽揣鍗�"); + // objJsonResult.data = 1; + // return objJsonResult; + // } + // else + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // } + // catch (Exception e) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); + // objJsonResult.data = 1; + // return objJsonResult; + // } + //} + #endregion + + #region 鍣ㄥ叿鏀瑰埗鍏ュ簱鍗曚繚瀛�/缂栬緫 20240702 /// <summary> /// 淇濆瓨鍣ㄥ叿鏀瑰埗鍏ュ簱鍗� /// </summary> @@ -4328,176 +4531,137 @@ [HttpPost] public object SaveGetMouldRepairInBillList([FromBody] JObject msg) { + DAL.ClsSc_MouldRepairInBill oBill = new DAL.ClsSc_MouldRepairInBill(); + var _value = msg["msg"].ToString(); string msg1 = _value.ToString(); string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); - string msg2 = sArray[0].ToString(); - string msg3 = sArray[1].ToString(); - string refSav = sArray[2].ToString(); - string msg4 = sArray[3].ToString(); - - string UserName = ""; - string s = ""; - ListModels oListModels = new ListModels(); + string sMainStr = sArray[0].ToString(); //涓昏〃鏁版嵁 + string sSubStr = sArray[1].ToString(); //瀛愯〃鏁版嵁 + string OperationType = sArray[2].ToString(); //鎿嶄綔绫诲瀷锛圓dd鏂板銆乁pdate缂栬緫锛� + string HMaker = sArray[3].ToString(); //鍒跺崟浜� try { - //缂栬緫鏉冮檺 - if (!DBUtility.ClsPub.Security_Log("Sc_MouldRepairIn_SingleBill_Edit", 1, false, msg4)) + //鍒ゆ柇鏉冮檺 + if (OperationType == "Add") + { + BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; + //鍒ゆ柇鏂板鏉冮檺 + if (!DBUtility.ClsPub.Security_Log("Sc_MouldRepairIn_SingleBill", 1, false, HMaker)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鎮ㄦ病鏈夎妯″潡鏂板鏉冮檺,璇蜂笌绠$悊鍛樿仈绯伙紒"; + objJsonResult.data = null; + return objJsonResult; + } + } + else + { + BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify; + //鍒ゆ柇缂栬緫鏉冮檺 + if (!DBUtility.ClsPub.Security_Log("Sc_MouldRepairIn_SingleBill_Edit", 1, false, HMaker)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鎮ㄦ病鏈夎妯″潡缂栬緫鏉冮檺,璇蜂笌绠$悊鍛樿仈绯伙紒"; + objJsonResult.data = null; + return objJsonResult; + } + } + //琛ㄥご璧嬪�� + sMainStr = sMainStr.Replace("\\", ""); + sMainStr = sMainStr.Replace("\n", ""); + sMainStr = "[" + sMainStr.ToString() + "]"; + List<Model.ClsSc_MouldStockBillMain> lsmain = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldStockBillMain>>(sMainStr); + foreach (Model.ClsSc_MouldStockBillMain oItem in lsmain) + { + //鍗曟嵁鍙锋槸鍚﹂噸澶� + if (oBill.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, oItem.HInterID)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁鍙烽噸澶嶏紒涓嶅厑璁镐繚瀛橈紒"; + objJsonResult.data = null; + return objJsonResult; + } + //鍒ゆ柇浼氳鏈熸槸鍚﹀悎鐞� + string s = ""; + int sYear = 0; + int sPeriod = 0; + if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(oItem.HDate, ref sYear, ref sPeriod, ref s) == false) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = s; + objJsonResult.data = null; + return objJsonResult; + } + + oItem.HYear = sYear; + oItem.HPeriod = sPeriod; + DBUtility.ClsPub.CurUserName = oItem.HMaker; + oBill.omodel = oItem; + } + //琛ㄤ綋璧嬪�� + //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� + sSubStr = sSubStr.Substring(1, sSubStr.Length - 2); + sSubStr = sSubStr.Replace("\\", ""); + sSubStr = sSubStr.Replace("\n", ""); + sSubStr = "[" + sSubStr.ToString() + "]"; + List<Model.ClsSc_MouldStockBillSub> ls = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldStockBillSub>>(sSubStr); + int i = 0; + foreach (Model.ClsSc_MouldStockBillSub oItemSub in ls) + { + i++; + oItemSub.HEntryID = i; + oBill.DetailColl.Add(oItemSub); + } + + string sErrMsg = ""; + bool bResult; + //鑾峰彇绯荤粺鍙傛暟 + if (oSystemParameter.ShowBill(ref sErrMsg) == true) + { + //淇濆瓨 + if (OperationType == "Add") //鏂板淇濆瓨 + { + bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + + if (oSystemParameter.omodel.WMS_CampanyName == "鍥涚淮灏�") //绯荤粺鍙傛暟 瀹㈡埛瀹氬埗鍖栧悕绉� 绌虹櫧涓洪�氱敤 + { + //淇敼鍣ㄥ叿妗f浣嶇疆 + string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "); + oCn.RunProc(sql); + } + } + else //缂栬緫淇濆瓨 + { + bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + + if (oSystemParameter.omodel.WMS_CampanyName == "鍥涚淮灏�") //绯荤粺鍙傛暟 瀹㈡埛瀹氬埗鍖栧悕绉� 绌虹櫧涓洪�氱敤 + { + //淇敼鍣ㄥ叿妗f浣嶇疆 + string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); + oCn.RunProc(sql); + } + } + } + else { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "鏃犱繚瀛樻潈闄愶紒"; + objJsonResult.Message = "鑾峰彇绯荤粺鍙傛暟澶辫触锛� " + sErrMsg; objJsonResult.data = null; return objJsonResult; } - DLL.ClsSc_MouldRepairInBill oBill = new DLL.ClsSc_MouldRepairInBill(); - List<Models.ClsSc_MouldRepairInBillMain> lsmain = new List<Models.ClsSc_MouldRepairInBillMain>(); - msg2 = msg2.Replace("\\", ""); - msg2 = msg2.Replace("\n", ""); //\n - lsmain = oListModels.getObjectByJson_Gy_MouldRepairInHouseBillMain(msg2); - foreach (Models.ClsSc_MouldRepairInBillMain oItem in lsmain) - { - if (refSav == "Add") - { - //鍗曟嵁鍙锋槸鍚﹂噸澶� - if (BillNew01.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, BillOld0.omodel.HInterID)) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "鍗曟嵁鍙烽噸澶嶏紒涓嶅厑璁镐繚瀛橈紒"; - objJsonResult.data = 1; - return objJsonResult; - } - } - if (refSav == "Update") - { - if (BillOld01.ShowBill(oItem.HInterID, ref s) == false) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "姝ゅ崟鎹湁璇紒"; - objJsonResult.data = 1; - return objJsonResult; - } - //鍒ゆ柇鏄惁鍙紪杈� - if (BillOld0.omodel.HChecker != "" && BillOld0.omodel.HChecker != null) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "姝ゅ崟鎹凡缁忚瀹℃牳锛屼笉鍏佽淇敼锛�"; - objJsonResult.data = 1; - return objJsonResult; - } - if (BillOld0.omodel.HBillStatus > 1) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "姝ゅ崟鎹浜庝笉鍙紪杈戠姸鎬侊紝涓嶅厑璁镐慨鏀癸紒"; - objJsonResult.data = 1; - return objJsonResult; - } - if (!DBUtility.Xt_BaseBillFun.Fun_AllowEditBill(BillOld0, ref s)) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = s + "锛屼笉鍏佽淇敼"; - objJsonResult.data = 1; - return objJsonResult; - } - } - //oItem.HMaker = ""; - UserName = oItem.HMaker; //鍒跺崟浜� - oItem.HBillType = "3826"; - oItem.HBillSubType = "3826"; - //oItem.HBillNo = ""; //鍗曟嵁鍙� - //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --鏃ユ湡 - //oItem.HInnerBillNo = ""; // --鍐呴儴鍗曟嵁鍙� - oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); - oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); - //oItem.HEquipID = 0; //璁惧ID(Gy_EquipMent) - //oItem.HPeriod = 0; - //oItem.HCheckBeginDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); // --缁翠慨鏃ユ湡 - //oItem.HCheckResult = ""; //楠屾敹缁撹--(姝e父锛屽紓甯�) - //oItem.HEmpID = 0; //楠屾敹浜�(Gy_Employee) - //oItem.HManagerID = 0; //璐熻矗浜�(Gy_Employee) - //oItem.HDeptID = 0; //楠屾敹閮ㄩ棬(Gy_Department) - //oItem.HExplanation = ""; //鎽樿(鏁呴殰鎻忚堪) - //oItem.HRemark = ""; //澶囨敞 - - //oItem.HMainSourceInterID = oItem.HInterID; - - //oItem.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd("1103", ref DBUtility.ClsPub.sExeReturnInfo); - if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�"; - objJsonResult.data = 1; - return objJsonResult; - } - oBill.omodel = oItem; - } - //琛ㄤ綋鏁版嵁 - //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� - msg3 = msg3.Substring(1, msg3.Length - 2); - msg3 = msg3.Replace("\\", ""); - msg3 = msg3.Replace("\n", ""); //\n - //msg2 = msg2.Replace("'", "鈥�"); - List<Models.ClsSc_MouldRepairInBillSub> ls = new List<Models.ClsSc_MouldRepairInBillSub>(); - ls = oListModels.getObjectByJson_Gy_MouldRepairInHouseBillSub(msg3); - int i = 0; - foreach (Models.ClsSc_MouldRepairInBillSub oItemSub in ls) - { - - i++; - oItemSub.HEntryID = i; - - //oItemSub.HRepairCheckID = 0; //楠屾敹椤圭洰ID - //oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭 - //oItemSub.HManagerID = 0; //璐熻矗浜篒D - //oItemSub.HCloseMan = ""; //琛屽叧闂� - oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); - oItemSub.HCloseType = false; //鍏抽棴绫诲瀷 - //oItemSub.HRemark = ""; //澶囨敞 - oItemSub.HSourceInterID = 0; // 婧愬崟涓诲唴鐮� - oItemSub.HSourceEntryID = 0; //婧愬崟瀛愬唴鐮� - //oItemSub.HSourceBillNo = ""; //婧愬崟鍗曞彿 - //oItemSub.HSourceBillType = ""; //婧愬崟绫诲瀷 - //oItemSub.HRelationQty = 0; //鍏宠仈鏁伴噺 - //oItemSub.HRelationMoney = 0; //鍏宠仈閲戦 - //oItemSub.HRepairID = 0; //缁翠慨椤圭洰 - //oItemSub.HRepairExplanation =""; //缁翠慨瑕佹眰 - //oItemSub.HMoney = 0; //缁翠慨璐圭敤 - oBill.DetailColl.Add(oItemSub); - - } - //淇濆瓨 - //淇濆瓨瀹屾瘯鍚庡鐞� - bool bResult; - if (oBill.omodel.HInterID == 0) - { - // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); - bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); - //淇濆瓨鎴愬姛 - string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "); - oCn.RunProc(sql); - } - else - { - bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); - //淇敼鎴愬姛 - //string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID 1,{oBill.omodel.HInterID.ToString()},' ' "); - string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); - oCn.RunProc(sql); - } if (bResult) { objJsonResult.code = "0"; objJsonResult.count = 1; - objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; - //WebAPIController.Add_Log("閫佽揣鍗曚笅鎺�", UserName, "鐢熸垚閫佽揣鍗�"); - objJsonResult.data = 1; + objJsonResult.Message = DBUtility.ClsPub.sExeReturnInfo; //鎴愬姛锛� + objJsonResult.data = null; return objJsonResult; } else @@ -4505,7 +4669,7 @@ objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo; - objJsonResult.data = 1; + objJsonResult.data = null; return objJsonResult; } } @@ -4513,8 +4677,8 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); - objJsonResult.data = 1; + objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.Message; + objJsonResult.data = null; return objJsonResult; } } diff --git a/WebAPI/Controllers/Sc_MouldOtherInBillController.cs b/WebAPI/Controllers/Sc_MouldOtherInBillController.cs index 60534ae..b618604 100644 --- a/WebAPI/Controllers/Sc_MouldOtherInBillController.cs +++ b/WebAPI/Controllers/Sc_MouldOtherInBillController.cs @@ -18,6 +18,8 @@ public DataSet ds = new DataSet(); public WebServer webserver = new WebServer(); public SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); + Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter(); + DAL.ClsSc_MouldOtherInBill oBill = new DAL.ClsSc_MouldOtherInBill(); public DAL.ClsSc_MouldScrapInBill BillNew0 = new DAL.ClsSc_MouldScrapInBill(); //妯″叿鎶ュ簾鍏ュ簱瀵瑰簲鍗曟嵁绫� public DAL.ClsSc_MouldScrapInBill BillOld0 = new DAL.ClsSc_MouldScrapInBill(); //妯″叿鎶ュ簾鍏ュ簱瀵瑰簲鍗曟嵁绫� @@ -202,7 +204,158 @@ } #endregion - #region 鍣ㄥ叿鍏朵粬鍏ュ簱鍗曚繚瀛�/缂栬緫 + #region 鍣ㄥ叿鍏朵粬鍏ュ簱鍗曚繚瀛�/缂栬緫 20240702浣滃簾 + /// <summary> + /// 淇濆瓨妯″叿棰嗙敤鍗� + /// </summary> + /// <param name="msg"></param> + /// <returns></returns> + //[Route("Sc_MouldOtherInBill/SaveGetMouldOtherInBillList")] + //[HttpPost] + //public object SaveGetMouldOtherInBillList([FromBody] JObject msg) + //{ + // var _value = msg["msg"].ToString(); + // string msg1 = _value.ToString(); + // string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); + // string msg2 = sArray[0].ToString(); + // string msg3 = sArray[1].ToString(); + // string msg4 = sArray[2].ToString(); + + // string UserName = ""; + // ListModels oListModels = new ListModels(); + // try + // { + // //缂栬緫鏉冮檺 + // if (!DBUtility.ClsPub.Security_Log("Sc_MouldOtherInBill_Edit", 1, false, msg4)) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "鏃犱繚瀛樻潈闄愶紒"; + // objJsonResult.data = null; + // return objJsonResult; + // } + + // DLL.ClsSc_MouldOtherInBill oBill = new DLL.ClsSc_MouldOtherInBill(); + // List<Model.ClsSc_MouldOtherInBillMain> lsmain = new List<Model.ClsSc_MouldOtherInBillMain>(); + // msg2 = msg2.Replace("\\", ""); + // msg2 = msg2.Replace("\n", ""); //\n + // lsmain = oListModels.getObjectByJson_Sc_MouldOtherInBillMain(msg2); + // foreach (Model.ClsSc_MouldOtherInBillMain oItem in lsmain) + // { + // //oItem.HMaker = ""; + // UserName = oItem.HMaker; //鍒跺崟浜� + // oItem.HBillType = "3841"; + // oItem.HBillSubType = "3841"; + // //oItem.HBillNo = ""; //鍗曟嵁鍙� + // //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --鏃ユ湡 + // //oItem.HInnerBillNo = ""; // --鍐呴儴鍗曟嵁鍙� + // oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); + // oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); + // //oItem.HEquipID = 0; //璁惧ID(Gy_EquipMent) + // //oItem.HPeriod = 0; + // //oItem.HCheckBeginDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); // --缁翠慨鏃ユ湡 + // //oItem.HCheckResult = ""; //楠屾敹缁撹--(姝e父锛屽紓甯�) + // //oItem.HEmpID = 0; //楠屾敹浜�(Gy_Employee) + // //oItem.HManagerID = 0; //璐熻矗浜�(Gy_Employee) + // //oItem.HDeptID = 0; //楠屾敹閮ㄩ棬(Gy_Department) + // //oItem.HExplanation = ""; //鎽樿(鏁呴殰鎻忚堪) + // //oItem.HRemark = ""; //澶囨敞 + + // //oItem.HMainSourceInterID = oItem.HInterID; + + // //oItem.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd("1103", ref DBUtility.ClsPub.sExeReturnInfo); + // if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // oBill.omodel = oItem; + // } + // //琛ㄤ綋鏁版嵁 + // //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� + // msg3 = msg3.Substring(1, msg3.Length - 2); + // msg3 = msg3.Replace("\\", ""); + // msg3 = msg3.Replace("\n", ""); //\n + // //msg2 = msg2.Replace("'", "鈥�"); + // List<Model.ClsSc_MouldStockBillSub> ls = new List<Model.ClsSc_MouldStockBillSub>(); + // ls = oListModels.getObjectByJson_Gy_MouldStockBillSub(msg3); + // int i = 0; + // foreach (Model.ClsSc_MouldStockBillSub oItemSub in ls) + // { + + // i++; + // oItemSub.HEntryID = i; + + // //oItemSub.HRepairCheckID = 0; //楠屾敹椤圭洰ID + // //oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭 + // //oItemSub.HManagerID = 0; //璐熻矗浜篒D + // //oItemSub.HCloseMan = ""; //琛屽叧闂� + // oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); + // oItemSub.HCloseType = false; //鍏抽棴绫诲瀷 + // //oItemSub.HRemark = ""; //澶囨敞 + // oItemSub.HSourceInterID = 0; // 婧愬崟涓诲唴鐮� + // oItemSub.HSourceEntryID = 0; //婧愬崟瀛愬唴鐮� + // //oItemSub.HSourceBillNo = ""; //婧愬崟鍗曞彿 + // //oItemSub.HSourceBillType = ""; //婧愬崟绫诲瀷 + // //oItemSub.HRelationQty = 0; //鍏宠仈鏁伴噺 + // //oItemSub.HRelationMoney = 0; //鍏宠仈閲戦 + // //oItemSub.HRepairID = 0; //缁翠慨椤圭洰 + // //oItemSub.HRepairExplanation =""; //缁翠慨瑕佹眰 + // //oItemSub.HMoney = 0; //缁翠慨璐圭敤 + // oBill.DetailColl.Add(oItemSub); + + // } + // //淇濆瓨 + // //淇濆瓨瀹屾瘯鍚庡鐞� + // bool bResult; + // if (oBill.omodel.HInterID == 0) + // { + // // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + // string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "); + // oCn.RunProc(sql); + // } + // else + // { + // bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + // //淇敼鎴愬姛 + // //string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID 1,{oBill.omodel.HInterID.ToString()},' ' "); + // string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); + // oCn.RunProc(sql); + // } + // if (bResult) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 1; + // objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; + // //WebAPIController.Add_Log("閫佽揣鍗曚笅鎺�", UserName, "鐢熸垚閫佽揣鍗�"); + // objJsonResult.data = 1; + // return objJsonResult; + // } + // else + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // } + // catch (Exception e) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); + // objJsonResult.data = 1; + // return objJsonResult; + // } + //} + #endregion + + #region 鍣ㄥ叿鍏朵粬鍏ュ簱鍗曚繚瀛�/缂栬緫 20240702 /// <summary> /// 淇濆瓨妯″叿棰嗙敤鍗� /// </summary> @@ -215,122 +368,121 @@ var _value = msg["msg"].ToString(); string msg1 = _value.ToString(); string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); - string msg2 = sArray[0].ToString(); - string msg3 = sArray[1].ToString(); - string msg4 = sArray[2].ToString(); - - string UserName = ""; - ListModels oListModels = new ListModels(); + string sMainStr = sArray[0].ToString(); //涓昏〃鏁版嵁 + string sSubStr = sArray[1].ToString(); //瀛愯〃鏁版嵁 + string HMaker = sArray[2].ToString(); //鍒跺崟浜� try { - //缂栬緫鏉冮檺 - if (!DBUtility.ClsPub.Security_Log("Sc_MouldOtherInBill_Edit", 1, false, msg4)) + //鍒ゆ柇鏉冮檺 + if (!DBUtility.ClsPub.Security_Log("Sc_MouldOtherInBill_Edit", 1, false, HMaker)) { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "鏃犱繚瀛樻潈闄愶紒"; + objJsonResult.Message = "鎮ㄦ病鏈夎妯″潡鏂板/缂栬緫鏉冮檺,璇蜂笌绠$悊鍛樿仈绯伙紒"; + objJsonResult.data = null; + return objJsonResult; + } + //琛ㄥご璧嬪�� + sMainStr = sMainStr.Replace("\\", ""); + sMainStr = sMainStr.Replace("\n", ""); + sMainStr = "[" + sMainStr.ToString() + "]"; + List<Model.ClsSc_MouldStockBillMain> lsmain = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldStockBillMain>>(sMainStr); + foreach (Model.ClsSc_MouldStockBillMain oItem in lsmain) + { + if (oItem.HInterID == 0) + { + BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; + } + else + { + BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify; + } + //鍗曟嵁鍙锋槸鍚﹂噸澶� + if (oBill.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, oItem.HInterID)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁鍙烽噸澶嶏紒涓嶅厑璁镐繚瀛橈紒"; + objJsonResult.data = null; + return objJsonResult; + } + //鍒ゆ柇浼氳鏈熸槸鍚﹀悎鐞� + string s = ""; + int sYear = 0; + int sPeriod = 0; + if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(oItem.HDate, ref sYear, ref sPeriod, ref s) == false) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = s; + objJsonResult.data = null; + return objJsonResult; + } + + oItem.HYear = sYear; + oItem.HPeriod = sPeriod; + DBUtility.ClsPub.CurUserName = oItem.HMaker; + oBill.omodel = oItem; + } + //琛ㄤ綋璧嬪�� + //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� + sSubStr = sSubStr.Substring(1, sSubStr.Length - 2); + sSubStr = sSubStr.Replace("\\", ""); + sSubStr = sSubStr.Replace("\n", ""); + sSubStr = "[" + sSubStr.ToString() + "]"; + List<Model.ClsSc_MouldStockBillSub> ls = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldStockBillSub>>(sSubStr); + int i = 0; + foreach (Model.ClsSc_MouldStockBillSub oItemSub in ls) + { + i++; + oItemSub.HEntryID = i; + oBill.DetailColl.Add(oItemSub); + } + + string sErrMsg = ""; + bool bResult; + //鑾峰彇绯荤粺鍙傛暟 + if (oSystemParameter.ShowBill(ref sErrMsg) == true) + { + //淇濆瓨 + if (oBill.omodel.HInterID == 0) //鏂板淇濆瓨 + { + bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + + if (oSystemParameter.omodel.WMS_CampanyName == "鍥涚淮灏�") //绯荤粺鍙傛暟 瀹㈡埛瀹氬埗鍖栧悕绉� 绌虹櫧涓洪�氱敤 + { + //淇敼鍣ㄥ叿妗f浣嶇疆 + string sql1 = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "); + oCn.RunProc(sql1); + } + } + else //缂栬緫淇濆瓨 + { + bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + + if (oSystemParameter.omodel.WMS_CampanyName == "鍥涚淮灏�") //绯荤粺鍙傛暟 瀹㈡埛瀹氬埗鍖栧悕绉� 绌虹櫧涓洪�氱敤 + { + //淇敼鍣ㄥ叿妗f浣嶇疆 + string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); + oCn.RunProc(sql); + } + } + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鑾峰彇绯荤粺鍙傛暟澶辫触锛� " + sErrMsg; objJsonResult.data = null; return objJsonResult; } - DLL.ClsSc_MouldOtherInBill oBill = new DLL.ClsSc_MouldOtherInBill(); - List<Model.ClsSc_MouldOtherInBillMain> lsmain = new List<Model.ClsSc_MouldOtherInBillMain>(); - msg2 = msg2.Replace("\\", ""); - msg2 = msg2.Replace("\n", ""); //\n - lsmain = oListModels.getObjectByJson_Sc_MouldOtherInBillMain(msg2); - foreach (Model.ClsSc_MouldOtherInBillMain oItem in lsmain) - { - //oItem.HMaker = ""; - UserName = oItem.HMaker; //鍒跺崟浜� - oItem.HBillType = "3841"; - oItem.HBillSubType = "3841"; - //oItem.HBillNo = ""; //鍗曟嵁鍙� - //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --鏃ユ湡 - //oItem.HInnerBillNo = ""; // --鍐呴儴鍗曟嵁鍙� - oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); - oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); - //oItem.HEquipID = 0; //璁惧ID(Gy_EquipMent) - //oItem.HPeriod = 0; - //oItem.HCheckBeginDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); // --缁翠慨鏃ユ湡 - //oItem.HCheckResult = ""; //楠屾敹缁撹--(姝e父锛屽紓甯�) - //oItem.HEmpID = 0; //楠屾敹浜�(Gy_Employee) - //oItem.HManagerID = 0; //璐熻矗浜�(Gy_Employee) - //oItem.HDeptID = 0; //楠屾敹閮ㄩ棬(Gy_Department) - //oItem.HExplanation = ""; //鎽樿(鏁呴殰鎻忚堪) - //oItem.HRemark = ""; //澶囨敞 - - //oItem.HMainSourceInterID = oItem.HInterID; - - //oItem.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd("1103", ref DBUtility.ClsPub.sExeReturnInfo); - if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�"; - objJsonResult.data = 1; - return objJsonResult; - } - oBill.omodel = oItem; - } - //琛ㄤ綋鏁版嵁 - //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� - msg3 = msg3.Substring(1, msg3.Length - 2); - msg3 = msg3.Replace("\\", ""); - msg3 = msg3.Replace("\n", ""); //\n - //msg2 = msg2.Replace("'", "鈥�"); - List<Model.ClsSc_MouldStockBillSub> ls = new List<Model.ClsSc_MouldStockBillSub>(); - ls = oListModels.getObjectByJson_Gy_MouldStockBillSub(msg3); - int i = 0; - foreach (Model.ClsSc_MouldStockBillSub oItemSub in ls) - { - - i++; - oItemSub.HEntryID = i; - - //oItemSub.HRepairCheckID = 0; //楠屾敹椤圭洰ID - //oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭 - //oItemSub.HManagerID = 0; //璐熻矗浜篒D - //oItemSub.HCloseMan = ""; //琛屽叧闂� - oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); - oItemSub.HCloseType = false; //鍏抽棴绫诲瀷 - //oItemSub.HRemark = ""; //澶囨敞 - oItemSub.HSourceInterID = 0; // 婧愬崟涓诲唴鐮� - oItemSub.HSourceEntryID = 0; //婧愬崟瀛愬唴鐮� - //oItemSub.HSourceBillNo = ""; //婧愬崟鍗曞彿 - //oItemSub.HSourceBillType = ""; //婧愬崟绫诲瀷 - //oItemSub.HRelationQty = 0; //鍏宠仈鏁伴噺 - //oItemSub.HRelationMoney = 0; //鍏宠仈閲戦 - //oItemSub.HRepairID = 0; //缁翠慨椤圭洰 - //oItemSub.HRepairExplanation =""; //缁翠慨瑕佹眰 - //oItemSub.HMoney = 0; //缁翠慨璐圭敤 - oBill.DetailColl.Add(oItemSub); - - } - //淇濆瓨 - //淇濆瓨瀹屾瘯鍚庡鐞� - bool bResult; - if (oBill.omodel.HInterID == 0) - { - // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); - bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); - string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "); - oCn.RunProc(sql); - } - else - { - bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); - //淇敼鎴愬姛 - //string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID 1,{oBill.omodel.HInterID.ToString()},' ' "); - string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); - oCn.RunProc(sql); - } if (bResult) { objJsonResult.code = "0"; objJsonResult.count = 1; - objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; - //WebAPIController.Add_Log("閫佽揣鍗曚笅鎺�", UserName, "鐢熸垚閫佽揣鍗�"); - objJsonResult.data = 1; + objJsonResult.Message = DBUtility.ClsPub.sExeReturnInfo; //鎴愬姛锛� + objJsonResult.data = null; return objJsonResult; } else @@ -338,7 +490,7 @@ objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo; - objJsonResult.data = 1; + objJsonResult.data = null; return objJsonResult; } } @@ -346,8 +498,8 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); - objJsonResult.data = 1; + objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.Message; + objJsonResult.data = null; return objJsonResult; } } diff --git a/WebAPI/Controllers/Sc_MouldRepairInBillListController.cs b/WebAPI/Controllers/Sc_MouldRepairInBillListController.cs index 6309077..25453d9 100644 --- a/WebAPI/Controllers/Sc_MouldRepairInBillListController.cs +++ b/WebAPI/Controllers/Sc_MouldRepairInBillListController.cs @@ -22,6 +22,7 @@ public SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); public DAL.ClsSc_ICMOBill BillOld = new DAL.ClsSc_ICMOBill(); SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); + Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter(); public DAL.ClsSc_MouldScrapInBill BillNew0 = new DAL.ClsSc_MouldScrapInBill(); //妯″叿鎶ュ簾鍏ュ簱瀵瑰簲鍗曟嵁绫� public DAL.ClsSc_MouldScrapInBill BillOld0 = new DAL.ClsSc_MouldScrapInBill(); //妯″叿鎶ュ簾鍏ュ簱瀵瑰簲鍗曟嵁绫� @@ -5796,7 +5797,7 @@ } SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); //鑾峰彇淇濆吇椤圭洰缂栬緫鏁版嵁 - string sql = "select HMaintainItemID, 淇濆吇椤圭洰浠g爜 HMaintainItemNumber,淇濆吇椤圭洰鍚嶇О HMaintainItem,淇濆吇閮ㄤ綅 HMaintainPart,鍏蜂綋瑕佹眰 HClaim,HManagerID,璐熻矗浜轰唬鐮� HManagerNumber,璐熻矗浜� HManagerName,琛ㄤ綋澶囨敞 HRemark from h_v_Sc_MouldMaintainBillListItem where 1 = 1 " + Swhere + ""; + string sql = "select HMaintainItemID, 淇濆吇椤圭洰浠g爜 HMaintainItemNumber,淇濆吇椤圭洰鍚嶇О HMaintainItem,淇濆吇閮ㄤ綅 HMaintainPart,鍏蜂綋瑕佹眰 HClaim,HManagerID,璐熻矗浜轰唬鐮� HManagerNumber,璐熻矗浜� HManagerName,琛ㄤ綋澶囨敞 HRemark,淇濆吇缁撴灉 HMaintainResult from h_v_Sc_MouldMaintainBillListItem where 1 = 1 " + Swhere + ""; ds = oCN.RunProcReturn(sql, "h_v_Sc_MouldMaintainBillListItem"); //鑾峰彇閰嶄欢椤圭洰缂栬緫鏁版嵁 string sql1 = "select HMaterID, 閰嶄欢浠g爜 HMaterNumber,閰嶄欢鍚嶇О HMaterName,瑙勬牸鍨嬪彿 HMaterSpec,HUnitID,鍗曚綅浠g爜 HUnitNumber,鍗曚綅鍚嶇О HUnitName,瀹為檯鐢ㄩ噺 HQty,鏍囧噯鐢ㄩ噺 HQtyMust,HManagerID,璐熻矗浜轰唬鐮� HManagerNumber,璐熻矗浜� HManagerName,琛ㄤ綋澶囨敞 HRemark from h_v_Sc_MouldMaintainBillList where 1 = 1 " + Swhere + ""; @@ -6979,7 +6980,208 @@ } #endregion - #region 妯″叿鎶ュ簾鍏ュ簱鍗曚繚瀛�/缂栬緫 + #region 妯″叿鎶ュ簾鍏ュ簱鍗曚繚瀛�/缂栬緫 20240702浣滃簾 + /// <summary> + /// 淇濆瓨妯″叿鎶ュ簾鍏ュ簱鍗� + /// </summary> + /// <param name="msg"></param> + /// <returns></returns> + //[Route("Sc_MouldScrapInHouseBill/SaveGetMouldScrapInHouseBillList")] + //[HttpPost] + //public object SaveGetMouldScrapInHouseBillList([FromBody] JObject msg) + //{ + // var _value = msg["msg"].ToString(); + // string msg1 = _value.ToString(); + // string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); + // string msg2 = sArray[0].ToString(); + // string msg3 = sArray[1].ToString(); + // string refSav = sArray[2].ToString(); + // string msg4 = sArray[3].ToString(); + + // string UserName = ""; + // string s = ""; + // ListModels oListModels = new ListModels(); + // try + // { + // //缂栬緫鏉冮檺 + // if (!DBUtility.ClsPub.Security_Log("Sc_MouldScrapRequestBill_Edit", 1, false, msg4)) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "鏃犱繚瀛樻潈闄愶紒"; + // objJsonResult.data = null; + // return objJsonResult; + // } + + // DLL.ClsSc_MouldScrapInBill oBill = new DLL.ClsSc_MouldScrapInBill(); + // List<Models.ClsSc_MouldStockBillMain> lsmain = new List<Models.ClsSc_MouldStockBillMain>(); + // msg2 = msg2.Replace("\\", ""); + // msg2 = msg2.Replace("\n", ""); //\n + // lsmain = oListModels.getObjectByJson_Gy_MouldScrapInHouseBillMain(msg2); + // foreach (Models.ClsSc_MouldStockBillMain oItem in lsmain) + // { + // if (refSav == "Add") + // { + // //鍗曟嵁鍙锋槸鍚﹂噸澶� + // if (BillNew0.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, BillOld0.omodel.HInterID)) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "鍗曟嵁鍙烽噸澶嶏紒涓嶅厑璁镐繚瀛橈紒"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // } + // if (refSav == "Update") + // { + // if (BillOld0.ShowBill(oItem.HInterID, ref s) == false) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "姝ゅ崟鎹湁璇紒"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // //鍒ゆ柇鏄惁鍙紪杈� + // if (BillOld0.omodel.HChecker != "" && BillOld0.omodel.HChecker != null) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "姝ゅ崟鎹凡缁忚瀹℃牳锛屼笉鍏佽淇敼锛�"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // if (BillOld0.omodel.HBillStatus > 1) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "姝ゅ崟鎹浜庝笉鍙紪杈戠姸鎬侊紝涓嶅厑璁镐慨鏀癸紒"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // if (!DBUtility.Xt_BaseBillFun.Fun_AllowEditBill(BillOld0, ref s)) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = s + "锛屼笉鍏佽淇敼"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // } + // //oItem.HMaker = ""; + // UserName = oItem.HMaker; //鍒跺崟浜� + // oItem.HBillType = "3831"; + // oItem.HBillSubType = "3831"; + // //oItem.HBillNo = ""; //鍗曟嵁鍙� + // //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --鏃ユ湡 + // //oItem.HInnerBillNo = ""; // --鍐呴儴鍗曟嵁鍙� + // oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); + // oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); + // //oItem.HEquipID = 0; //璁惧ID(Gy_EquipMent) + // //oItem.HPeriod = 0; + // //oItem.HCheckBeginDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); // --缁翠慨鏃ユ湡 + // //oItem.HCheckResult = ""; //楠屾敹缁撹--(姝e父锛屽紓甯�) + // //oItem.HEmpID = 0; //楠屾敹浜�(Gy_Employee) + // //oItem.HManagerID = 0; //璐熻矗浜�(Gy_Employee) + // //oItem.HDeptID = 0; //楠屾敹閮ㄩ棬(Gy_Department) + // //oItem.HExplanation = ""; //鎽樿(鏁呴殰鎻忚堪) + // //oItem.HRemark = ""; //澶囨敞 + + // //oItem.HMainSourceInterID = oItem.HInterID; + + // //oItem.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd("1103", ref DBUtility.ClsPub.sExeReturnInfo); + // if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // oBill.omodel = oItem; + // } + // //琛ㄤ綋鏁版嵁 + // //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� + // msg3 = msg3.Substring(1, msg3.Length - 2); + // msg3 = msg3.Replace("\\", ""); + // msg3 = msg3.Replace("\n", ""); //\n + // //msg2 = msg2.Replace("'", "鈥�"); + // List<Models.ClsSc_MouldStockBillSub> ls = new List<Models.ClsSc_MouldStockBillSub>(); + // ls = oListModels.getObjectByJson_Gy_MouldScrapInHouseBillSub(msg3); + // int i = 0; + // foreach (Models.ClsSc_MouldStockBillSub oItemSub in ls) + // { + + // i++; + // oItemSub.HEntryID = i; + + // //oItemSub.HRepairCheckID = 0; //楠屾敹椤圭洰ID + // //oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭 + // //oItemSub.HManagerID = 0; //璐熻矗浜篒D + // //oItemSub.HCloseMan = ""; //琛屽叧闂� + // oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); + // oItemSub.HCloseType = false; //鍏抽棴绫诲瀷 + // //oItemSub.HRemark = ""; //澶囨敞 + // oItemSub.HSourceInterID = 0; // 婧愬崟涓诲唴鐮� + // oItemSub.HSourceEntryID = 0; //婧愬崟瀛愬唴鐮� + // //oItemSub.HSourceBillNo = ""; //婧愬崟鍗曞彿 + // //oItemSub.HSourceBillType = ""; //婧愬崟绫诲瀷 + // //oItemSub.HRelationQty = 0; //鍏宠仈鏁伴噺 + // //oItemSub.HRelationMoney = 0; //鍏宠仈閲戦 + // //oItemSub.HRepairID = 0; //缁翠慨椤圭洰 + // //oItemSub.HRepairExplanation =""; //缁翠慨瑕佹眰 + // //oItemSub.HMoney = 0; //缁翠慨璐圭敤 + // oBill.DetailColl.Add(oItemSub); + + // } + // //淇濆瓨 + // //淇濆瓨瀹屾瘯鍚庡鐞� + // bool bResult; + // if (oBill.omodel.HInterID == 0) + // { + // // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + // string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "); + // oCn.RunProc(sql); + // } + // else + // { + // bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + // //淇敼鎴愬姛 + // //string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID 1,{oBill.omodel.HInterID.ToString()},' ' "); + // string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); + // oCn.RunProc(sql); + // } + // if (bResult) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 1; + // objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; + // //WebAPIController.Add_Log("閫佽揣鍗曚笅鎺�", UserName, "鐢熸垚閫佽揣鍗�"); + // objJsonResult.data = 1; + // return objJsonResult; + // } + // else + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // } + // catch (Exception e) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); + // objJsonResult.data = 1; + // return objJsonResult; + // } + //} + #endregion + + #region 妯″叿鎶ュ簾鍏ュ簱鍗曚繚瀛�/缂栬緫 20240702 /// <summary> /// 淇濆瓨妯″叿鎶ュ簾鍏ュ簱鍗� /// </summary> @@ -6989,175 +7191,137 @@ [HttpPost] public object SaveGetMouldScrapInHouseBillList([FromBody] JObject msg) { + DAL.ClsSc_MouldScrapInBill oBill = new DAL.ClsSc_MouldScrapInBill(); + var _value = msg["msg"].ToString(); string msg1 = _value.ToString(); string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); - string msg2 = sArray[0].ToString(); - string msg3 = sArray[1].ToString(); - string refSav = sArray[2].ToString(); - string msg4 = sArray[3].ToString(); - - string UserName = ""; - string s = ""; - ListModels oListModels = new ListModels(); + string sMainStr = sArray[0].ToString(); //涓昏〃鏁版嵁 + string sSubStr = sArray[1].ToString(); //瀛愯〃鏁版嵁 + string OperationType = sArray[2].ToString(); //鎿嶄綔绫诲瀷锛圓dd鏂板銆乁pdate缂栬緫锛� + string HMaker = sArray[3].ToString(); //鍒跺崟浜� try { - //缂栬緫鏉冮檺 - if (!DBUtility.ClsPub.Security_Log("Sc_MouldScrapRequestBill_Edit", 1, false, msg4)) + //鍒ゆ柇鏉冮檺 + if (OperationType == "Add") + { + BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; + //鍒ゆ柇鏂板鏉冮檺 + if (!DBUtility.ClsPub.Security_Log("Sc_MouldScrapRequestBill", 1, false, HMaker)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鎮ㄦ病鏈夎妯″潡鏂板鏉冮檺,璇蜂笌绠$悊鍛樿仈绯伙紒"; + objJsonResult.data = null; + return objJsonResult; + } + } + else + { + BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify; + //鍒ゆ柇缂栬緫鏉冮檺 + if (!DBUtility.ClsPub.Security_Log("Sc_MouldScrapRequestBill_Edit", 1, false, HMaker)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鎮ㄦ病鏈夎妯″潡缂栬緫鏉冮檺,璇蜂笌绠$悊鍛樿仈绯伙紒"; + objJsonResult.data = null; + return objJsonResult; + } + } + //琛ㄥご璧嬪�� + sMainStr = sMainStr.Replace("\\", ""); + sMainStr = sMainStr.Replace("\n", ""); + sMainStr = "[" + sMainStr.ToString() + "]"; + List<Model.ClsSc_MouldStockBillMain> lsmain = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldStockBillMain>>(sMainStr); + foreach (Model.ClsSc_MouldStockBillMain oItem in lsmain) + { + //鍗曟嵁鍙锋槸鍚﹂噸澶� + if (oBill.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, oItem.HInterID)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁鍙烽噸澶嶏紒涓嶅厑璁镐繚瀛橈紒"; + objJsonResult.data = null; + return objJsonResult; + } + //鍒ゆ柇浼氳鏈熸槸鍚﹀悎鐞� + string s = ""; + int sYear = 0; + int sPeriod = 0; + if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(oItem.HDate, ref sYear, ref sPeriod, ref s) == false) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = s; + objJsonResult.data = null; + return objJsonResult; + } + + oItem.HYear = sYear; + oItem.HPeriod = sPeriod; + DBUtility.ClsPub.CurUserName = oItem.HMaker; + oBill.omodel = oItem; + } + //琛ㄤ綋璧嬪�� + //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� + sSubStr = sSubStr.Substring(1, sSubStr.Length - 2); + sSubStr = sSubStr.Replace("\\", ""); + sSubStr = sSubStr.Replace("\n", ""); + sSubStr = "[" + sSubStr.ToString() + "]"; + List<Model.ClsSc_MouldStockBillSub> ls = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldStockBillSub>>(sSubStr); + int i = 0; + foreach (Model.ClsSc_MouldStockBillSub oItemSub in ls) + { + i++; + oItemSub.HEntryID = i; + oBill.DetailColl.Add(oItemSub); + } + + string sErrMsg = ""; + bool bResult; + //鑾峰彇绯荤粺鍙傛暟 + if (oSystemParameter.ShowBill(ref sErrMsg) == true) + { + //淇濆瓨 + if (OperationType == "Add") //鏂板淇濆瓨 + { + bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + + if (oSystemParameter.omodel.WMS_CampanyName == "鍥涚淮灏�") //绯荤粺鍙傛暟 瀹㈡埛瀹氬埗鍖栧悕绉� 绌虹櫧涓洪�氱敤 + { + //淇敼鍣ㄥ叿妗f浣嶇疆 + string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "); + oCn.RunProc(sql); + } + } + else //缂栬緫淇濆瓨 + { + bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + + if (oSystemParameter.omodel.WMS_CampanyName == "鍥涚淮灏�") //绯荤粺鍙傛暟 瀹㈡埛瀹氬埗鍖栧悕绉� 绌虹櫧涓洪�氱敤 + { + //淇敼鍣ㄥ叿妗f浣嶇疆 + string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); + oCn.RunProc(sql); + } + } + } + else { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "鏃犱繚瀛樻潈闄愶紒"; + objJsonResult.Message = "鑾峰彇绯荤粺鍙傛暟澶辫触锛� " + sErrMsg; objJsonResult.data = null; return objJsonResult; } - DLL.ClsSc_MouldScrapInBill oBill = new DLL.ClsSc_MouldScrapInBill(); - List<Models.ClsSc_MouldStockBillMain> lsmain = new List<Models.ClsSc_MouldStockBillMain>(); - msg2 = msg2.Replace("\\", ""); - msg2 = msg2.Replace("\n", ""); //\n - lsmain = oListModels.getObjectByJson_Gy_MouldScrapInHouseBillMain(msg2); - foreach (Models.ClsSc_MouldStockBillMain oItem in lsmain) - { - if (refSav == "Add") - { - //鍗曟嵁鍙锋槸鍚﹂噸澶� - if (BillNew0.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, BillOld0.omodel.HInterID)) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "鍗曟嵁鍙烽噸澶嶏紒涓嶅厑璁镐繚瀛橈紒"; - objJsonResult.data = 1; - return objJsonResult; - } - } - if (refSav == "Update") - { - if (BillOld0.ShowBill(oItem.HInterID, ref s) == false) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "姝ゅ崟鎹湁璇紒"; - objJsonResult.data = 1; - return objJsonResult; - } - //鍒ゆ柇鏄惁鍙紪杈� - if (BillOld0.omodel.HChecker != "" && BillOld0.omodel.HChecker != null) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "姝ゅ崟鎹凡缁忚瀹℃牳锛屼笉鍏佽淇敼锛�"; - objJsonResult.data = 1; - return objJsonResult; - } - if (BillOld0.omodel.HBillStatus > 1) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "姝ゅ崟鎹浜庝笉鍙紪杈戠姸鎬侊紝涓嶅厑璁镐慨鏀癸紒"; - objJsonResult.data = 1; - return objJsonResult; - } - if (!DBUtility.Xt_BaseBillFun.Fun_AllowEditBill(BillOld0, ref s)) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = s + "锛屼笉鍏佽淇敼"; - objJsonResult.data = 1; - return objJsonResult; - } - } - //oItem.HMaker = ""; - UserName = oItem.HMaker; //鍒跺崟浜� - oItem.HBillType = "3831"; - oItem.HBillSubType = "3831"; - //oItem.HBillNo = ""; //鍗曟嵁鍙� - //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --鏃ユ湡 - //oItem.HInnerBillNo = ""; // --鍐呴儴鍗曟嵁鍙� - oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); - oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); - //oItem.HEquipID = 0; //璁惧ID(Gy_EquipMent) - //oItem.HPeriod = 0; - //oItem.HCheckBeginDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); // --缁翠慨鏃ユ湡 - //oItem.HCheckResult = ""; //楠屾敹缁撹--(姝e父锛屽紓甯�) - //oItem.HEmpID = 0; //楠屾敹浜�(Gy_Employee) - //oItem.HManagerID = 0; //璐熻矗浜�(Gy_Employee) - //oItem.HDeptID = 0; //楠屾敹閮ㄩ棬(Gy_Department) - //oItem.HExplanation = ""; //鎽樿(鏁呴殰鎻忚堪) - //oItem.HRemark = ""; //澶囨敞 - - //oItem.HMainSourceInterID = oItem.HInterID; - - //oItem.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd("1103", ref DBUtility.ClsPub.sExeReturnInfo); - if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�"; - objJsonResult.data = 1; - return objJsonResult; - } - oBill.omodel = oItem; - } - //琛ㄤ綋鏁版嵁 - //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� - msg3 = msg3.Substring(1, msg3.Length - 2); - msg3 = msg3.Replace("\\", ""); - msg3 = msg3.Replace("\n", ""); //\n - //msg2 = msg2.Replace("'", "鈥�"); - List<Models.ClsSc_MouldStockBillSub> ls = new List<Models.ClsSc_MouldStockBillSub>(); - ls = oListModels.getObjectByJson_Gy_MouldScrapInHouseBillSub(msg3); - int i = 0; - foreach (Models.ClsSc_MouldStockBillSub oItemSub in ls) - { - - i++; - oItemSub.HEntryID = i; - - //oItemSub.HRepairCheckID = 0; //楠屾敹椤圭洰ID - //oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭 - //oItemSub.HManagerID = 0; //璐熻矗浜篒D - //oItemSub.HCloseMan = ""; //琛屽叧闂� - oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); - oItemSub.HCloseType = false; //鍏抽棴绫诲瀷 - //oItemSub.HRemark = ""; //澶囨敞 - oItemSub.HSourceInterID = 0; // 婧愬崟涓诲唴鐮� - oItemSub.HSourceEntryID = 0; //婧愬崟瀛愬唴鐮� - //oItemSub.HSourceBillNo = ""; //婧愬崟鍗曞彿 - //oItemSub.HSourceBillType = ""; //婧愬崟绫诲瀷 - //oItemSub.HRelationQty = 0; //鍏宠仈鏁伴噺 - //oItemSub.HRelationMoney = 0; //鍏宠仈閲戦 - //oItemSub.HRepairID = 0; //缁翠慨椤圭洰 - //oItemSub.HRepairExplanation =""; //缁翠慨瑕佹眰 - //oItemSub.HMoney = 0; //缁翠慨璐圭敤 - oBill.DetailColl.Add(oItemSub); - - } - //淇濆瓨 - //淇濆瓨瀹屾瘯鍚庡鐞� - bool bResult; - if (oBill.omodel.HInterID == 0) - { - // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); - bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); - string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "); - oCn.RunProc(sql); - } - else - { - bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); - //淇敼鎴愬姛 - //string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID 1,{oBill.omodel.HInterID.ToString()},' ' "); - string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); - oCn.RunProc(sql); - } if (bResult) { objJsonResult.code = "0"; objJsonResult.count = 1; - objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; - //WebAPIController.Add_Log("閫佽揣鍗曚笅鎺�", UserName, "鐢熸垚閫佽揣鍗�"); - objJsonResult.data = 1; + objJsonResult.Message = DBUtility.ClsPub.sExeReturnInfo; //鎴愬姛锛� + objJsonResult.data = null; return objJsonResult; } else @@ -7165,7 +7329,7 @@ objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo; - objJsonResult.data = 1; + objJsonResult.data = null; return objJsonResult; } } @@ -7173,8 +7337,8 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); - objJsonResult.data = 1; + objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.Message; + objJsonResult.data = null; return objJsonResult; } } @@ -7443,7 +7607,158 @@ } #endregion - #region 妯″叿澶勭悊鍑哄簱鍗曚繚瀛�/缂栬緫 + #region 妯″叿澶勭悊鍑哄簱鍗曚繚瀛�/缂栬緫 20240702浣滃簾 + /// <summary> + /// 淇濆瓨妯″叿澶勭悊鍑哄簱鍗� + /// </summary> + /// <param name="msg"></param> + /// <returns></returns> + //[Route("Sc_MouldScrapOutHouseBill/SaveGetMouldScrapOutHouseBillList")] + //[HttpPost] + //public object SaveGetMouldScrapOutHouseBillList([FromBody] JObject msg) + //{ + // var _value = msg["msg"].ToString(); + // string msg1 = _value.ToString(); + // string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); + // string msg2 = sArray[0].ToString(); + // string msg3 = sArray[1].ToString(); + // string msg4 = sArray[2].ToString(); + + // string UserName = ""; + // ListModels oListModels = new ListModels(); + // try + // { + // //缂栬緫鏉冮檺 + // if (!DBUtility.ClsPub.Security_Log("Sc_MouldScrapOutBill_Edit", 1, false, msg4)) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "鏃犱繚瀛樻潈闄愶紒"; + // objJsonResult.data = null; + // return objJsonResult; + // } + + // DLL.ClsSc_MouldScrapOutBill oBill = new DLL.ClsSc_MouldScrapOutBill(); + // List<Model.ClsSc_MouldStockBillMain> lsmain = new List<Model.ClsSc_MouldStockBillMain>(); + // msg2 = msg2.Replace("\\", ""); + // msg2 = msg2.Replace("\n", ""); //\n + // lsmain = oListModels.getObjectByJson_Gy_MouldScrapOutHouseBillMain(msg2); + // foreach (Model.ClsSc_MouldStockBillMain oItem in lsmain) + // { + // //oItem.HMaker = ""; + // UserName = oItem.HMaker; //鍒跺崟浜� + // oItem.HBillType = "3832"; + // oItem.HBillSubType = "3832"; + // //oItem.HBillNo = ""; //鍗曟嵁鍙� + // //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --鏃ユ湡 + // //oItem.HInnerBillNo = ""; // --鍐呴儴鍗曟嵁鍙� + // oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); + // oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); + // //oItem.HEquipID = 0; //璁惧ID(Gy_EquipMent) + // //oItem.HPeriod = 0; + // //oItem.HCheckBeginDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); // --缁翠慨鏃ユ湡 + // //oItem.HCheckResult = ""; //楠屾敹缁撹--(姝e父锛屽紓甯�) + // //oItem.HEmpID = 0; //楠屾敹浜�(Gy_Employee) + // //oItem.HManagerID = 0; //璐熻矗浜�(Gy_Employee) + // //oItem.HDeptID = 0; //楠屾敹閮ㄩ棬(Gy_Department) + // //oItem.HExplanation = ""; //鎽樿(鏁呴殰鎻忚堪) + // //oItem.HRemark = ""; //澶囨敞 + + // //oItem.HMainSourceInterID = oItem.HInterID; + + // //oItem.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd("1103", ref DBUtility.ClsPub.sExeReturnInfo); + // if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // oBill.omodel = oItem; + // } + // //琛ㄤ綋鏁版嵁 + // //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� + // msg3 = msg3.Substring(1, msg3.Length - 2); + // msg3 = msg3.Replace("\\", ""); + // msg3 = msg3.Replace("\n", ""); //\n + // //msg2 = msg2.Replace("'", "鈥�"); + // List<Model.ClsSc_MouldStockBillSub> ls = new List<Model.ClsSc_MouldStockBillSub>(); + // ls = oListModels.getObjectByJson_Gy_MouldScrapOutHouseBillSub(msg3); + // int i = 0; + // foreach (Model.ClsSc_MouldStockBillSub oItemSub in ls) + // { + + // i++; + // oItemSub.HEntryID = i; + + // //oItemSub.HRepairCheckID = 0; //楠屾敹椤圭洰ID + // //oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭 + // //oItemSub.HManagerID = 0; //璐熻矗浜篒D + // //oItemSub.HCloseMan = ""; //琛屽叧闂� + // oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); + // oItemSub.HCloseType = false; //鍏抽棴绫诲瀷 + // //oItemSub.HRemark = ""; //澶囨敞 + // oItemSub.HSourceInterID = 0; // 婧愬崟涓诲唴鐮� + // oItemSub.HSourceEntryID = 0; //婧愬崟瀛愬唴鐮� + // //oItemSub.HSourceBillNo = ""; //婧愬崟鍗曞彿 + // //oItemSub.HSourceBillType = ""; //婧愬崟绫诲瀷 + // //oItemSub.HRelationQty = 0; //鍏宠仈鏁伴噺 + // //oItemSub.HRelationMoney = 0; //鍏宠仈閲戦 + // //oItemSub.HRepairID = 0; //缁翠慨椤圭洰 + // //oItemSub.HRepairExplanation =""; //缁翠慨瑕佹眰 + // //oItemSub.HMoney = 0; //缁翠慨璐圭敤 + // oBill.DetailColl.Add(oItemSub); + + // } + // //淇濆瓨 + // //淇濆瓨瀹屾瘯鍚庡鐞� + // bool bResult; + // if (oBill.omodel.HInterID == 0) + // { + // // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + // string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'out','{oBill.omodel.HInterID.ToString()}' "); + // oCn.RunProc(sql); + // } + // else + // { + // bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + // //淇敼鎴愬姛 + // //string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID 1,{oBill.omodel.HInterID.ToString()},' ' "); + // string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); + // oCn.RunProc(sql); + // } + // if (bResult) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 1; + // objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; + // //WebAPIController.Add_Log("閫佽揣鍗曚笅鎺�", UserName, "鐢熸垚閫佽揣鍗�"); + // objJsonResult.data = 1; + // return objJsonResult; + // } + // else + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // } + // catch (Exception e) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); + // objJsonResult.data = 1; + // return objJsonResult; + // } + //} + #endregion + + #region 妯″叿澶勭悊鍑哄簱鍗曚繚瀛�/缂栬緫 20240702 /// <summary> /// 淇濆瓨妯″叿澶勭悊鍑哄簱鍗� /// </summary> @@ -7453,125 +7768,126 @@ [HttpPost] public object SaveGetMouldScrapOutHouseBillList([FromBody] JObject msg) { + DAL.ClsSc_MouldScrapOutBill oBill = new DAL.ClsSc_MouldScrapOutBill(); + var _value = msg["msg"].ToString(); string msg1 = _value.ToString(); string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); - string msg2 = sArray[0].ToString(); - string msg3 = sArray[1].ToString(); - string msg4 = sArray[2].ToString(); - - string UserName = ""; - ListModels oListModels = new ListModels(); + string sMainStr = sArray[0].ToString(); //涓昏〃鏁版嵁 + string sSubStr = sArray[1].ToString(); //瀛愯〃鏁版嵁 + string HMaker = sArray[2].ToString(); //鍒跺崟浜� try { //缂栬緫鏉冮檺 - if (!DBUtility.ClsPub.Security_Log("Sc_MouldScrapOutBill_Edit", 1, false, msg4)) + if (!DBUtility.ClsPub.Security_Log("Sc_MouldScrapOutBill_Edit", 1, false, HMaker)) { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "鏃犱繚瀛樻潈闄愶紒"; + objJsonResult.Message = "鎮ㄦ病鏈夎妯″潡鏂板/缂栬緫鏉冮檺,璇蜂笌绠$悊鍛樿仈绯伙紒"; + objJsonResult.data = null; + return objJsonResult; + } + //琛ㄥご璧嬪�� + sMainStr = sMainStr.Replace("\\", ""); + sMainStr = sMainStr.Replace("\n", ""); + sMainStr = "[" + sMainStr.ToString() + "]"; + List<Model.ClsSc_MouldStockBillMain> lsmain = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldStockBillMain>>(sMainStr); + foreach (Model.ClsSc_MouldStockBillMain oItem in lsmain) + { + if (oItem.HInterID == 0) + { + BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; + } + else + { + BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify; + } + //鍗曟嵁鍙锋槸鍚﹂噸澶� + if (oBill.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, oItem.HInterID)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁鍙烽噸澶嶏紒涓嶅厑璁镐繚瀛橈紒"; + objJsonResult.data = null; + return objJsonResult; + } + //鍒ゆ柇浼氳鏈熸槸鍚﹀悎鐞� + string s = ""; + int sYear = 0; + int sPeriod = 0; + if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(oItem.HDate, ref sYear, ref sPeriod, ref s) == false) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = s; + objJsonResult.data = null; + return objJsonResult; + } + + oItem.HYear = sYear; + oItem.HPeriod = sPeriod; + DBUtility.ClsPub.CurUserName = oItem.HMaker; + oBill.omodel = oItem; + } + //琛ㄤ綋璧嬪�� + //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� + sSubStr = sSubStr.Substring(1, sSubStr.Length - 2); + sSubStr = sSubStr.Replace("\\", ""); + sSubStr = sSubStr.Replace("\n", ""); + sSubStr = "[" + sSubStr.ToString() + "]"; + List<Model.ClsSc_MouldStockBillSub> ls = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldStockBillSub>>(sSubStr); + int i = 0; + foreach (Model.ClsSc_MouldStockBillSub oItemSub in ls) + { + i++; + oItemSub.HEntryID = i; + oBill.DetailColl.Add(oItemSub); + } + + string sErrMsg = ""; + bool bResult; + //鑾峰彇绯荤粺鍙傛暟 + if (oSystemParameter.ShowBill(ref sErrMsg) == true) + { + //淇濆瓨 + if (oBill.omodel.HInterID == 0) //鏂板淇濆瓨 + { + bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + + if (oSystemParameter.omodel.WMS_CampanyName == "鍥涚淮灏�") //绯荤粺鍙傛暟 瀹㈡埛瀹氬埗鍖栧悕绉� 绌虹櫧涓洪�氱敤 + { + //淇敼鍣ㄥ叿妗f浣嶇疆 + string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'out','{oBill.omodel.HInterID.ToString()}' "); + oCn.RunProc(sql); + } + } + else //缂栬緫淇濆瓨 + { + bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + + if (oSystemParameter.omodel.WMS_CampanyName == "鍥涚淮灏�") //绯荤粺鍙傛暟 瀹㈡埛瀹氬埗鍖栧悕绉� 绌虹櫧涓洪�氱敤 + { + //淇敼鍣ㄥ叿妗f浣嶇疆 + string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); + oCn.RunProc(sql); + } + } + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鑾峰彇绯荤粺鍙傛暟澶辫触锛� " + sErrMsg; objJsonResult.data = null; return objJsonResult; } - DLL.ClsSc_MouldScrapOutBill oBill = new DLL.ClsSc_MouldScrapOutBill(); - List<Model.ClsSc_MouldStockBillMain> lsmain = new List<Model.ClsSc_MouldStockBillMain>(); - msg2 = msg2.Replace("\\", ""); - msg2 = msg2.Replace("\n", ""); //\n - lsmain = oListModels.getObjectByJson_Gy_MouldScrapOutHouseBillMain(msg2); - foreach (Model.ClsSc_MouldStockBillMain oItem in lsmain) - { - //oItem.HMaker = ""; - UserName = oItem.HMaker; //鍒跺崟浜� - oItem.HBillType = "3832"; - oItem.HBillSubType = "3832"; - //oItem.HBillNo = ""; //鍗曟嵁鍙� - //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --鏃ユ湡 - //oItem.HInnerBillNo = ""; // --鍐呴儴鍗曟嵁鍙� - oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); - oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); - //oItem.HEquipID = 0; //璁惧ID(Gy_EquipMent) - //oItem.HPeriod = 0; - //oItem.HCheckBeginDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); // --缁翠慨鏃ユ湡 - //oItem.HCheckResult = ""; //楠屾敹缁撹--(姝e父锛屽紓甯�) - //oItem.HEmpID = 0; //楠屾敹浜�(Gy_Employee) - //oItem.HManagerID = 0; //璐熻矗浜�(Gy_Employee) - //oItem.HDeptID = 0; //楠屾敹閮ㄩ棬(Gy_Department) - //oItem.HExplanation = ""; //鎽樿(鏁呴殰鎻忚堪) - //oItem.HRemark = ""; //澶囨敞 - - //oItem.HMainSourceInterID = oItem.HInterID; - - //oItem.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd("1103", ref DBUtility.ClsPub.sExeReturnInfo); - if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�"; - objJsonResult.data = 1; - return objJsonResult; - } - oBill.omodel = oItem; - } - //琛ㄤ綋鏁版嵁 - //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� - msg3 = msg3.Substring(1, msg3.Length - 2); - msg3 = msg3.Replace("\\", ""); - msg3 = msg3.Replace("\n", ""); //\n - //msg2 = msg2.Replace("'", "鈥�"); - List<Model.ClsSc_MouldStockBillSub> ls = new List<Model.ClsSc_MouldStockBillSub>(); - ls = oListModels.getObjectByJson_Gy_MouldScrapOutHouseBillSub(msg3); - int i = 0; - foreach (Model.ClsSc_MouldStockBillSub oItemSub in ls) - { - - i++; - oItemSub.HEntryID = i; - - //oItemSub.HRepairCheckID = 0; //楠屾敹椤圭洰ID - //oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭 - //oItemSub.HManagerID = 0; //璐熻矗浜篒D - //oItemSub.HCloseMan = ""; //琛屽叧闂� - oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); - oItemSub.HCloseType = false; //鍏抽棴绫诲瀷 - //oItemSub.HRemark = ""; //澶囨敞 - oItemSub.HSourceInterID = 0; // 婧愬崟涓诲唴鐮� - oItemSub.HSourceEntryID = 0; //婧愬崟瀛愬唴鐮� - //oItemSub.HSourceBillNo = ""; //婧愬崟鍗曞彿 - //oItemSub.HSourceBillType = ""; //婧愬崟绫诲瀷 - //oItemSub.HRelationQty = 0; //鍏宠仈鏁伴噺 - //oItemSub.HRelationMoney = 0; //鍏宠仈閲戦 - //oItemSub.HRepairID = 0; //缁翠慨椤圭洰 - //oItemSub.HRepairExplanation =""; //缁翠慨瑕佹眰 - //oItemSub.HMoney = 0; //缁翠慨璐圭敤 - oBill.DetailColl.Add(oItemSub); - - } - //淇濆瓨 - //淇濆瓨瀹屾瘯鍚庡鐞� - bool bResult; - if (oBill.omodel.HInterID == 0) - { - // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); - bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); - string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'out','{oBill.omodel.HInterID.ToString()}' "); - oCn.RunProc(sql); - } - else - { - bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); - //淇敼鎴愬姛 - //string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID 1,{oBill.omodel.HInterID.ToString()},' ' "); - string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); - oCn.RunProc(sql); - } if (bResult) { objJsonResult.code = "0"; objJsonResult.count = 1; - objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; - //WebAPIController.Add_Log("閫佽揣鍗曚笅鎺�", UserName, "鐢熸垚閫佽揣鍗�"); - objJsonResult.data = 1; + objJsonResult.Message = DBUtility.ClsPub.sExeReturnInfo; //鎴愬姛锛� + objJsonResult.data = null; return objJsonResult; } else @@ -7579,7 +7895,7 @@ objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo; - objJsonResult.data = 1; + objJsonResult.data = null; return objJsonResult; } } @@ -7587,8 +7903,8 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); - objJsonResult.data = 1; + objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.Message; + objJsonResult.data = null; return objJsonResult; } } @@ -8035,7 +8351,159 @@ } #endregion - #region 妯″叿閫�搴撳崟淇濆瓨/缂栬緫 + #region 妯″叿閫�搴撳崟淇濆瓨/缂栬緫 20240702浣滃簾 + /// <summary> + /// 淇濆瓨妯″叿閫�搴撳崟 + /// </summary> + /// <param name="msg"></param> + /// <returns></returns> + //[Route("Sc_MouldProdBackBill/SaveGetMouldProdBackBillList")] + //[HttpPost] + //public object SaveGetMouldProdBackBillList([FromBody] JObject msg) + //{ + // var _value = msg["msg"].ToString(); + // string msg1 = _value.ToString(); + // string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); + // string msg2 = sArray[0].ToString(); + // string msg3 = sArray[1].ToString(); + // string msg4 = sArray[2].ToString(); + + // string UserName = ""; + // ListModels oListModels = new ListModels(); + // try + // { + // if (!DBUtility.ClsPub.Security_Log("Sc_MouldProdBackBill_Edit", 1, false, msg4)) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "娌℃湁淇濆瓨鏉冮檺"; + // objJsonResult.data = null; + // return objJsonResult; + // } + + // DLL.ClsSc_MouldProdBackBill oBill = new DLL.ClsSc_MouldProdBackBill(); + // List<Model.ClsSc_MouldProdBackBillMain> lsmain = new List<Model.ClsSc_MouldProdBackBillMain>(); + // msg2 = msg2.Replace("\\", ""); + // msg2 = msg2.Replace("\n", ""); //\n + // lsmain = oListModels.getObjectByJson_Gy_MouldProdBackBillMain(msg2); + // foreach (Model.ClsSc_MouldProdBackBillMain oItem in lsmain) + // { + // //oItem.HMaker = ""; + // UserName = oItem.HMaker; //鍒跺崟浜� + // oItem.HBillType = "3803"; + // oItem.HBillSubType = "3803"; + // //oItem.HBillNo = ""; //鍗曟嵁鍙� + // //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --鏃ユ湡 + // //oItem.HInnerBillNo = ""; // --鍐呴儴鍗曟嵁鍙� + // oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); + // oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); + // //oItem.HEquipID = 0; //璁惧ID(Gy_EquipMent) + // //oItem.HPeriod = 0; + // //oItem.HCheckBeginDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); // --缁翠慨鏃ユ湡 + // //oItem.HCheckResult = ""; //楠屾敹缁撹--(姝e父锛屽紓甯�) + // //oItem.HEmpID = 0; //楠屾敹浜�(Gy_Employee) + // //oItem.HManagerID = 0; //璐熻矗浜�(Gy_Employee) + // //oItem.HDeptID = 0; //楠屾敹閮ㄩ棬(Gy_Department) + // //oItem.HExplanation = ""; //鎽樿(鏁呴殰鎻忚堪) + // //oItem.HRemark = ""; //澶囨敞 + + // //oItem.HMainSourceInterID = oItem.HInterID; + + // //oItem.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd("1103", ref DBUtility.ClsPub.sExeReturnInfo); + // if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // oBill.omodel = oItem; + // } + // //琛ㄤ綋鏁版嵁 + // //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� + // msg3 = msg3.Substring(1, msg3.Length - 2); + // msg3 = msg3.Replace("\\", ""); + // msg3 = msg3.Replace("\n", ""); //\n + // //msg2 = msg2.Replace("'", "鈥�"); + // List<Model.ClsSc_MouldProdBackBillSub> ls = new List<Model.ClsSc_MouldProdBackBillSub>(); + // ls = oListModels.getObjectByJson_Gy_MouldProdBackBillSub(msg3); + // int i = 0; + // foreach (Model.ClsSc_MouldProdBackBillSub oItemSub in ls) + // { + + // i++; + // oItemSub.HEntryID = i; + + // //oItemSub.HRepairCheckID = 0; //楠屾敹椤圭洰ID + // //oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭 + // //oItemSub.HManagerID = 0; //璐熻矗浜篒D + // //oItemSub.HCloseMan = ""; //琛屽叧闂� + // oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); + // oItemSub.HCloseType = false; //鍏抽棴绫诲瀷 + // //oItemSub.HRemark = ""; //澶囨敞 + // oItemSub.HSourceInterID = 0; // 婧愬崟涓诲唴鐮� + // oItemSub.HSourceEntryID = 0; //婧愬崟瀛愬唴鐮� + // //oItemSub.HSourceBillNo = ""; //婧愬崟鍗曞彿 + // //oItemSub.HSourceBillType = ""; //婧愬崟绫诲瀷 + // //oItemSub.HRelationQty = 0; //鍏宠仈鏁伴噺 + // //oItemSub.HRelationMoney = 0; //鍏宠仈閲戦 + // //oItemSub.HRepairID = 0; //缁翠慨椤圭洰 + // //oItemSub.HRepairExplanation =""; //缁翠慨瑕佹眰 + // //oItemSub.HMoney = 0; //缁翠慨璐圭敤 + // oBill.DetailColl.Add(oItemSub); + + // } + // //淇濆瓨 + // //淇濆瓨瀹屾瘯鍚庡鐞� + // bool bResult; + // if (oBill.omodel.HInterID == 0) + // { + // // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + // string sql1 = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "); + // oCn.RunProc(sql1); + // } + // else + // { + // bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + // //淇敼鎴愬姛 + // //string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID 1,{oBill.omodel.HInterID.ToString()},' ' "); + // string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); + // oCn.RunProc(sql); + // } + // if (bResult) + // { + // string sql =string.Format($"exec h_p_Sc_MouldProdBackBillList '{oBill.omodel.HBillNo}' ") ; + // oCn.RunProc(sql); + // objJsonResult.code = "0"; + // objJsonResult.count = 1; + // objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; + // //WebAPIController.Add_Log("閫佽揣鍗曚笅鎺�", UserName, "鐢熸垚閫佽揣鍗�"); + // objJsonResult.data = 1; + // return objJsonResult; + // } + // else + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // } + // catch (Exception e) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); + // objJsonResult.data = 1; + // return objJsonResult; + // } + //} + #endregion + + #region 妯″叿閫�搴撳崟淇濆瓨/缂栬緫 20240702 /// <summary> /// 淇濆瓨妯″叿閫�搴撳崟 /// </summary> @@ -8045,126 +8513,127 @@ [HttpPost] public object SaveGetMouldProdBackBillList([FromBody] JObject msg) { + DAL.ClsSc_MouldProdBackBill oBill = new DAL.ClsSc_MouldProdBackBill(); + var _value = msg["msg"].ToString(); string msg1 = _value.ToString(); string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); - string msg2 = sArray[0].ToString(); - string msg3 = sArray[1].ToString(); - string msg4 = sArray[2].ToString(); - - string UserName = ""; - ListModels oListModels = new ListModels(); + string sMainStr = sArray[0].ToString(); //涓昏〃鏁版嵁 + string sSubStr = sArray[1].ToString(); //瀛愯〃鏁版嵁 + string HMaker = sArray[2].ToString(); //鍒跺崟浜� try { - if (!DBUtility.ClsPub.Security_Log("Sc_MouldProdBackBill_Edit", 1, false, msg4)) + //鍒ゆ柇鏉冮檺 + if (!DBUtility.ClsPub.Security_Log("Sc_MouldProdBackBill_Edit", 1, false, HMaker)) { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "娌℃湁淇濆瓨鏉冮檺"; + objJsonResult.Message = "鎮ㄦ病鏈夎妯″潡鏂板/缂栬緫鏉冮檺,璇蜂笌绠$悊鍛樿仈绯伙紒"; + objJsonResult.data = null; + return objJsonResult; + } + //琛ㄥご璧嬪�� + sMainStr = sMainStr.Replace("\\", ""); + sMainStr = sMainStr.Replace("\n", ""); + sMainStr = "[" + sMainStr.ToString() + "]"; + List<Model.ClsSc_MouldProdBackBillMain> lsmain = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldProdBackBillMain>>(sMainStr); + foreach (Model.ClsSc_MouldProdBackBillMain oItem in lsmain) + { + if (oItem.HInterID == 0) + { + BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; + } + else + { + BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify; + } + //鍗曟嵁鍙锋槸鍚﹂噸澶� + if (oBill.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, oItem.HInterID)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁鍙烽噸澶嶏紒涓嶅厑璁镐繚瀛橈紒"; + objJsonResult.data = null; + return objJsonResult; + } + //鍒ゆ柇浼氳鏈熸槸鍚﹀悎鐞� + string s = ""; + int sYear = 0; + int sPeriod = 0; + if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(oItem.HDate, ref sYear, ref sPeriod, ref s) == false) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = s; + objJsonResult.data = null; + return objJsonResult; + } + + oItem.HYear = sYear; + oItem.HPeriod = sPeriod; + DBUtility.ClsPub.CurUserName = oItem.HMaker; + oBill.omodel = oItem; + } + //琛ㄤ綋璧嬪�� + //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� + sSubStr = sSubStr.Substring(1, sSubStr.Length - 2); + sSubStr = sSubStr.Replace("\\", ""); + sSubStr = sSubStr.Replace("\n", ""); + sSubStr = "[" + sSubStr.ToString() + "]"; + List<Model.ClsSc_MouldStockBillSub> ls = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldStockBillSub>>(sSubStr); + int i = 0; + foreach (Model.ClsSc_MouldStockBillSub oItemSub in ls) + { + i++; + oItemSub.HEntryID = i; + oBill.DetailColl.Add(oItemSub); + } + + string sErrMsg = ""; + bool bResult; + //鑾峰彇绯荤粺鍙傛暟 + if (oSystemParameter.ShowBill(ref sErrMsg) == true) + { + //淇濆瓨 + if (oBill.omodel.HInterID == 0) //鏂板淇濆瓨 + { + bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + + if (oSystemParameter.omodel.WMS_CampanyName == "鍥涚淮灏�") //绯荤粺鍙傛暟 瀹㈡埛瀹氬埗鍖栧悕绉� 绌虹櫧涓洪�氱敤 + { + //淇敼鍣ㄥ叿妗f浣嶇疆 + string sql1 = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "); + oCn.RunProc(sql1); + } + } + else //缂栬緫淇濆瓨 + { + bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + + if (oSystemParameter.omodel.WMS_CampanyName == "鍥涚淮灏�") //绯荤粺鍙傛暟 瀹㈡埛瀹氬埗鍖栧悕绉� 绌虹櫧涓洪�氱敤 + { + //淇敼鍣ㄥ叿妗f浣嶇疆 + string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); + oCn.RunProc(sql); + } + } + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鑾峰彇绯荤粺鍙傛暟澶辫触锛� " + sErrMsg; objJsonResult.data = null; return objJsonResult; } - DLL.ClsSc_MouldProdBackBill oBill = new DLL.ClsSc_MouldProdBackBill(); - List<Model.ClsSc_MouldProdBackBillMain> lsmain = new List<Model.ClsSc_MouldProdBackBillMain>(); - msg2 = msg2.Replace("\\", ""); - msg2 = msg2.Replace("\n", ""); //\n - lsmain = oListModels.getObjectByJson_Gy_MouldProdBackBillMain(msg2); - foreach (Model.ClsSc_MouldProdBackBillMain oItem in lsmain) - { - //oItem.HMaker = ""; - UserName = oItem.HMaker; //鍒跺崟浜� - oItem.HBillType = "3803"; - oItem.HBillSubType = "3803"; - //oItem.HBillNo = ""; //鍗曟嵁鍙� - //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --鏃ユ湡 - //oItem.HInnerBillNo = ""; // --鍐呴儴鍗曟嵁鍙� - oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); - oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); - //oItem.HEquipID = 0; //璁惧ID(Gy_EquipMent) - //oItem.HPeriod = 0; - //oItem.HCheckBeginDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); // --缁翠慨鏃ユ湡 - //oItem.HCheckResult = ""; //楠屾敹缁撹--(姝e父锛屽紓甯�) - //oItem.HEmpID = 0; //楠屾敹浜�(Gy_Employee) - //oItem.HManagerID = 0; //璐熻矗浜�(Gy_Employee) - //oItem.HDeptID = 0; //楠屾敹閮ㄩ棬(Gy_Department) - //oItem.HExplanation = ""; //鎽樿(鏁呴殰鎻忚堪) - //oItem.HRemark = ""; //澶囨敞 - - //oItem.HMainSourceInterID = oItem.HInterID; - - //oItem.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd("1103", ref DBUtility.ClsPub.sExeReturnInfo); - if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�"; - objJsonResult.data = 1; - return objJsonResult; - } - oBill.omodel = oItem; - } - //琛ㄤ綋鏁版嵁 - //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� - msg3 = msg3.Substring(1, msg3.Length - 2); - msg3 = msg3.Replace("\\", ""); - msg3 = msg3.Replace("\n", ""); //\n - //msg2 = msg2.Replace("'", "鈥�"); - List<Model.ClsSc_MouldProdBackBillSub> ls = new List<Model.ClsSc_MouldProdBackBillSub>(); - ls = oListModels.getObjectByJson_Gy_MouldProdBackBillSub(msg3); - int i = 0; - foreach (Model.ClsSc_MouldProdBackBillSub oItemSub in ls) - { - - i++; - oItemSub.HEntryID = i; - - //oItemSub.HRepairCheckID = 0; //楠屾敹椤圭洰ID - //oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭 - //oItemSub.HManagerID = 0; //璐熻矗浜篒D - //oItemSub.HCloseMan = ""; //琛屽叧闂� - oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); - oItemSub.HCloseType = false; //鍏抽棴绫诲瀷 - //oItemSub.HRemark = ""; //澶囨敞 - oItemSub.HSourceInterID = 0; // 婧愬崟涓诲唴鐮� - oItemSub.HSourceEntryID = 0; //婧愬崟瀛愬唴鐮� - //oItemSub.HSourceBillNo = ""; //婧愬崟鍗曞彿 - //oItemSub.HSourceBillType = ""; //婧愬崟绫诲瀷 - //oItemSub.HRelationQty = 0; //鍏宠仈鏁伴噺 - //oItemSub.HRelationMoney = 0; //鍏宠仈閲戦 - //oItemSub.HRepairID = 0; //缁翠慨椤圭洰 - //oItemSub.HRepairExplanation =""; //缁翠慨瑕佹眰 - //oItemSub.HMoney = 0; //缁翠慨璐圭敤 - oBill.DetailColl.Add(oItemSub); - - } - //淇濆瓨 - //淇濆瓨瀹屾瘯鍚庡鐞� - bool bResult; - if (oBill.omodel.HInterID == 0) - { - // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); - bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); - string sql1 = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "); - oCn.RunProc(sql1); - } - else - { - bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); - //淇敼鎴愬姛 - //string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID 1,{oBill.omodel.HInterID.ToString()},' ' "); - string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); - oCn.RunProc(sql); - } if (bResult) { - string sql =string.Format($"exec h_p_Sc_MouldProdBackBillList '{oBill.omodel.HBillNo}' ") ; - oCn.RunProc(sql); + string sql = string.Format($"exec h_p_Sc_MouldProdBackBillList '{oBill.omodel.HBillNo}' "); objJsonResult.code = "0"; objJsonResult.count = 1; - objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; - //WebAPIController.Add_Log("閫佽揣鍗曚笅鎺�", UserName, "鐢熸垚閫佽揣鍗�"); - objJsonResult.data = 1; + objJsonResult.Message = DBUtility.ClsPub.sExeReturnInfo; //鎴愬姛锛� + objJsonResult.data = null; return objJsonResult; } else @@ -8172,7 +8641,7 @@ objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo; - objJsonResult.data = 1; + objJsonResult.data = null; return objJsonResult; } } @@ -8180,8 +8649,8 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); - objJsonResult.data = 1; + objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.Message; + objJsonResult.data = null; return objJsonResult; } } @@ -8488,7 +8957,158 @@ } #endregion - #region 妯″叿棰嗙敤鍗曚繚瀛�/缂栬緫 + #region 妯″叿棰嗙敤鍗曚繚瀛�/缂栬緫 20240702浣滃簾 + /// <summary> + /// 淇濆瓨妯″叿棰嗙敤鍗� + /// </summary> + /// <param name="msg"></param> + /// <returns></returns> + //[Route("Sc_MouldProdOutBill/SaveGetMouldProdOutBillList")] + //[HttpPost] + //public object SaveGetMouldProdOutBillList([FromBody] JObject msg) + //{ + // var _value = msg["msg"].ToString(); + // string msg1 = _value.ToString(); + // string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); + // string msg2 = sArray[0].ToString(); + // string msg3 = sArray[1].ToString(); + // string msg4 = sArray[2].ToString(); + + + // string UserName = ""; + // ListModels oListModels = new ListModels(); + // try + // { + // //妯″潡鍚嶏紝鍐欏叆鏃ュ織锛屾姤閿欐锛岀敤鎴峰悕 + // if (!DBUtility.ClsPub.Security_Log("Sc_MouldProdOutBill_Edit", 1, false, msg4)) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "娌℃湁淇濆瓨鏉冮檺"; + // objJsonResult.data = null; + // return objJsonResult; + // } + // DLL.ClsSc_MouldProdOutBill oBill = new DLL.ClsSc_MouldProdOutBill(); + // List<Model.ClsSc_MouldProdOutBillMain> lsmain = new List<Model.ClsSc_MouldProdOutBillMain>(); + // msg2 = msg2.Replace("\\", ""); + // msg2 = msg2.Replace("\n", ""); //\n + // lsmain = oListModels.getObjectByJson_Gy_MouldProdOutBillMain(msg2); + // foreach (Model.ClsSc_MouldProdOutBillMain oItem in lsmain) + // { + // //oItem.HMaker = ""; + // UserName = oItem.HMaker; //鍒跺崟浜� + // oItem.HBillType = "3802"; + // oItem.HBillSubType = "3802"; + // //oItem.HBillNo = ""; //鍗曟嵁鍙� + // //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --鏃ユ湡 + // //oItem.HInnerBillNo = ""; // --鍐呴儴鍗曟嵁鍙� + // oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); + // oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); + // //oItem.HEquipID = 0; //璁惧ID(Gy_EquipMent) + // //oItem.HPeriod = 0; + // //oItem.HCheckBeginDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); // --缁翠慨鏃ユ湡 + // //oItem.HCheckResult = ""; //楠屾敹缁撹--(姝e父锛屽紓甯�) + // //oItem.HEmpID = 0; //楠屾敹浜�(Gy_Employee) + // //oItem.HManagerID = 0; //璐熻矗浜�(Gy_Employee) + // //oItem.HDeptID = 0; //楠屾敹閮ㄩ棬(Gy_Department) + // //oItem.HExplanation = ""; //鎽樿(鏁呴殰鎻忚堪) + // //oItem.HRemark = ""; //澶囨敞 + + // //oItem.HMainSourceInterID = oItem.HInterID; + + // //oItem.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd("1103", ref DBUtility.ClsPub.sExeReturnInfo); + // if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�"; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // oBill.omodel = oItem; + // } + // //琛ㄤ綋鏁版嵁 + // //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� + // msg3 = msg3.Substring(1, msg3.Length - 2); + // msg3 = msg3.Replace("\\", ""); + // msg3 = msg3.Replace("\n", ""); //\n + // //msg2 = msg2.Replace("'", "鈥�"); + // List<Model.ClsSc_MouldStockBillSub> ls = new List<Model.ClsSc_MouldStockBillSub>(); + // ls = oListModels.getObjectByJson_Gy_MouldStockBillSub(msg3); + // int i = 0; + // foreach (Model.ClsSc_MouldStockBillSub oItemSub in ls) + // { + + // i++; + // oItemSub.HEntryID = i; + + // //oItemSub.HRepairCheckID = 0; //楠屾敹椤圭洰ID + // //oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭 + // //oItemSub.HManagerID = 0; //璐熻矗浜篒D + // //oItemSub.HCloseMan = ""; //琛屽叧闂� + // oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); + // oItemSub.HCloseType = false; //鍏抽棴绫诲瀷 + // //oItemSub.HRemark = ""; //澶囨敞 + // oItemSub.HSourceInterID = 0; // 婧愬崟涓诲唴鐮� + // oItemSub.HSourceEntryID = 0; //婧愬崟瀛愬唴鐮� + // //oItemSub.HSourceBillNo = ""; //婧愬崟鍗曞彿 + // //oItemSub.HSourceBillType = ""; //婧愬崟绫诲瀷 + // //oItemSub.HRelationQty = 0; //鍏宠仈鏁伴噺 + // //oItemSub.HRelationMoney = 0; //鍏宠仈閲戦 + // //oItemSub.HRepairID = 0; //缁翠慨椤圭洰 + // //oItemSub.HRepairExplanation =""; //缁翠慨瑕佹眰 + // //oItemSub.HMoney = 0; //缁翠慨璐圭敤 + // oBill.DetailColl.Add(oItemSub); + + // } + // //淇濆瓨 + // //淇濆瓨瀹屾瘯鍚庡鐞� + // bool bResult; + // if (oBill.omodel.HInterID == 0) + // { + // // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + // string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'out','{oBill.omodel.HInterID.ToString()}' "); + // oCn.RunProc(sql); + // } + // else + // { + // bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + // //淇敼鎴愬姛 + // //string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID 1,{oBill.omodel.HInterID.ToString()},' ' "); + // string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); + // oCn.RunProc(sql); + // } + // if (bResult) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 1; + // objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; + // //WebAPIController.Add_Log("閫佽揣鍗曚笅鎺�", UserName, "鐢熸垚閫佽揣鍗�"); + // objJsonResult.data = 1; + // return objJsonResult; + // } + // else + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo; + // objJsonResult.data = 1; + // return objJsonResult; + // } + // } + // catch (Exception e) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); + // objJsonResult.data = 1; + // return objJsonResult; + // } + //} + #endregion + + #region 妯″叿棰嗙敤鍗曚繚瀛�/缂栬緫 20240702 /// <summary> /// 淇濆瓨妯″叿棰嗙敤鍗� /// </summary> @@ -8498,125 +9118,126 @@ [HttpPost] public object SaveGetMouldProdOutBillList([FromBody] JObject msg) { + DAL.ClsSc_MouldProdOutBill oBill = new DAL.ClsSc_MouldProdOutBill(); + var _value = msg["msg"].ToString(); string msg1 = _value.ToString(); string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); - string msg2 = sArray[0].ToString(); - string msg3 = sArray[1].ToString(); - string msg4 = sArray[2].ToString(); - - - string UserName = ""; - ListModels oListModels = new ListModels(); + string sMainStr = sArray[0].ToString(); //涓昏〃鏁版嵁 + string sSubStr = sArray[1].ToString(); //瀛愯〃鏁版嵁 + string HMaker = sArray[2].ToString(); //鍒跺崟浜� try { //妯″潡鍚嶏紝鍐欏叆鏃ュ織锛屾姤閿欐锛岀敤鎴峰悕 - if (!DBUtility.ClsPub.Security_Log("Sc_MouldProdOutBill_Edit", 1, false, msg4)) + if (!DBUtility.ClsPub.Security_Log("Sc_MouldProdOutBill_Edit", 1, false, HMaker)) { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "娌℃湁淇濆瓨鏉冮檺"; + objJsonResult.Message = "鎮ㄦ病鏈夎妯″潡鏂板/缂栬緫鏉冮檺,璇蜂笌绠$悊鍛樿仈绯伙紒"; objJsonResult.data = null; return objJsonResult; } - DLL.ClsSc_MouldProdOutBill oBill = new DLL.ClsSc_MouldProdOutBill(); - List<Model.ClsSc_MouldProdOutBillMain> lsmain = new List<Model.ClsSc_MouldProdOutBillMain>(); - msg2 = msg2.Replace("\\", ""); - msg2 = msg2.Replace("\n", ""); //\n - lsmain = oListModels.getObjectByJson_Gy_MouldProdOutBillMain(msg2); + //琛ㄥご璧嬪�� + sMainStr = sMainStr.Replace("\\", ""); + sMainStr = sMainStr.Replace("\n", ""); + sMainStr = "[" + sMainStr.ToString() + "]"; + List<Model.ClsSc_MouldProdOutBillMain> lsmain = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldProdOutBillMain>>(sMainStr); foreach (Model.ClsSc_MouldProdOutBillMain oItem in lsmain) { - //oItem.HMaker = ""; - UserName = oItem.HMaker; //鍒跺崟浜� - oItem.HBillType = "3802"; - oItem.HBillSubType = "3802"; - //oItem.HBillNo = ""; //鍗曟嵁鍙� - //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --鏃ユ湡 - //oItem.HInnerBillNo = ""; // --鍐呴儴鍗曟嵁鍙� - oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); - oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); - //oItem.HEquipID = 0; //璁惧ID(Gy_EquipMent) - //oItem.HPeriod = 0; - //oItem.HCheckBeginDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); // --缁翠慨鏃ユ湡 - //oItem.HCheckResult = ""; //楠屾敹缁撹--(姝e父锛屽紓甯�) - //oItem.HEmpID = 0; //楠屾敹浜�(Gy_Employee) - //oItem.HManagerID = 0; //璐熻矗浜�(Gy_Employee) - //oItem.HDeptID = 0; //楠屾敹閮ㄩ棬(Gy_Department) - //oItem.HExplanation = ""; //鎽樿(鏁呴殰鎻忚堪) - //oItem.HRemark = ""; //澶囨敞 - - //oItem.HMainSourceInterID = oItem.HInterID; - - //oItem.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd("1103", ref DBUtility.ClsPub.sExeReturnInfo); - if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") + if (oItem.HInterID == 0) + { + BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; + } + else + { + BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify; + } + //鍗曟嵁鍙锋槸鍚﹂噸澶� + if (oBill.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, oItem.HInterID)) { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�"; - objJsonResult.data = 1; + objJsonResult.Message = "鍗曟嵁鍙烽噸澶嶏紒涓嶅厑璁镐繚瀛橈紒"; + objJsonResult.data = null; return objJsonResult; } + //鍒ゆ柇浼氳鏈熸槸鍚﹀悎鐞� + string s = ""; + int sYear = 0; + int sPeriod = 0; + if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(oItem.HDate, ref sYear, ref sPeriod, ref s) == false) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = s; + objJsonResult.data = null; + return objJsonResult; + } + + oItem.HYear = sYear; + oItem.HPeriod = sPeriod; + DBUtility.ClsPub.CurUserName = oItem.HMaker; oBill.omodel = oItem; } - //琛ㄤ綋鏁版嵁 + //琛ㄤ綋璧嬪�� //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� - msg3 = msg3.Substring(1, msg3.Length - 2); - msg3 = msg3.Replace("\\", ""); - msg3 = msg3.Replace("\n", ""); //\n - //msg2 = msg2.Replace("'", "鈥�"); - List<Model.ClsSc_MouldStockBillSub> ls = new List<Model.ClsSc_MouldStockBillSub>(); - ls = oListModels.getObjectByJson_Gy_MouldStockBillSub(msg3); + sSubStr = sSubStr.Substring(1, sSubStr.Length - 2); + sSubStr = sSubStr.Replace("\\", ""); + sSubStr = sSubStr.Replace("\n", ""); + sSubStr = "[" + sSubStr.ToString() + "]"; + List<Model.ClsSc_MouldStockBillSub> ls = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldStockBillSub>>(sSubStr); int i = 0; foreach (Model.ClsSc_MouldStockBillSub oItemSub in ls) { - i++; oItemSub.HEntryID = i; - - //oItemSub.HRepairCheckID = 0; //楠屾敹椤圭洰ID - //oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭 - //oItemSub.HManagerID = 0; //璐熻矗浜篒D - //oItemSub.HCloseMan = ""; //琛屽叧闂� - oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); - oItemSub.HCloseType = false; //鍏抽棴绫诲瀷 - //oItemSub.HRemark = ""; //澶囨敞 - oItemSub.HSourceInterID = 0; // 婧愬崟涓诲唴鐮� - oItemSub.HSourceEntryID = 0; //婧愬崟瀛愬唴鐮� - //oItemSub.HSourceBillNo = ""; //婧愬崟鍗曞彿 - //oItemSub.HSourceBillType = ""; //婧愬崟绫诲瀷 - //oItemSub.HRelationQty = 0; //鍏宠仈鏁伴噺 - //oItemSub.HRelationMoney = 0; //鍏宠仈閲戦 - //oItemSub.HRepairID = 0; //缁翠慨椤圭洰 - //oItemSub.HRepairExplanation =""; //缁翠慨瑕佹眰 - //oItemSub.HMoney = 0; //缁翠慨璐圭敤 oBill.DetailColl.Add(oItemSub); - } - //淇濆瓨 - //淇濆瓨瀹屾瘯鍚庡鐞� + + string sErrMsg = ""; bool bResult; - if (oBill.omodel.HInterID == 0) + //鑾峰彇绯荤粺鍙傛暟 + if (oSystemParameter.ShowBill(ref sErrMsg) == true) { - // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); - bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); - string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'out','{oBill.omodel.HInterID.ToString()}' "); - oCn.RunProc(sql); + //淇濆瓨 + if (oBill.omodel.HInterID == 0) //鏂板淇濆瓨 + { + bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + + if (oSystemParameter.omodel.WMS_CampanyName == "鍥涚淮灏�") //绯荤粺鍙傛暟 瀹㈡埛瀹氬埗鍖栧悕绉� 绌虹櫧涓洪�氱敤 + { + //淇敼鍣ㄥ叿妗f浣嶇疆 + string sql = string.Format($"exec h_p_Sc_MouldChangeFileStatus 'out','{oBill.omodel.HInterID.ToString()}' "); + oCn.RunProc(sql); + } + } + else //缂栬緫淇濆瓨 + { + bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + + if (oSystemParameter.omodel.WMS_CampanyName == "鍥涚淮灏�") //绯荤粺鍙傛暟 瀹㈡埛瀹氬埗鍖栧悕绉� 绌虹櫧涓洪�氱敤 + { + //淇敼鍣ㄥ叿妗f浣嶇疆 + string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); + oCn.RunProc(sql); + } + } } else { - bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); - //淇敼鎴愬姛 - //string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID 1,{oBill.omodel.HInterID.ToString()},' ' "); - string sql = string.Format($"exec h_p_Sc_MouldChangeNowWHID "); - oCn.RunProc(sql); + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鑾峰彇绯荤粺鍙傛暟澶辫触锛� " + sErrMsg; + objJsonResult.data = null; + return objJsonResult; } + if (bResult) { objJsonResult.code = "0"; objJsonResult.count = 1; - objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; - //WebAPIController.Add_Log("閫佽揣鍗曚笅鎺�", UserName, "鐢熸垚閫佽揣鍗�"); - objJsonResult.data = 1; + objJsonResult.Message = DBUtility.ClsPub.sExeReturnInfo; //鎴愬姛锛� + objJsonResult.data = null; return objJsonResult; } else @@ -8624,7 +9245,7 @@ objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo; - objJsonResult.data = 1; + objJsonResult.data = null; return objJsonResult; } } @@ -8632,8 +9253,8 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); - objJsonResult.data = 1; + objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.Message; + objJsonResult.data = null; return objJsonResult; } } diff --git a/WebAPI/Controllers/XSGL/Xs_SeOrderBillController.cs b/WebAPI/Controllers/XSGL/Xs_SeOrderBillController.cs index 3dcdc5c..5b56500 100644 --- a/WebAPI/Controllers/XSGL/Xs_SeOrderBillController.cs +++ b/WebAPI/Controllers/XSGL/Xs_SeOrderBillController.cs @@ -442,7 +442,7 @@ { try { - //LogService.Write("閿�鍞鍗曞悓姝�,淇濆瓨鏂规硶鎵ц瀹屾垚寮傚父锛�" + sMainSub.ToString()); + LogService.Write("閿�鍞鍗曞悓姝ワ細" + sMainSub.ToString()); var model = sMainSub["model"].ToString(); var entry = sMainSub["model"]["HENTRY"].ToString(); @@ -456,6 +456,21 @@ oCN.RunProc(sql); sql = $"delete Xs_SeOrderBillSub where HinterID = {mainList[0].HInterID}"; oCN.RunProc(sql); + + LogService.Write("閿�鍞鍗曞悓姝ワ細" + @"Insert Into Xs_SeOrderBillMain + (HInterID, HYear, HPeriod, HBillType, HBillSubType, HDate + , HBillNo, HBillStatus + , HAddress, HSSID, HSSDate, HCusID, HCurID, HExRate + , HEmpID, HManagerID, HDeptID, HExplanation, HRemark, HInnerBillNo + , HChecker, HCheckDate, HMaker, HMakeDate, HCloseMan, HCloseDate + , HERPInterID, HERPBillType, HSALEORGID, HSALEGROUPID, HRECEIVEID, HSETTLEID + , HCHARGEID, HHEADLOCID, HRECCONTACTID, HCORRESPONDORGID, HBUSINESSTYPE) + values(" + mainList[0].HInterID + ", " + DateTime.Now.Year + ", " + DateTime.Now.Month + ", '" + 1401 + "', '" + + mainList[0].HBillSubType + "','" + mainList[0].HDate + "','" + mainList[0].HBillNo + "','" + mainList[0].HBillStatus + "','" + mainList[0].HAddress + "'," + mainList[0].HSSID + + ",'" + mainList[0].HSSDate + "'," + mainList[0].HCusID + "," + mainList[0].HCurID + "," + mainList[0].HExRate + "," + mainList[0].HEmpID + "," + mainList[0].HManagerID + "," + mainList[0].HDeptID + ",'" + mainList[0].HExplanation + "','" + mainList[0].HRemark + "','" + + mainList[0].HInnerBillNo + "','" + mainList[0].HChecker + "','" + mainList[0].HCheckDate + "','" + mainList[0].HMaker + "','" + mainList[0].HMakeDate + "','" + + mainList[0].HCloseMan + "','" + mainList[0].HCloseDate + "'," + mainList[0].HERPInterID + ",'" + + mainList[0].HERPBillType + "'," + mainList[0].HSALEORGID + "," + mainList[0].HSALEGROUPID + "," + mainList[0].HRECEIVEID + "," + mainList[0].HSETTLEID + "," + mainList[0].HCHARGEID + "," + mainList[0].HHEADLOCID + "," + mainList[0].HRECCONTACTID + "," + mainList[0].HCORRESPONDORGID + ",'" + mainList[0].HBUSINESSTYPE + "'" + ")"); //涓昏〃 oCN.RunProc(@"Insert Into Xs_SeOrderBillMain (HInterID,HYear,HPeriod,HBillType,HBillSubType,HDate diff --git "a/WebAPI/Controllers/\344\273\223\345\255\230\347\256\241\347\220\206/\346\235\241\347\240\201\347\224\237\346\210\220/Sc_BarCodeController.cs" "b/WebAPI/Controllers/\344\273\223\345\255\230\347\256\241\347\220\206/\346\235\241\347\240\201\347\224\237\346\210\220/Sc_BarCodeController.cs" index 7d00de4..d66e65e 100644 --- "a/WebAPI/Controllers/\344\273\223\345\255\230\347\256\241\347\220\206/\346\235\241\347\240\201\347\224\237\346\210\220/Sc_BarCodeController.cs" +++ "b/WebAPI/Controllers/\344\273\223\345\255\230\347\256\241\347\220\206/\346\235\241\347\240\201\347\224\237\346\210\220/Sc_BarCodeController.cs" @@ -833,6 +833,8 @@ Int64 HGroupID = 0; long HEmpID = 0; + string HCusModel = ""; //瀹㈡埛鐗╂枡瑙勬牸 + string HCusMaterName = ""; //瀹㈡埛鐗╂枡鍚嶇О DataSet Ds; msg2 = msg2.Replace("\\", ""); @@ -854,6 +856,8 @@ HheatNO = ClsPub.isStrNull(ordrlist[j].HheatNO); HGroupID = ClsPub.isInt(ordrlist[j].HGroupID); HEmpID = ClsPub.isLong(ordrlist[j].HEmpID); + HCusModel = ClsPub.isStrNull(ordrlist[j].HCusModel); + HCusMaterName = ClsPub.isStrNull(ordrlist[j].HCusMaterName); //鏃ユ湡鑾峰彇鏂瑰紡 sDate = DateTime.Now.ToString(); // @@ -1203,6 +1207,8 @@ barcode.HGroupID2 = ordrlist[j].HGroupID; barcode.HEmpID2 = ordrlist[j].HEmpID; + barcode.HCusModel2 = ordrlist[j].HCusModel; + barcode.HCusMaterName2 = ordrlist[j].HCusMaterName; ListRows.Add(barcode); k = k + 1; n = n + 1; @@ -1252,6 +1258,8 @@ DateTime HProduceDate; DateTime HExpiryDate; long HEmpID2 = 0; + string HCusModel2 = ""; + string HCusMaterName2 = ""; try { @@ -1307,6 +1315,8 @@ HExpiryDate = ClsPub.isDate(ListRows[i].HExpiryDate); HGroupID2 = ClsPub.isInt(ListRows[i].HGroupID2); HEmpID2 = ClsPub.isLong(ListRows[i].HEmpID2); + HCusModel2 = ClsPub.isStrNull(ListRows[i].HCusModel2); + HCusMaterName2 = ClsPub.isStrNull(ListRows[i].HCusMaterName2); oCN.RunProc("insert into Gy_BarCodeBill (HBarCode,HBarCodeType,HMaterID,HUnitID,HQty" + ",HBatchNo,HSupID,HGroupID,HMaker,HMakeDate,HPrintQty,HinitQty" + ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HEndQty " + @@ -1315,7 +1325,7 @@ ",HSTOCKORGID,HOWNERID,HSeOrderBillNo,HInterID,HEntryID " + ",HGiveAwayFlag " + ",HMaterName,HMaterModel,HPinfan,HAuxPropID,HMTONo,HInnerBillNo" + - ",HCoilNO,HFurnaceNO,HFactory,HAuxQty,HheatNO,HProduceDate,HExpiryDate,HEmpID " + + ",HCoilNO,HFurnaceNO,HFactory,HAuxQty,HheatNO,HProduceDate,HExpiryDate,HEmpID,HCusModel,HCusMaterName " + ") values (" + "'" + HBarCode + "','" + HBarCodeType + "'," + HMaterID.ToString() + "," + HUnitID.ToString() + "," + HQty2.ToString() + ",'" + HBatchNo2 + "'," + HSupID.ToString() + "," + HGroupID2.ToString() + ",'" + ClsPub.CurUserName + "',getdate()," + HPrintQty.ToString() + "," + HQty2.ToString() @@ -1324,7 +1334,7 @@ + ", " + HCusID.ToString() + ",'" + HCusType + "','" + HEndDate.ToShortDateString() + "','" + HWorkLineName + "','" + sDate + "'" + ", " + HOrgID.ToString() + "," + HOrgID.ToString() + ",'" + HSeOrderBillNo + "'," + HInterID.ToString() + "," + HEntryID.ToString() + "" + ", " + DBUtility.ClsPub.BoolToString(HGiveAwayFlag) - + ",'" + HMaterName + "','" + HMaterModel + "','" + HPinfan + "'," + HAuxPropID.ToString() + ",'" + HMTONo + "','" + HInnerBillNo + "','" + HCoilNO2 + "','" + HFurnaceNO2 + "','" + HFactory2 + "'," + HAuxQty2 + ",'" + HheatNO2 + "','" + HProduceDate + "','" + HExpiryDate + "'," + HEmpID2.ToString() + ")"); + + ",'" + HMaterName + "','" + HMaterModel + "','" + HPinfan + "'," + HAuxPropID.ToString() + ",'" + HMTONo + "','" + HInnerBillNo + "','" + HCoilNO2 + "','" + HFurnaceNO2 + "','" + HFactory2 + "'," + HAuxQty2 + ",'" + HheatNO2 + "','" + HProduceDate + "','" + HExpiryDate + "'," + HEmpID2.ToString() + ",'" + HCusModel2 + "','" + HCusMaterName2 + "'" + ")"); //HNumber = ClsPub.isStrNull(grdSub.Rows[i].Cells[HMaterID2Col].Value); diff --git "a/WebAPI/Controllers/\345\223\201\350\264\250\347\256\241\347\220\206/\345\267\241\346\243\200\345\215\225/QC_PatrolProcCheckOtherBillController.cs" "b/WebAPI/Controllers/\345\223\201\350\264\250\347\256\241\347\220\206/\345\267\241\346\243\200\345\215\225/QC_PatrolProcCheckOtherBillController.cs" index 509f48d..6263785 100644 --- "a/WebAPI/Controllers/\345\223\201\350\264\250\347\256\241\347\220\206/\345\267\241\346\243\200\345\215\225/QC_PatrolProcCheckOtherBillController.cs" +++ "b/WebAPI/Controllers/\345\223\201\350\264\250\347\256\241\347\220\206/\345\267\241\346\243\200\345\215\225/QC_PatrolProcCheckOtherBillController.cs" @@ -24,7 +24,7 @@ //鑾峰彇绯荤粺鍙傛暟 Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter(); - #region 宸℃鍗曞垪琛� 涓� 缂栬緫鍥炴樉 + #region 宸℃鍗曞垪琛� [Route("QC_PatrolProcCheckOtherBill/QC_PatrolProcCheckOtherBillList")] [HttpGet] public object QC_FirstPieceCheckBillList(string sWhere, string user) @@ -34,7 +34,7 @@ List<object> columnNameList = new List<object>(); string sql1 = "select * from h_v_QC_PatrolProcCheckOtherBill where 1 = 1 "; - string sql = sql1 + sWhere + " order by hmainid desc"; + string sql = sql1 + sWhere + " order by hmainid "; ds = oCN.RunProcReturn(sql, "h_v_QC_PatrolProcCheckOtherBill"); //娣诲姞鍒楀悕 @@ -63,6 +63,45 @@ } #endregion + #region 宸℃鍗曠紪杈戝洖鏄� + [Route("QC_PatrolProcCheckOtherBill/QC_PatrolProcCheckOtherBillList_Edit")] + [HttpGet] + public object QC_FirstPieceCheckBillList_Edit(string sWhere, string user) + { + try + { + List<object> columnNameList = new List<object>(); + + string sql1 = "select * from h_v_QC_PatrolProcCheckOtherBill_Edit where 1 = 1 "; + string sql = sql1 + sWhere + " order by hmainid desc"; + ds = oCN.RunProcReturn(sql, "h_v_QC_PatrolProcCheckOtherBill_Edit"); + + //娣诲姞鍒楀悕 + 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));//鑾峰彇鍒癉ataColumn鍒楀璞$殑鍒楀悕 + } + + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "Sucess锛�"; + objJsonResult.list = columnNameList; + 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 宸℃鍗曚繚瀛� [Route("QC_PatrolProcCheckOtherBill/set_SaveBill")] [HttpPost] diff --git "a/WebAPI/Controllers/\345\223\201\350\264\250\347\256\241\347\220\206/\345\267\245\345\272\217\346\243\200\351\252\214\345\215\225/QC_ProcessCheckBillController.cs" "b/WebAPI/Controllers/\345\223\201\350\264\250\347\256\241\347\220\206/\345\267\245\345\272\217\346\243\200\351\252\214\345\215\225/QC_ProcessCheckBillController.cs" index 567aeef..6571cac 100644 --- "a/WebAPI/Controllers/\345\223\201\350\264\250\347\256\241\347\220\206/\345\267\245\345\272\217\346\243\200\351\252\214\345\215\225/QC_ProcessCheckBillController.cs" +++ "b/WebAPI/Controllers/\345\223\201\350\264\250\347\256\241\347\220\206/\345\267\245\345\272\217\346\243\200\351\252\214\345\215\225/QC_ProcessCheckBillController.cs" @@ -177,6 +177,56 @@ } #endregion + #region 宸ュ簭妫�楠屽崟缂栬緫鏌ヨ鏁版嵁 + [Route("QC_ProcessCheckBill/QC_ProcessCheckBill_Edit")] + [HttpGet] + public object QC_ProcessCheckBill_Edit(string sWhere, string user) + { + try + { + List<object> columnNameList = new List<object>(); + + string sql1 = "select * from h_v_QC_ProcessCheckBill_Edit where 1 = 1 "; + string sql = sql1 + sWhere + " order by hmainid desc"; + ds = oCN.RunProcReturn(sql, "h_v_QC_ProcessCheckBill_Edit"); + + //娣诲姞鍒楀悕 + 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));//鑾峰彇鍒癉ataColumn鍒楀璞$殑鍒楀悕 + } + + if (ds.Tables[0].Rows.Count > 0) + { + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "Sucess锛�"; + objJsonResult.list = columnNameList; + objJsonResult.data = ds.Tables[0]; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "娌℃湁鏌ヨ鍒版暟鎹�"; + objJsonResult.list = columnNameList; + 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> diff --git "a/WebAPI/Controllers/\345\223\201\350\264\250\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_QualityReportsController.cs" "b/WebAPI/Controllers/\345\223\201\350\264\250\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_QualityReportsController.cs" index c8a752a..4d9a36f 100644 --- "a/WebAPI/Controllers/\345\223\201\350\264\250\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_QualityReportsController.cs" +++ "b/WebAPI/Controllers/\345\223\201\350\264\250\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_QualityReportsController.cs" @@ -465,13 +465,29 @@ /// </summary> [Route("QC_CustomerAppealReport/QC_InspectionFormReport")] [HttpGet] - public object QC_InspectionFormReport(string sWhere) + public object QC_InspectionFormReport(string sWhere,string user) { try { List<object> columnNameList = new List<object>(); + if (sWhere == null || sWhere == "") { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鏃犳煡璇㈡潯浠讹紒"; + objJsonResult.data = null; + return objJsonResult; + } - //ds = oCN.RunProcReturn("exec h_p_QC_InspectionFormReport '" + Year + "','" + DeptName + "'", "h_p_QC_InspectionFormReport"); + Dictionary<object, object> dic = Newtonsoft.Json.JsonConvert.DeserializeObject<Dictionary<object, object>>(sWhere); + + + string HBeginDate = dic["HBeginDate"].ToString(); + string HEndDate = dic["HEndDate"].ToString(); + int limit = int.Parse(dic["limit"].ToString()); + int HQCCheckItemID = int.Parse(dic["HQCCheckItemID"].ToString()); + int HMaterID = int.Parse(dic["HMaterID"].ToString()); + + ds = oCN.RunProcReturn("exec h_p_QC_InspectionFormReport '" + HBeginDate + "','" + HEndDate + "'," + limit + "," + HQCCheckItemID + "," + HMaterID, "h_p_QC_InspectionFormReport"); //娣诲姞鍒楀悕 foreach (DataColumn col in ds.Tables[0].Columns) diff --git "a/WebAPI/Controllers/\345\223\201\350\264\250\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_FirstPieceCheckBillController.cs" "b/WebAPI/Controllers/\345\223\201\350\264\250\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_FirstPieceCheckBillController.cs" index 5cbbc19..89cccb6 100644 --- "a/WebAPI/Controllers/\345\223\201\350\264\250\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_FirstPieceCheckBillController.cs" +++ "b/WebAPI/Controllers/\345\223\201\350\264\250\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_FirstPieceCheckBillController.cs" @@ -126,6 +126,57 @@ } #endregion + #region 棣栦欢妫�楠屽崟缂栬緫鑾峰彇鏁版嵁 + [Route("QC_FirstPieceCheckBill/QC_FirstPieceCheckBill_Edit")] + [HttpGet] + public object QC_FirstPieceCheckBill_Edit(string sWhere, string user) + { + try + { + List<object> columnNameList = new List<object>(); + + string sql1 = "select * from h_v_QC_FirstPieceCheckBill_Edit where 1 = 1 "; + string sql = sql1 + sWhere + " order by hmainid desc"; + ds = oCN.RunProcReturn(sql, "h_v_QC_FirstPieceCheckBill_Edit"); + + //娣诲姞鍒楀悕 + 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));//鑾峰彇鍒癉ataColumn鍒楀璞$殑鍒楀悕 + } + + if (ds.Tables[0].Rows.Count > 0) + { + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "Sucess锛�"; + objJsonResult.list = columnNameList; + objJsonResult.data = ds.Tables[0]; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "娌℃湁鏌ヨ鍒版暟鎹�"; + objJsonResult.list = columnNameList; + 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 棣栦欢妫�楠屽崟淇濆瓨 [Route("QC_FirstPieceCheckBill/set_SaveBill")] [HttpPost] @@ -1113,6 +1164,42 @@ } #endregion + #region 棣栦欢 鏍规嵁宸ュ簭鎴栬�呯敓浜ц祫婧愬幓鏌ヨ鏁版嵁 + [Route("CheckBill/GetICMOBillStatusList")] + [HttpGet] + public object GetICMOBillStatusList(string sWhere, string user) + { + try + { + ds = oCN.RunProcReturn("select * from h_v_Sc_ICMOBillStatus_TmpList where 1=1 " + sWhere.ToString(), " h_v_Sc_ICMOBillStatus_TmpList "); + + if (ds.Tables[0].Rows.Count > 0) + { + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "Sucess锛�"; + objJsonResult.data = ds.Tables[0]; + return objJsonResult; + } + else { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鏌ユ棤鏁版嵁锛�"; + objJsonResult.data = null; + return objJsonResult; + } + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鏌ヨ鏁版嵁寮傚父锛岃涓庣鐞嗗憳鑱旂郴锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + #endregion + #region 棣栦欢妫�楠屽崟鏍规嵁婧愬崟绫诲瀷鑾峰彇淇℃伅-婧愬崟涓虹敓浜х姸鎬佷复鏃惰〃锛�3722锛� /// <summary> ///鍙傛暟锛歴tring sql銆� diff --git "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_PaymentConditionListBillController.cs" "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_PaymentConditionListBillController.cs" index 93ac359..9c73ef4 100644 --- "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_PaymentConditionListBillController.cs" +++ "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_PaymentConditionListBillController.cs" @@ -354,6 +354,7 @@ try { var _value = msg["model"].ToString(); + LogService.Write("瀹㈡埛:" + _value); SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); ListModels oListModels = new ListModels(); List<Model.ClsGy_PaymentCondition_Model> lsmain = new List<Model.ClsGy_PaymentCondition_Model>(); @@ -366,6 +367,15 @@ sql = "set identity_insert Gy_PaymentCondition on"; oCN.RunProc(sql); + LogService.Write("瀹㈡埛:" + $@"insert into Gy_PaymentCondition(HItemID,HNumber,HName ,HShortNumber ,HParentID ,HLevel + ,HEndFlag ,HStopflag ,HRemark ,HHelpCode ,HUseFlag + ,HMakeTime ,HMakeEmp ,HCheckEmp ,HCheckTime ,HModifyEmp + ,HModifyTime ,HStopEmp ,HStopTime ,HUSEORGID,HCREATEORGID) + values({lsmain[0].HItemID},'{lsmain[0].HNumber}','{lsmain[0].HName}','{lsmain[0].HShortNumber}',{lsmain[0].HParentID},{lsmain[0].HLevel} + ,{Convert.ToString(lsmain[0].HEndFlag ? 1 : 0)},{Convert.ToString(lsmain[0].HStopflag ? 1 : 0) },'{lsmain[0].HRemark}','{lsmain[0].HHelpCode}','{lsmain[0].HUseFlag}' + ,'{lsmain[0].HMakeTime}','{lsmain[0].HMakeEmp}','{lsmain[0].HCheckEmp}','{lsmain[0].HCheckTime}','{lsmain[0].HModifyEmp}' + ,'{lsmain[0].HModifyTime}','{lsmain[0].HStopEmp}',null,{lsmain[0].HUSEORGID},{lsmain[0].HCREATEORGID})"); + oCN.RunProc($@"insert into Gy_PaymentCondition(HItemID,HNumber,HName ,HShortNumber ,HParentID ,HLevel ,HEndFlag ,HStopflag ,HRemark ,HHelpCode ,HUseFlag ,HMakeTime ,HMakeEmp ,HCheckEmp ,HCheckTime ,HModifyEmp diff --git "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_RateTypeController.cs" "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_RateTypeController.cs" index 4a3490c..37bf77d 100644 --- "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_RateTypeController.cs" +++ "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_RateTypeController.cs" @@ -351,6 +351,7 @@ try { var _value = msg["model"].ToString(); + LogService.Write("姹囩巼:" + _value.ToString()); SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); ListModels oListModels = new ListModels(); List<Model.ClsGy_RateType_Model> lsmain = new List<Model.ClsGy_RateType_Model>(); @@ -363,6 +364,15 @@ sql = "set identity_insert Gy_RateType on"; oCN.RunProc(sql); + LogService.Write("姹囩巼:" + $@"insert into Gy_RateType(HItemID,HNumber,HName ,HShortNumber,HParentID ,HLevel + ,HEndFlag,HStopflag,HRemark ,HHelpCode ,HUseFlag + ,HMakeTime ,HMakeEmp ,HCheckEmp ,HCheckTime ,HModifyEmp + ,HModifyTime ,HStopEmp ,HStopTime ,HUSEORGID,HCREATEORGID) + values({lsmain[0].HItemID},'{lsmain[0].HNumber}','{lsmain[0].HName}','{lsmain[0].HShortNumber}',{lsmain[0].HParentID},{lsmain[0].HLevel} + ,{Convert.ToString(lsmain[0].HEndFlag ? 1 : 0)},{Convert.ToString(lsmain[0].HStopflag ? 1 : 0) },'{lsmain[0].HRemark}','{lsmain[0].HHelpCode}','{lsmain[0].HUseFlag}' + ,'{lsmain[0].HMakeTime}','{lsmain[0].HMakeEmp}','{lsmain[0].HCheckEmp}','{lsmain[0].HCheckTime}','{lsmain[0].HModifyEmp}' + ,'{lsmain[0].HModifyTime}','{lsmain[0].HStopEmp}',null,{lsmain[0].HUSEORGID},{lsmain[0].HCREATEORGID})"); + oCN.RunProc($@"insert into Gy_RateType(HItemID,HNumber,HName ,HShortNumber,HParentID ,HLevel ,HEndFlag,HStopflag,HRemark ,HHelpCode ,HUseFlag ,HMakeTime ,HMakeEmp ,HCheckEmp ,HCheckTime ,HModifyEmp diff --git "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_RecConditionBillController.cs" "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_RecConditionBillController.cs" index 88a487c..ff06838 100644 --- "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_RecConditionBillController.cs" +++ "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_RecConditionBillController.cs" @@ -351,6 +351,7 @@ try { var _value = msg["model"].ToString(); + LogService.Write("鏀舵鏉′欢:" + _value.ToString()); SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); ListModels oListModels = new ListModels(); List<Model.ClsGy_RecCondition_Model> lsmain = new List<Model.ClsGy_RecCondition_Model>(); @@ -363,6 +364,14 @@ sql = "set identity_insert Gy_RecCondition on"; oCN.RunProc(sql); + LogService.Write("鏀舵鏉′欢:" + $@"insert into Gy_RecCondition(HItemID,HNumber,HName ,HShortNumber ,HParentID ,HLevel + ,HEndFlag ,HStopflag ,HRemark ,HHelpCode ,HUseFlag + ,HMakeTime ,HMakeEmp ,HCheckEmp ,HCheckTime ,HModifyEmp + ,HModifyTime ,HStopEmp ,HStopTime ,HUSEORGID,HCREATEORGID) + values({lsmain[0].HItemID},'{lsmain[0].HNumber}','{lsmain[0].HName}','{lsmain[0].HShortNumber}',{lsmain[0].HParentID},{lsmain[0].HLevel} + ,{Convert.ToString(lsmain[0].HEndFlag ? 1 : 0)},{Convert.ToString(lsmain[0].HStopflag ? 1 : 0) },'{lsmain[0].HRemark}','{lsmain[0].HHelpCode}','{lsmain[0].HUseFlag}' + ,'{lsmain[0].HMakeTime}','{lsmain[0].HMakeEmp}','{lsmain[0].HCheckEmp}','{lsmain[0].HCheckTime}','{lsmain[0].HModifyEmp}' + ,'{lsmain[0].HModifyTime}','{lsmain[0].HStopEmp}',null,{lsmain[0].HUSEORGID},{lsmain[0].HCREATEORGID})"); oCN.RunProc($@"insert into Gy_RecCondition(HItemID,HNumber,HName ,HShortNumber ,HParentID ,HLevel ,HEndFlag ,HStopflag ,HRemark ,HHelpCode ,HUseFlag ,HMakeTime ,HMakeEmp ,HCheckEmp ,HCheckTime ,HModifyEmp diff --git "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockStatusBillController.cs" "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockStatusBillController.cs" index cc8baff..66fdac1 100644 --- "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockStatusBillController.cs" +++ "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockStatusBillController.cs" @@ -354,6 +354,7 @@ { try { + LogService.Write("搴撳瓨鐘舵�侊細" + msg.ToString()); var _value = msg["model"].ToString(); SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); ListModels oListModels = new ListModels(); @@ -366,6 +367,15 @@ oCN.RunProc(sql); sql = "set identity_insert Gy_StockStatus on"; oCN.RunProc(sql); + LogService.Write("搴撳瓨鐘舵�侊細" + $@"insert into Gy_StockStatus(HItemID,HNumber,HName ,HShortNumber ,HParentID ,HLevel + ,HEndFlag ,HStopflag ,HRemark ,HHelpCode ,HUseFlag + ,HMakeTime ,HMakeEmp ,HCheckEmp ,HCheckTime ,HModifyEmp + ,HModifyTime ,HStopEmp ,HStopTime ,HUSEORGID,HCREATEORGID) + values({lsmain[0].HItemID},'{lsmain[0].HNumber}','{lsmain[0].HName}','{lsmain[0].HShortNumber}',{lsmain[0].HParentID},{lsmain[0].HLevel} + ,{Convert.ToString(lsmain[0].HEndFlag ? 1 : 0)},{Convert.ToString(lsmain[0].HStopflag ? 1 : 0) },'{lsmain[0].HRemark}','{lsmain[0].HHelpCode}','{lsmain[0].HUseFlag}' + ,'{lsmain[0].HMakeTime}','{lsmain[0].HMakeEmp}','{lsmain[0].HCheckEmp}','{lsmain[0].HCheckTime}','{lsmain[0].HModifyEmp}' + ,'{lsmain[0].HModifyTime}','{lsmain[0].HStopEmp}',null,{lsmain[0].HUSEORGID},{lsmain[0].HCREATEORGID})"); + oCN.RunProc($@"insert into Gy_StockStatus(HItemID,HNumber,HName ,HShortNumber ,HParentID ,HLevel ,HEndFlag ,HStopflag ,HRemark ,HHelpCode ,HUseFlag diff --git "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_TaxRateBillController.cs" "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_TaxRateBillController.cs" index 2e0fb30..dec63d6 100644 --- "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_TaxRateBillController.cs" +++ "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_TaxRateBillController.cs" @@ -354,6 +354,7 @@ { try { + LogService.Write("绋庣巼锛�" + msg.ToString()); var _value = msg["model"].ToString(); SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); ListModels oListModels = new ListModels(); @@ -367,6 +368,15 @@ sql = "set identity_insert Gy_TaxRate on"; oCN.RunProc(sql); + LogService.Write("绋庣巼锛�" + $@"insert into Gy_TaxRate(HItemID,HNumber,HName ,HTaxRate,HShortNumber ,HParentID ,HLevel + ,HEndFlag ,HStopflag ,HRemark ,HHelpCode ,HUseFlag + ,HMakeTime ,HMakeEmp ,HCheckEmp ,HCheckTime ,HModifyEmp + ,HModifyTime ,HStopEmp ,HStopTime ,HUSEORGID,HCREATEORGID) + values({lsmain[0].HItemID},'{lsmain[0].HNumber}','{lsmain[0].HName}',{lsmain[0].HTaxRate},'{lsmain[0].HShortNumber}',{lsmain[0].HParentID},{lsmain[0].HLevel} + ,{Convert.ToString(lsmain[0].HEndFlag ? 1 : 0)},{Convert.ToString(lsmain[0].HStopflag ? 1 : 0) },'{lsmain[0].HRemark}','{lsmain[0].HHelpCode}','{lsmain[0].HUseFlag}' + ,'{lsmain[0].HMakeTime}','{lsmain[0].HMakeEmp}','{lsmain[0].HCheckEmp}','{lsmain[0].HCheckTime}','{lsmain[0].HModifyEmp}' + ,'{lsmain[0].HModifyTime}','{lsmain[0].HStopEmp}',null,{lsmain[0].HUSEORGID},{lsmain[0].HCREATEORGID})"); + oCN.RunProc($@"insert into Gy_TaxRate(HItemID,HNumber,HName ,HTaxRate,HShortNumber ,HParentID ,HLevel ,HEndFlag ,HStopflag ,HRemark ,HHelpCode ,HUseFlag ,HMakeTime ,HMakeEmp ,HCheckEmp ,HCheckTime ,HModifyEmp diff --git "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WorkController.cs" "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WorkController.cs" index 9434442..56d2d9a 100644 --- "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WorkController.cs" +++ "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WorkController.cs" @@ -350,6 +350,7 @@ { try { + LogService.Write("浣滀笟锛�" + msg.ToString()); var _value = msg["model"].ToString(); SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); ListModels oListModels = new ListModels(); @@ -362,6 +363,13 @@ oCN.RunProc(sql); sql = "set identity_insert Gy_Work on"; oCN.RunProc(sql); + + LogService.Write("浣滀笟锛�" + $@"insert into Gy_Work(HItemID,HNumber,HName,HHelpCode,HShortNumber,HParentID, + HLevel,HEndFlag,HStopflag,HRemark,HUseFlag,HUSEORGID,HCREATEORGID,HWORKCENTERID) + values({lsmain[0].HItemID},'{lsmain[0].HNumber}','{lsmain[0].HName}','{lsmain[0].HHelpCode}','{lsmain[0].HShortNumber}', + {lsmain[0].HParentID},{lsmain[0].HLevel},{Convert.ToString(lsmain[0].HEndFlag ? 1 : 0)},{Convert.ToString(lsmain[0].HStopflag ? 1 : 0) }, + '{lsmain[0].HRemark}','{lsmain[0].HUseFlag}',{lsmain[0].HUSEORGID},{lsmain[0].HCREATEORGID},{lsmain[0].HWORKCENTERID})"); + oCN.RunProc($@"insert into Gy_Work(HItemID,HNumber,HName,HHelpCode,HShortNumber,HParentID, HLevel,HEndFlag,HStopflag,HRemark,HUseFlag,HUSEORGID,HCREATEORGID,HWORKCENTERID) values({lsmain[0].HItemID},'{lsmain[0].HNumber}','{lsmain[0].HName}','{lsmain[0].HHelpCode}','{lsmain[0].HShortNumber}', diff --git "a/WebAPI/Controllers/\346\235\241\347\240\201\347\256\241\347\220\206/WEBSController.cs" "b/WebAPI/Controllers/\346\235\241\347\240\201\347\256\241\347\220\206/WEBSController.cs" index 53bcc62..c42c0a8 100644 --- "a/WebAPI/Controllers/\346\235\241\347\240\201\347\256\241\347\220\206/WEBSController.cs" +++ "b/WebAPI/Controllers/\346\235\241\347\240\201\347\256\241\347\220\206/WEBSController.cs" @@ -987,6 +987,88 @@ #endregion + #region 宸ュ簭璧勬枡 + + /// <summary> + /// 鎵爜杩斿洖宸ュ簭淇℃伅 + /// </summary> + /// <returns></returns> + [Route("WEBSController/GetProcess_Json")] + [HttpGet] + public object GetProcess_Json(string HBarCode, Int64 HStockOrgID) + { + try + { + Int64 HProcID = 0; + HProcID = DBUtility.ClsPub.isLong(HBarCode); + ds = oCn.RunProcReturn("select HItemID,HNumber,HName from Gy_Process with(nolock) where HStopflag=0 and HItemID=" + HProcID.ToString() + " and HUSEORGID = " + HStockOrgID.ToString(), "Gy_Process"); + 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 = "0"; + objJsonResult.count = 1; + objJsonResult.Message = "鎴愬姛锛�"; + objJsonResult.data = ds.Tables[0]; + return objJsonResult; + } + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "杩斿洖宸ュ簭淇℃伅澶辫触锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + + /// <summary> + /// 鑾峰彇宸ュ簭鍒楄〃淇℃伅 + /// </summary> + /// <returns></returns> + [Route("WEBSController/GetProcessList_Json")] + [HttpGet] + public object GetProcessList_Json(string Process, Int64 HStockOrgID) + { + try + { + ds = oCn.RunProcReturn("select HItemID,HNumber,HName from Gy_Process with(nolock) where HStopflag=0 and HUSEORGID=" + HStockOrgID.ToString() + " and (HNumber like '%" + Process + "%' or HName like '%" + Process + "%')", "Gy_Process"); + 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 = "0"; + objJsonResult.count = 1; + objJsonResult.Message = "鎴愬姛锛�"; + objJsonResult.data = ds.Tables[0]; + return objJsonResult; + } + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "杩斿洖宸ュ簭淇℃伅澶辫触锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + + #endregion + #endregion @@ -3387,6 +3469,8 @@ BillNew.omodel.HWorkerID = mainList[0].HWorkerID; BillNew.omodel.HWorkerBarCode = mainList[0].HWorkerBarCode; BillNew.omodel.HGroupID = mainList[0].HGroupID; + BillNew.omodel.HProcID = mainList[0].HProcID; + BillNew.omodel.HProcNo = mainList[0].HProcNo; BillNew.omodel.HMainSourceBillType = mainList[0].HMainSourceBillType; if (mainList[0].HMainSourceBillType == "3772") { @@ -5969,6 +6053,55 @@ #endregion + #region 涓婃枡闃查敊鍗曟壂鐮佹ā鍧� 娴佹按鍙峰洖杞﹁皟鐢ㄦ柟娉� + /// <summary> + /// 娴佹按鍙峰洖杞﹁繑鍥炰俊鎭� + /// </summary> + /// <returns></returns> + [Route("WEBSController/get_ProcNo_MaterToSource_Json")] + [HttpGet] + public object get_ProcNo_MaterToSource_Json(Int64 HInterID, string HBillNo, string HBillType, string HProcExchBillNo, Int64 HProcNo, string HMaker) + { + try + { + ds = oCn.RunProcReturn("exec h_p_WMS_AddProcNo_MaterToSource " + HInterID.ToString() + ",'" + HBillNo + "','" + HBillType + "','" + HProcExchBillNo + "'," + HProcNo.ToString() + ",'" + HMaker + "'", "h_p_WMS_AddProcNo_MaterToSource"); + if (ds == null || ds.Tables[0].Rows.Count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "娴佹按鍙峰洖杞﹁繑鍥炰俊鎭垽鏂け璐ワ紒"; + objJsonResult.data = null; + return objJsonResult; + } + else if (DBUtility.ClsPub.isLong(ds.Tables[0].Rows[0]["HBack"]) == 1) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HRemark"]); + objJsonResult.data = null; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = "鎴愬姛锛�"; + objJsonResult.data = ds.Tables[0]; + return objJsonResult; + } + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "娴佹按鍙峰洖杞﹁繑鍥炰俊鎭触锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + + #endregion + #region 涓婃枡闃查敊鍗曟壂鐮佹ā鍧� 鎵弿鐗╂枡鏉$爜璋冪敤鏂规硶 /// <summary> /// 鎵弿鐗╂枡鏉$爜 diff --git "a/WebAPI/Controllers/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillController.cs" "b/WebAPI/Controllers/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillController.cs" index 95eff1a..0c2f60c 100644 --- "a/WebAPI/Controllers/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillController.cs" +++ "b/WebAPI/Controllers/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillController.cs" @@ -308,7 +308,7 @@ { try { - //LogService.Write(sMainSub.ToString()); + LogService.Write("鐢熶骇璁㈠崟"+sMainSub.ToString()); var model = sMainSub["model"].ToString(); var entry = sMainSub["model"]["HENTRY"].ToString(); var _model = sMainSub["model"]["HPPBOMMAINENTRY"].ToString(); @@ -324,6 +324,18 @@ oCN.RunProc(sql); sql = $"delete Sc_ICMOBillSub where HinterID = {mainList[0].HInterID}"; oCN.RunProc(sql); + + LogService.Write("鐢熶骇璁㈠崟" + @"Insert Into Sc_ICMOBillMain + (HBillType,HInterID,HBillNo,HDate,HPRDORGID + ,HYear,HPeriod,HRemark,HMaker,HMakeDate,HChecker,HCheckDate + ,HSeOrderBillNo,HSeOrderInterID,HSeOrderEntryID,HEmpID,HCusID + ,HCenterID,HPlanQty,HDeptID,HMaterID,HUnitID,HBomID,HPlanBeginDate,HPlanEndDate,HBillStatus + ,HOWNERID,HOWNERTYPEID) + values('3710'," + mainList[0].HInterID + ",'" + mainList[0].HBillNo + "','" + mainList[0].HDate + "'," + mainList[0].HPRDORGID + + "," + DateTime.Now.Year + "," + DateTime.Now.Month + ",'" + mainList[0].HRemark + "','" + mainList[0].HMaker + "',getdate(),'" + mainList[0].HMaker + "',getdate()" + + ",'" + mainList[0].HSeOrderBillNo + "'," + mainList[0].HSeOrderInterID + "," + mainList[0].HSeOrderEntryID + "," + mainList[0].HEmpID + "," + mainList[0].HCusID + + "," + mainList[0].HCenterID + "," + mainList[0].HPlanQty + ",0,0,0,0,'','',2" + + "," + mainList[0].HOWNERID + ",'" + mainList[0].HOWNERTYPEID + "') "); //涓昏〃 oCN.RunProc(@"Insert Into Sc_ICMOBillMain (HBillType,HInterID,HBillNo,HDate,HPRDORGID diff --git "a/WebAPI/Controllers/\347\224\237\344\272\247\347\256\241\347\220\206/\350\264\250\351\207\217\346\261\207\346\212\245\345\215\225/Sc_QualityReportBillController.cs" "b/WebAPI/Controllers/\347\224\237\344\272\247\347\256\241\347\220\206/\350\264\250\351\207\217\346\261\207\346\212\245\345\215\225/Sc_QualityReportBillController.cs" index 1fc4027..528228b 100644 --- "a/WebAPI/Controllers/\347\224\237\344\272\247\347\256\241\347\220\206/\350\264\250\351\207\217\346\261\207\346\212\245\345\215\225/Sc_QualityReportBillController.cs" +++ "b/WebAPI/Controllers/\347\224\237\344\272\247\347\256\241\347\220\206/\350\264\250\351\207\217\346\261\207\346\212\245\345\215\225/Sc_QualityReportBillController.cs" @@ -631,7 +631,7 @@ #region 鎻愪氦淇濆瓨锛屽瓨涓诲瓙琛ㄥ強鏄庣粏琛� [Route("Sc_QualityReportBill/set_SaveBill")] [HttpGet] - public object set_SaveBill(long HInterID,string HBillNo, string HChecker,string HBadReasonHQty) + public object set_SaveBill(long HInterID,string HBillNo, string HChecker) { try { @@ -658,8 +658,18 @@ return objJsonResult; } //========================================================= - //淇濆瓨 - oCN.RunProc("exec h_p_save_Sc_QualityReportBill " + HInterID+",'"+ HBadReasonHQty +"'"); + //淇濆瓨 鎵归噺淇濆瓨鍏堢湅瀛愯〃鏄惁鏈夋暟鎹�,鏈夋暟鎹氨杩� 瀛樺叆涓昏〃 鏄庣粏琛� 娌℃湁灏卞瓨鍌ㄤ富瀛愭槑缁嗚〃 + string sql = "select * from Sc_QualityReportBillSub where HInterID = '" + HInterID + "'"; + ds = oCN.RunProcReturn(sql, "Sc_QualityReportBillSub"); + if (ds.Tables[0].Rows.Count>0) + { + oCN.RunProc("exec h_p_save_Sc_QualityReportBillSum " + HInterID + ""); + } + else + { + oCN.RunProc("exec h_p_save_Sc_QualityReportBill " + HInterID + ""); + } + //鍒ゆ柇鏄惁鍏佽淇濆瓨锛屼笉鍏佽鍒欏洖婊� ds = oCN.RunProcReturn("exec h_p_JIT_ICMOBillQualityStatus_SaveCtrl", "h_p_JIT_ICMOBillQualityStatus_SaveCtrl"); if (ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBack"]) == "2") @@ -739,6 +749,101 @@ objJsonResult.count = 0; objJsonResult.Message = "Exception锛�" + e.ToString(); objJsonResult.data = null; + return objJsonResult; + } + } + #endregion + + #region 涓嶈壇閲囬泦鎵归噺姹囨姤 鏂板 + [Route("Sc_QualityReportBill/SaveSc_QualityReportBillSub")] + [HttpPost] + public object SaveSc_QualityReportBillSub([FromBody] JObject msg) + { + var _value = msg["msg"].ToString(); + string msg1 = _value.ToString(); + string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); + string msg2 = sArray[0].ToString(); //琛ㄥご鏁版嵁 + string msg3 = sArray[1].ToString(); //瀛愯〃1鏁版嵁 + string refSav = sArray[2].ToString(); //鎿嶄綔鏂瑰紡 + string msg4 = sArray[3].ToString(); //鐢ㄦ埛 + + DBUtility.ClsPub.CurUserName = msg4; + ListModels oListModels = new ListModels(); + try + { + DAL.ClsSc_QualityReportBill oBill = new DAL.ClsSc_QualityReportBill(); + //琛ㄤ綋鏁版嵁 + //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� + msg3 = msg3.Substring(1, msg3.Length - 2); + msg3 = msg3.Replace("\\", ""); + msg3 = msg3.Replace("\n", ""); //\n + + List<Model.ClsSc_QualityReportBillSub> ls = new List<Model.ClsSc_QualityReportBillSub>(); + ls = oListModels.getObjectByJson_Sc_QualityReportBillSub(msg3); + int i = 0; + foreach (Model.ClsSc_QualityReportBillSub oSub in ls) + { + + i++; + oSub.HMakeDate = DateTime.Now; + oSub.HEntryID = i; + string subSql = "Insert into Sc_QualityReportBillSub " + + " (HInterID,HEntryID,HBillNo_bak,HRemark" + + ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" + + ",HMaterID,HUnitID,HQty,HResult,HEmpID,HSourceID,HBadReasonID,HBadReasonNumber,HGroupID" + + ",HICMOInterID,HICMOEntryID,HICMOBillNo,HProcExchInterID,HProcExchEntryID,HProcExchBillNo" + + ",HBarCode,HReportType" + + ",HAddr,HMaker,HMakeDate" + + ") values(" + + "" + oSub.HInterID.ToString() + "" + + "," + oSub.HEntryID.ToString() + "" + + ",'" + oSub.HBillNo_bak + "'" + + ",'" + oSub.HRemark + "'" + + "," + oSub.HSourceInterID.ToString() + "" + + "," + oSub.HSourceEntryID.ToString() + "" + + ",'" + oSub.HSourceBillNo + "'" + + ",'" + oSub.HSourceBillType + "'" + + "," + oSub.HRelationQty.ToString() + "" + + "," + oSub.HRelationMoney.ToString() + + + "," + oSub.HMaterID.ToString() + "" + + "," + oSub.HUnitID.ToString() + "" + + ",'" + oSub.HQty.ToString() + + "','" + oSub.HResult + "'" + + "," + oSub.HEmpID.ToString() + "" + + "," + oSub.HSourceID.ToString() + "" + + "," + oSub.HBadReasonID.ToString() + "" + + ",'" + oSub.HBadReasonNumber.ToString() + "'" + + ",'" + oSub.HGroupID.ToString() + "'" + + + "," + oSub.HICMOInterID.ToString() + "" + + "," + oSub.HICMOEntryID.ToString() + "" + + ",'" + oSub.HICMOBillNo + "'" + + "," + oSub.HProcExchInterID + "" + + "," + oSub.HProcExchEntryID + "" + + ",'" + oSub.HProcExchBillNo + "'" + + ",'" + oSub.HBadReasonNumber.ToString() + "'" + + + ",'" + 1 + + "','" + oSub.HAddr + "'" + + ",'" + msg4 + "'" + + ",'" + oSub.HMakeDate.ToShortDateString() + "'" + + ") "; + oCN.RunProc(subSql); + + } + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; + objJsonResult.data = 1; + return objJsonResult; + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); + objJsonResult.data = 1; return objJsonResult; } } @@ -1667,6 +1772,59 @@ } #endregion + #region 鐢熶骇璐ㄩ噺鏈堟眹鎶ュ崟鍒楄〃 鏌ヨ + public class ReportWorkDemandPlanBill1 + { + public string HYear; + public string HWorkCenter; + public string HName; + + } + [Route("Sc_QualityReportBill/getSc_QualityReportBillMonth")] + [HttpGet] + public object getSc_QualityReportBillMonth(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; + } + ReportWorkDemandPlanBill1 Report = JsonConvert.DeserializeObject<ReportWorkDemandPlanBill1>(sWhere); + ds = oCN.RunProcReturn($"exec h_p_Sc_StationOutBillMonth '{Report.HYear}','{Report.HWorkCenter}','{Report.HName}'", "h_p_Sc_StationOutBillMonth"); + + //娣诲姞鍒楀悕 + 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));//鑾峰彇鍒癉ataColumn鍒楀璞$殑鍒楀悕 + } + + 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 + } } \ No newline at end of file diff --git "a/WebAPI/Controllers/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBillController.cs" "b/WebAPI/Controllers/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBillController.cs" index 0660f8c..aae50e9 100644 --- "a/WebAPI/Controllers/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBillController.cs" +++ "b/WebAPI/Controllers/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBillController.cs" @@ -10,6 +10,8 @@ using System.Web.Http; using System.Windows.Forms; using WebAPI.Models; +using System.Threading.Tasks; +using DLL; namespace WebAPI.Controllers.椤圭洰绠$悊.宸ヤ綔浠诲姟 { @@ -1228,6 +1230,7 @@ #region 浠诲姟姹囨姤 鏂板/缂栬緫-淇濆瓨 #region 浠诲姟姹囨姤 琛ㄥご鏁版嵁 + string reportMan; public class PM_WorkTaskReportBill_Main { public int HInterID; @@ -1373,7 +1376,7 @@ string HReportEmpName = mainList[0].HReportEmpName; string HUpdater = mainList[0].HUpdater; string HUpdaterDate = mainList[0].HUpdaterDate; - + reportMan = HReportEmpName;//鑾峰彇姹囨姤浜哄悕绉� //淇濆瓨鍓嶆帶鍒� DataSet BeforeDs = oCN.RunProcReturn("Exec h_p_PM_WorkTaskReportBill_BeforeSaveCtrl " + HInterID.ToString() + ",'" + HBillNo + "'," + OperationType.ToString(), "h_p_PM_WorkTaskReportBill_BeforeSaveCtrl"); if (BeforeDs == null || BeforeDs.Tables[0].Rows.Count == 0) @@ -1511,7 +1514,7 @@ public json AddBillSub_WorkTaskReportBill(string msg3, long HInterID, string HBillNo, int OperationType) { List<PM_WorkTaskReportBill_Sub> DetailColl = Newtonsoft.Json.JsonConvert.DeserializeObject<List<PM_WorkTaskReportBill_Sub>>(msg3); - int i = 0; //浣滀负瀛愯〃鍐呯爜 + int i = 0; //浣滀负瀛愯〃鍐呯爜 foreach (PM_WorkTaskReportBill_Sub oSub in DetailColl) { i++; //鍚屼竴涓富琛ㄤ笅鐨勫瓙琛ㄧ殑鍐呯爜鑷 @@ -1556,7 +1559,23 @@ oCN.RunProc(sql2); } } - + //鏌ユ壘宸ヤ綔浠诲姟鑾峰彇娲惧崟浜哄拰鎶勯�佷汉 + string sqlz = "select * from h_v_PM_WorkTaskBillList where HInterID = " + HSourceInterID; + ds = oCN.RunProcReturn(sqlz, "h_v_PM_WorkTaskBillList"); + if (ds == null || ds.Tables[0].Rows.Count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁涓嶅瓨鍦紒"; + objJsonResult.data = null; + return objJsonResult; + } + string HSendEmp = ds.Tables[0].Rows[0]["娲惧崟浜�"].ToString();//娲惧崟浜� + string HCopyEmp = ds.Tables[0].Rows[0]["鎶勯�佷汉"].ToString();//鎶勯�佷汉 + string HPlanTimes = ds.Tables[0].Rows[0]["璇勪及宸ユ椂"].ToString();//璇勪及宸ユ椂 + string HSelfTimes = ds.Tables[0].Rows[0]["鑷瘎宸ユ椂"].ToString();//鑷瘎宸ユ椂 + string HProjectName = ds.Tables[0].Rows[0]["椤圭洰鍚嶇О"].ToString();//椤圭洰鍚嶇О + //鎻掑叆瀛愯〃sql string sql = "insert into PM_WorkTaskReportBillSub" + "(HInterID,HBillNo_bak,HEntryID,HRemark,HProjectID,HProNumber,HProjectStageID,HName,HTaskNote,HType,HRelTimes,HReportNote,HAdv,HSourceInterID,HSourceEntryID,HSourceBillType,HSourceBillNo,HFinishFlag) " + "values(" + @@ -1579,8 +1598,9 @@ "','" + HSourceBillNo + "'," + DBUtility.ClsPub.BoolToString(HFinishFlag) + ")"; - oCN.RunProc(sql); + string messageContext = "鏃ユ湡= " + DateTime.Now + ",姹囨姤浜�=" + reportMan + ",姹囨姤鍐呭=" + HReportNote + ",璇勪及宸ユ椂=" + HPlanTimes + "灏忔椂,鑷瘎宸ユ椂=" + HSelfTimes + "灏忔椂,鑰楃敤宸ユ椂=" + HRelTimes + "灏忔椂,浠诲姟鍚嶇О=" + HName + ",椤圭洰鍚嶇О=" + HProjectName; ; + _ = SendDingDingAsync(HSendEmp, messageContext, HCopyEmp); } //淇濆瓨鍚庢帶鍒� @@ -4021,5 +4041,57 @@ #endregion #endregion + + #region 浠诲姟姹囨姤鍗曚繚瀛樺彂閫侀拤閽夋秷鎭� + /// <summary> + /// 浠诲姟姹囨姤鍗曚繚瀛樺彂閫侀拤閽夋秷鎭� + /// </summary> + /// <param name="HSendMan"></param> + /// <param name="HDescription">鏃ユ湡+姹囨姤浜�+姹囨姤鍐呭+宸ユ椂+ 椤圭洰鍚嶇О</param> + /// <param name="HCopyMan">鎶勯�佷汉</param> + /// <returns></returns> + public async Task<object> SendDingDingAsync(string HSendMan, string HDescription, string HCopyMan) + { + string concatenatedNames = ""; + Cls_DDMsg msg = new Cls_DDMsg(); + string appKey = "dingrsrzhdyn3mlaof95"; + string appSecret = "RAqH6YtZnPLCpDbuqfaYQkKkVtVdS0wqfC8I26X6qiS-8eoCJCNrzx3fubGND4Sq"; + //浠诲姟姹囨姤鍗曚繚瀛樺彂閫侀拤閽夋秷鎭繚瀛� 灏嗘秷鎭� 鍙戦�佺粰 鎺ユ敹浜� + //鑾峰彇鎺ラ�佷汉鐨勯拤閽塱d + string HReceiveMan = HSendMan; + string[] names = HCopyMan.Split(','); + string sqlNames = ""; + foreach (string name in names) + { + sqlNames += "'" + name.Trim() + "',"; + } + sqlNames = sqlNames.TrimEnd(','); + //鑾峰彇鎸囨淳澶勭悊浜�,鍙戦�佷汉鐨勯拤閽塱d + string sql1 = "select HDingDingUserID 閽夐拤id from Gy_Czygl where Czymc in ('" + HReceiveMan + "'," + sqlNames + ")"; + ds = oCN.RunProcReturn(sql1, "Gy_Czygl"); + List<string> HNames = new List<string>(); + for (int i = 0; i < ds.Tables[0].Rows.Count; i++) + { + string HName = ds.Tables[0].Rows[i]["閽夐拤id"].ToString(); + HNames.Add(HName); + } + concatenatedNames = string.Join(",", HNames);//閽夐拤浜哄憳鐨刬d鍒楄〃 + //鑾峰彇浼佷笟鐨刟ccess_token鐨勫�� + string response = msg.GetAccessToken(appKey, appSecret); + JObject responseJson = JObject.Parse(response); + // 鑾峰彇access_token鐨勫�� + string accessToken = responseJson["accessToken"].ToString(); + + //璋冪敤鏂规硶鍙戦�佹秷鎭� + string agentId = "3118119317";//閽夐拤鍚庡彴寤虹珛鐨勫皬绋嬪簭id + string userIdList = concatenatedNames;//閽夐拤浜哄憳鐨刬d + string deptIdList = "0"; // 绌哄瓧绗︿覆琛ㄧず涓嶆寚瀹氶儴闂� + string toAllUser = "false"; + string message = HDescription; + response = await msg.SendTextMessage(accessToken, agentId, userIdList, deptIdList, toAllUser, message); + Console.WriteLine(response); + return response; + } + #endregion } } \ No newline at end of file diff --git a/WebAPI/DLL/ClsOA_ErrMsgBackBill.cs b/WebAPI/DLL/ClsOA_ErrMsgBackBill.cs index 42bf431..e588075 100644 --- a/WebAPI/DLL/ClsOA_ErrMsgBackBill.cs +++ b/WebAPI/DLL/ClsOA_ErrMsgBackBill.cs @@ -138,7 +138,7 @@ ",HContext,HDeptID,HDescription,HSendMan,HReceiveMan" + ",HCopyMan,HHasten,HLevel,HReTransmitMan,HBillTypeName"+ ",HPlanBillNo,HMaterName,HMaterModel,HQty,HSendType"+ - ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRecDeptID,HMaterNumber,HErrMsgBackTypeID,HHandleEmpID" + + ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRecDeptID,HMaterNumber,HErrMsgBackTypeID,HHandleEmpID,HCloseFlag" + ") " + " values('" + this.BillType + "','" + this.HBillSubType + "'," +omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "','" + omodel.HDate + "'" + "," + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "','" + DBUtility.ClsPub.CurUserName + "',getdate()" + @@ -146,8 +146,8 @@ ",'" + omodel.HCopyMan + "'," + omodel.HHasten.ToString() + ",'" + omodel.HLevel + "','" + omodel.HReTransmitMan + "','" + omodel.HBillTypeName + "'" + ",'" + omodel.HPlanBillNo + "','" + omodel.HMaterName + "','" + omodel.HMaterModel + "'," + omodel.HQty.ToString() + ",'" + omodel.HSendType + "'" + ",'" + omodel.HMainSourceInterID + "','" + omodel.HMainSourceEntryID + "','" + omodel.HMainSourceBillNo + "','" + omodel.HMainSourceBillType + "'" + - "," + omodel.HRecDeptID + ",'" + omodel.HMaterNumber + "'," + omodel.HErrMsgBackTypeID +", " + omodel.HHandleEmpID + - ") "); + "," + omodel.HRecDeptID + ",'" + omodel.HMaterNumber + "'," + omodel.HErrMsgBackTypeID +", " + omodel.HHandleEmpID + ", '"+ "0"+ + "') "); //鎻掑叆瀛愯〃 //foreach (Models.ClsOA_ErrMsgBackBillSub oSub in DetailColl) //{ diff --git a/WebAPI/DLL/ClsSb_EquipConkBookBill.cs b/WebAPI/DLL/ClsSb_EquipConkBookBill.cs index 3fa837c..29ae33e 100644 --- a/WebAPI/DLL/ClsSb_EquipConkBookBill.cs +++ b/WebAPI/DLL/ClsSb_EquipConkBookBill.cs @@ -29,29 +29,74 @@ } #endregion 鑷畾涔夋柟娉� + + //淇濆瓨鍓嶆帶鍒� + public bool BeforeSave(Int64 HInterID, string HBillNo, string HBillNote, Int64 OperationType, ref string sReturn) + { + try + { + DataSet Ds = oCn.RunProcReturn("Exec h_p_Sb_EquipConkBookBill_BeforeSaveCtrl " + HInterID.ToString() + ",'" + HBillNo + "','" + HBillNote + "'," + OperationType.ToString(), "h_p_Sb_EquipConkBookBill_BeforeSaveCtrl"); + if (Ds == null || Ds.Tables[0].Rows.Count == 0) + { + sReturn = "淇濆瓨鍓嶅垽鏂け璐ワ紒"; + return false; + } + else + { + if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HBack"]) == 1) + { + sReturn = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]); + return false; + } + } + return true; + } + catch (Exception e) + { + throw (e); + } + } + + //淇濆瓨鍚庢帶鍒� + public bool AfterSave(Int64 HInterID, string HBillNo, Int64 OperationType, ref string sReturn) + { + try + { + DataSet Ds = oCn.RunProcReturn("Exec h_p_Sb_EquipConkBookBill_AfterSaveCtrl " + HInterID.ToString() + ",'" + HBillNo + "'," + OperationType.ToString(), "h_p_Sb_EquipConkBookBill_AfterSaveCtrl"); + if (Ds == null || Ds.Tables[0].Rows.Count == 0) + { + sReturn = "淇濆瓨鍚庡垽鏂け璐ワ紒"; + return false; + } + else + { + if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HBack"]) == 1) + { + sReturn = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]); + return false; + } + } + return true; + } + catch (Exception e) + { + throw (e); + } + } + //淇敼鍗曟嵁 public override bool ModifyBill(Int64 lngBillKey, ref string sReturn) { try { - - //淇濆瓨鍓嶆帶鍒�========================================= - string HBillNote = ""; - DataSet ds = oCn.RunProcReturn("Exec h_p_Sb_EquipConkBookBill_BeforeSaveCtrl " + omodel.HInterID.ToString() + ", '" + omodel.HBillNo + "','" + HBillNote + "',1 ", "h_p_Sb_EquipConkBookBill_BeforeSaveCtrl"); - if (ds == null) - { - sReturn = "淇濆瓨鍓嶅垽鏂け璐ワ紒"; - return false; - } - if (DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBack"]) != "0") - { - sReturn = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBackRemark"]); - return false; - } - //========================================================= - - // oCn.BeginTran(); + //淇濆瓨鍓嶆帶鍒� + string HBillNote = ""; + if (!BeforeSave(lngBillKey, omodel.HBillNo, HBillNote, 2, ref sReturn)) + { + oCn.RollBack(); + return false; + } //鏇存柊涓昏〃 oCn.RunProc("UpDate Sb_EquipConkBookBillMain set " + " HBillNo='" + omodel.HBillNo + "'" + //鍥哄畾璧嬪��=============== @@ -89,24 +134,13 @@ "," + oSub.HConkReasonID.ToString() + ",'" + oSub.HConkExplanation + "'," + oSub.HManagerID.ToString() + ") "); } - - //=========================淇濆瓨鍚庢帶鍒� - DataSet ds2 = oCn.RunProcReturn("Exec h_p_Sb_EquipConkBookBill_AfterSaveCtrl " + omodel.HInterID.ToString() + ", '" + omodel.HBillNo + "',1 ", "h_p_Sb_EquipConkBookBill_AfterSaveCtrl"); - if (ds2 == null) + //淇濆瓨鍚庢帶鍒� + if (!AfterSave(lngBillKey, omodel.HBillNo, 2, ref sReturn)) { - sReturn = "淇濆瓨鍚庢帶鍒跺垽鏂け璐ワ紒"; oCn.RollBack(); return false; } - if (DBUtility.ClsPub.isStrNull(ds2.Tables[0].Rows[0]["HBack"]) != "0") - { - sReturn = "淇濆瓨澶辫触2锛�" + DBUtility.ClsPub.isStrNull(ds2.Tables[0].Rows[0]["HBackRemark"]); - oCn.RollBack(); - return false; - } - //============================ - - sReturn = "淇敼鍗曟嵁鎴愬姛锛�"; + sReturn = "鍗曟嵁鍙凤細" + omodel.HBillNo + " 淇敼鎴愬姛锛�"; oCn.Commit(); return true; } @@ -125,24 +159,13 @@ //寰楀埌mainid omodel.HInterID = DBUtility.ClsPub.CreateBillID(BillType, ref DBUtility.ClsPub.sExeReturnInfo); - - //淇濆瓨鍓嶆帶鍒�========================================= + //淇濆瓨鍓嶆帶鍒� string HBillNote = ""; - DataSet ds = oCn.RunProcReturn("Exec h_p_Sb_EquipConkBookBill_BeforeSaveCtrl " + omodel.HInterID.ToString() + ", '" + omodel.HBillNo + "','" + HBillNote + "',1 ", "h_p_Sb_EquipConkBookBill_BeforeSaveCtrl"); - if (ds == null) + if (!BeforeSave(omodel.HInterID, omodel.HBillNo, HBillNote, 1, ref sReturn)) { - sReturn = "淇濆瓨鍓嶅垽鏂け璐ワ紒"; return false; } - if (DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBack"]) != "0") - { - sReturn = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBackRemark"]); - return false; - } - //========================================================= - - //鑻AINDI閲嶅鍒欓噸鏂拌幏鍙� oCn.BeginTran(); //涓昏〃 oCn.RunProc("Insert Into Sb_EquipConkBookBillMain" + @@ -169,25 +192,13 @@ "," + oSub.HConkReasonID.ToString() + "," + oSub.HManagerID.ToString() + ",'" + oSub.HConkExplanation + "'" + ") "); } - - - //=========================淇濆瓨鍚庢帶鍒� - DataSet ds2 = oCn.RunProcReturn("Exec h_p_Sb_EquipConkBookBill_AfterSaveCtrl " + omodel.HInterID.ToString() + ", '" + omodel.HBillNo + "',1 ", "h_p_Sb_EquipConkBookBill_AfterSaveCtrl"); - if (ds2 == null) + //淇濆瓨鍚庢帶鍒� + if (!AfterSave(omodel.HInterID, omodel.HBillNo, 1, ref sReturn)) { - sReturn = "淇濆瓨鍚庢帶鍒跺垽鏂け璐ワ紒"; oCn.RollBack(); return false; } - if (DBUtility.ClsPub.isStrNull(ds2.Tables[0].Rows[0]["HBack"]) != "0") - { - sReturn = "淇濆瓨澶辫触2锛�" + DBUtility.ClsPub.isStrNull(ds2.Tables[0].Rows[0]["HBackRemark"]); - oCn.RollBack(); - return false; - } - //============================ - - sReturn = "鏂板鍗曟嵁鎴愬姛锛�"; + sReturn = "鍗曟嵁鍙凤細" + omodel.HBillNo + " 鏂板鎴愬姛锛�"; oCn.Commit(); return true; } diff --git a/WebAPI/DLL/ClsSc_MESBeginWorkBill.cs b/WebAPI/DLL/ClsSc_MESBeginWorkBill.cs index f8b31cf..0e38b1b 100644 --- a/WebAPI/DLL/ClsSc_MESBeginWorkBill.cs +++ b/WebAPI/DLL/ClsSc_MESBeginWorkBill.cs @@ -30,15 +30,75 @@ { DetailColl = null; } - + #endregion 鑷畾涔夋柟娉� + + //淇濆瓨鍓嶆帶鍒� + public bool BeforeSave(Int64 HInterID, Int64 HICMOInterID, Int64 HICMOEntryID, string HICMOBillNo, Int64 OperationType, ref string sReturn) + { + try + { + DataSet Ds = oCn.RunProcReturn("Exec h_p_Sc_MESBeginWorkBill_BeforeSaveCtrl " + HInterID.ToString() + "," + HICMOInterID.ToString() + "," + HICMOEntryID.ToString() + ",'" + HICMOBillNo + "'," + OperationType.ToString(), "h_p_Sc_MESBeginWorkBill_BeforeSaveCtrl"); + if (Ds == null || Ds.Tables[0].Rows.Count == 0) + { + sReturn = "淇濆瓨鍓嶅垽鏂け璐ワ紒"; + return false; + } + else + { + if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HBack"]) == 1) + { + sReturn = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]); + return false; + } + } + return true; + } + catch (Exception e) + { + throw (e); + } + } + + //淇濆瓨鍚庢帶鍒� + public bool AfterSave(Int64 HInterID, Int64 HICMOInterID, Int64 HICMOEntryID, string HICMOBillNo, Int64 OperationType, ref string sReturn) + { + try + { + DataSet Ds = oCn.RunProcReturn("Exec h_p_Sc_MESBeginWorkBill_AfterSaveCtrl " + HInterID.ToString() + "," + HICMOInterID.ToString() + "," + HICMOEntryID.ToString() + ",'" + HICMOBillNo + "'," + OperationType.ToString(), "h_p_Sc_MESBeginWorkBill_AfterSaveCtrl"); + if (Ds == null || Ds.Tables[0].Rows.Count == 0) + { + sReturn = "淇濆瓨鍚庡垽鏂け璐ワ紒"; + return false; + } + else + { + if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HBack"]) == 1) + { + sReturn = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]); + return false; + } + } + return true; + } + catch (Exception e) + { + throw (e); + } + } + //淇敼鍗曟嵁 public override bool ModifyBill(Int64 lngBillKey, ref string sReturn) { try { - // oCn.BeginTran(); + //淇濆瓨鍓嶆帶鍒� + if (!BeforeSave(lngBillKey, omodel.HICMOInterID, omodel.HICMOEntryID, omodel.HICMOBillNo, 2, ref sReturn)) + { + oCn.RollBack(); + return false; + } //鏇存柊涓昏〃 oCn.RunProc("UpDate Sc_MESBeginWorkBillMain set " + " HBillNo='" + omodel.HBillNo + "'" + //鍥哄畾璧嬪��=============== @@ -136,7 +196,14 @@ // return false; // } //} - sReturn = "淇敼鍗曟嵁鎴愬姛锛�"; + + //淇濆瓨鍚庢帶鍒� + if (!AfterSave(lngBillKey, omodel.HICMOInterID, omodel.HICMOEntryID, omodel.HICMOBillNo, 2, ref sReturn)) + { + oCn.RollBack(); + return false; + } + sReturn = "鍗曟嵁鍙凤細" + omodel.HBillNo + " 淇敼鎴愬姛锛�"; oCn.Commit(); return true; } @@ -157,16 +224,12 @@ omodel.HInterID = DBUtility.ClsPub.CreateBillID(BillType, ref DBUtility.ClsPub.sExeReturnInfo); //鑻AINDI閲嶅鍒欓噸鏂拌幏鍙� oCn.BeginTran(); - //淇濆瓨鍓嶆帶鍒�========================================= - ds = oCn.RunProcReturn("exec h_p_Sc_MESBeginWorkBill_BeforeSaveCtrl " + omodel.HInterID + "," + omodel.HICMOInterID + "," + omodel.HICMOEntryID + ",'" + omodel.HICMOBillNo + "'", "h_p_Sc_MESBeginWorkBill_BeforeSaveCtrl"); - - if (DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBack"]) == "1") + //淇濆瓨鍓嶆帶鍒� + if (!BeforeSave(omodel.HInterID, omodel.HICMOInterID, omodel.HICMOEntryID, omodel.HICMOBillNo, 1, ref sReturn)) { - sReturn = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBackRemark"]); - oCn.RollBack(); return false; } - //========================================================= + //涓昏〃 oCn.RunProc("Insert Into Sc_MESBeginWorkBillMain " + "(HBillType,HBillSubType,HInterID,HBillNo,HBillStatus,HDate,HMaker,HMakeDate" + @@ -201,16 +264,12 @@ return false; } - //淇濆瓨鍚庢帶鍒�========================================= - ds = oCn.RunProcReturn("exec h_p_Sc_MESBeginWorkBill_AfterSaveCtrl " + omodel.HInterID + "," + omodel.HICMOInterID + "," + omodel.HICMOEntryID + ",'" + omodel.HICMOBillNo + "'", "h_p_Sc_MESBeginWorkBill_AfterSaveCtrl"); - - if (DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBack"]) == "1") + //淇濆瓨鍚庢帶鍒� + if (!AfterSave(omodel.HInterID, omodel.HICMOInterID, omodel.HICMOEntryID, omodel.HICMOBillNo, 1, ref sReturn)) { - sReturn = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBackRemark"]); oCn.RollBack(); return false; } - //========================================================= //鑾峰彇鏈�杩戠殑涓婃ā鍗� 鎶婂伐鍗曡窡妯″叿杩涜缁戝畾 ds = oCn.RunProcReturn(@"select HICMOInterID,HICMOEntryID,HSourceInterID,HSourceEntryID,HSourceID from Sc_ICMOBillStatus_Tmp where HInterID=" + omodel.HMainSourceInterID.ToString(), "Sc_ICMOBillStatus_Tmp"); diff --git a/WebAPI/DLL/ClsSc_MESEndWorkBill.cs b/WebAPI/DLL/ClsSc_MESEndWorkBill.cs index f6fdf1c..a6953f0 100644 --- a/WebAPI/DLL/ClsSc_MESEndWorkBill.cs +++ b/WebAPI/DLL/ClsSc_MESEndWorkBill.cs @@ -29,16 +29,76 @@ { DetailColl = null; } - + #endregion 鑷畾涔夋柟娉� + + //淇濆瓨鍓嶆帶鍒� + public bool BeforeSave(Int64 HInterID, Int64 HICMOInterID, Int64 HICMOEntryID, string HICMOBillNo, Int64 OperationType, ref string sReturn) + { + try + { + DataSet Ds = oCn.RunProcReturn("Exec h_p_Sc_MESEndWorkBill_BeforeSaveCtrl " + HInterID.ToString() + "," + HICMOInterID.ToString() + "," + HICMOEntryID.ToString() + ",'" + HICMOBillNo + "'," + OperationType.ToString(), "h_p_Sc_MESEndWorkBill_BeforeSaveCtrl"); + if (Ds == null || Ds.Tables[0].Rows.Count == 0) + { + sReturn = "淇濆瓨鍓嶅垽鏂け璐ワ紒"; + return false; + } + else + { + if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HBack"]) == 1) + { + sReturn = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]); + return false; + } + } + return true; + } + catch (Exception e) + { + throw (e); + } + } + + //淇濆瓨鍚庢帶鍒� + public bool AfterSave(Int64 HInterID, Int64 HICMOInterID, Int64 HICMOEntryID, string HICMOBillNo, Int64 OperationType, ref string sReturn) + { + try + { + DataSet Ds = oCn.RunProcReturn("Exec h_p_Sc_MESEndWorkBill_AfterSaveCtrl " + HInterID.ToString() + "," + HICMOInterID.ToString() + "," + HICMOEntryID.ToString() + ",'" + HICMOBillNo + "'," + OperationType.ToString(), "h_p_Sc_MESEndWorkBill_AfterSaveCtrl"); + if (Ds == null || Ds.Tables[0].Rows.Count == 0) + { + sReturn = "淇濆瓨鍚庡垽鏂け璐ワ紒"; + return false; + } + else + { + if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HBack"]) == 1) + { + sReturn = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]); + return false; + } + } + return true; + } + catch (Exception e) + { + throw (e); + } + } + //淇敼鍗曟嵁 public override bool ModifyBill(Int64 lngBillKey, ref string sReturn) { try { - // oCn.BeginTran(); + //淇濆瓨鍓嶆帶鍒� + if (!BeforeSave(lngBillKey, omodel.HICMOInterID, omodel.HICMOEntryID, omodel.HICMOBillNo, 2, ref sReturn)) + { + oCn.RollBack(); + return false; + } //鏇存柊涓昏〃 oCn.RunProc("UpDate Sc_MESEndWorkBillMain set " + " HBillNo='" + omodel.HBillNo + "'" + //鍥哄畾璧嬪��=============== @@ -142,7 +202,14 @@ // return false; // } //} - sReturn = "淇敼鍗曟嵁鎴愬姛锛�"; + + //淇濆瓨鍚庢帶鍒� + if (!AfterSave(lngBillKey, omodel.HICMOInterID, omodel.HICMOEntryID, omodel.HICMOBillNo, 2, ref sReturn)) + { + oCn.RollBack(); + return false; + } + sReturn = "鍗曟嵁鍙凤細" + omodel.HBillNo + " 淇敼鎴愬姛锛�"; oCn.Commit(); return true; } @@ -163,16 +230,12 @@ omodel.HInterID = DBUtility.ClsPub.CreateBillID(BillType, ref DBUtility.ClsPub.sExeReturnInfo); //鑻AINDI閲嶅鍒欓噸鏂拌幏鍙� oCn.BeginTran(); - //淇濆瓨鍓嶆帶鍒�========================================= - ds = oCn.RunProcReturn("exec h_p_Sc_MESEndWorkBill_BeforeSaveCtrl " + omodel.HInterID + "," + omodel.HICMOInterID + "," + omodel.HICMOEntryID + ",'" + omodel.HICMOBillNo + "'", "h_p_Sc_MESEndWorkBill_BeforeSaveCtrl"); - - if (DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBack"]) == "1") + //淇濆瓨鍓嶆帶鍒� + if (!BeforeSave(omodel.HInterID, omodel.HICMOInterID, omodel.HICMOEntryID, omodel.HICMOBillNo, 1, ref sReturn)) { - sReturn = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBackRemark"]); - oCn.RollBack(); return false; } - //========================================================= + //涓昏〃 oCn.RunProc("Insert Into Sc_MESEndWorkBillMain " + "(HBillType,HBillSubType,HInterID,HBillNo,HBillStatus,HDate,HMaker,HMakeDate" + @@ -210,16 +273,12 @@ return false; } - //淇濆瓨鍚庢帶鍒�========================================= - ds = oCn.RunProcReturn("exec h_p_Sc_MESEndWorkBill_AfterSaveCtrl " + omodel.HInterID + "," + omodel.HICMOInterID + "," + omodel.HICMOEntryID + ",'" + omodel.HICMOBillNo + "'", "h_p_Sc_MESEndWorkBill_AfterSaveCtrl"); - - if (DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBack"]) == "1") + //淇濆瓨鍚庢帶鍒� + if (!AfterSave(omodel.HInterID, omodel.HICMOInterID, omodel.HICMOEntryID, omodel.HICMOBillNo, 1, ref sReturn)) { - sReturn = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBackRemark"]); oCn.RollBack(); return false; } - //========================================================= sReturn = omodel.HInterID.ToString(); oCn.Commit(); diff --git a/WebAPI/DLL/ClsSc_MESStopWorkBill.cs b/WebAPI/DLL/ClsSc_MESStopWorkBill.cs index 49e3695..4df2fb9 100644 --- a/WebAPI/DLL/ClsSc_MESStopWorkBill.cs +++ b/WebAPI/DLL/ClsSc_MESStopWorkBill.cs @@ -29,15 +29,75 @@ { DetailColl = null; } - + #endregion 鑷畾涔夋柟娉� + + //淇濆瓨鍓嶆帶鍒� + public bool BeforeSave(Int64 HInterID, Int64 HICMOInterID, Int64 HICMOEntryID, string HICMOBillNo, Int64 OperationType, ref string sReturn) + { + try + { + DataSet Ds = oCn.RunProcReturn("Exec h_p_Sc_MESStopWorkBill_BeforeSaveCtrl " + HInterID.ToString() + "," + HICMOInterID.ToString() + "," + HICMOEntryID.ToString() + ",'" + HICMOBillNo + "'," + OperationType.ToString(), "h_p_Sc_MESStopWorkBill_BeforeSaveCtrl"); + if (Ds == null || Ds.Tables[0].Rows.Count == 0) + { + sReturn = "淇濆瓨鍓嶅垽鏂け璐ワ紒"; + return false; + } + else + { + if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HBack"]) == 1) + { + sReturn = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]); + return false; + } + } + return true; + } + catch (Exception e) + { + throw (e); + } + } + + //淇濆瓨鍚庢帶鍒� + public bool AfterSave(Int64 HInterID, Int64 HICMOInterID, Int64 HICMOEntryID, string HICMOBillNo, Int64 OperationType, ref string sReturn) + { + try + { + DataSet Ds = oCn.RunProcReturn("Exec h_p_Sc_MESStopWorkBill_AfterSaveCtrl " + HInterID.ToString() + "," + HICMOInterID.ToString() + "," + HICMOEntryID.ToString() + ",'" + HICMOBillNo + "'," + OperationType.ToString(), "h_p_Sc_MESStopWorkBill_AfterSaveCtrl"); + if (Ds == null || Ds.Tables[0].Rows.Count == 0) + { + sReturn = "淇濆瓨鍚庡垽鏂け璐ワ紒"; + return false; + } + else + { + if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HBack"]) == 1) + { + sReturn = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]); + return false; + } + } + return true; + } + catch (Exception e) + { + throw (e); + } + } + //淇敼鍗曟嵁 public override bool ModifyBill(Int64 lngBillKey, ref string sReturn) { try { - // oCn.BeginTran(); + //淇濆瓨鍓嶆帶鍒� + if (!BeforeSave(lngBillKey, omodel.HICMOInterID, omodel.HICMOEntryID, omodel.HICMOBillNo, 2, ref sReturn)) + { + oCn.RollBack(); + return false; + } //鏇存柊涓昏〃 oCn.RunProc("UpDate Sc_MESStopWorkBillMain set " + " HBillNo='" + omodel.HBillNo + "'" + //鍥哄畾璧嬪��=============== @@ -138,7 +198,14 @@ // return false; // } //} - sReturn = "淇敼鍗曟嵁鎴愬姛锛�"; + + //淇濆瓨鍚庢帶鍒� + if (!AfterSave(lngBillKey, omodel.HICMOInterID, omodel.HICMOEntryID, omodel.HICMOBillNo, 2, ref sReturn)) + { + oCn.RollBack(); + return false; + } + sReturn = "鍗曟嵁鍙凤細" + omodel.HBillNo + " 淇敼鎴愬姛锛�"; oCn.Commit(); return true; } @@ -159,16 +226,12 @@ omodel.HInterID = DBUtility.ClsPub.CreateBillID(BillType, ref DBUtility.ClsPub.sExeReturnInfo); //鑻AINDI閲嶅鍒欓噸鏂拌幏鍙� oCn.BeginTran(); - //淇濆瓨鍓嶆帶鍒�========================================= - ds = oCn.RunProcReturn("exec h_p_Sc_MESStopWorkBill_BeforeSaveCtrl " + omodel.HInterID + "," + omodel.HICMOInterID + "," + omodel.HICMOEntryID + ",'" + omodel.HICMOBillNo + "'", "h_p_Sc_MESStopWorkBill_BeforeSaveCtrl"); - - if (DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBack"]) == "1") + //淇濆瓨鍓嶆帶鍒� + if (!BeforeSave(omodel.HInterID, omodel.HICMOInterID, omodel.HICMOEntryID, omodel.HICMOBillNo, 1, ref sReturn)) { - sReturn = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBackRemark"]); - oCn.RollBack(); return false; } - //========================================================= + //涓昏〃 oCn.RunProc("Insert Into Sc_MESStopWorkBillMain " + "(HBillType,HBillSubType,HInterID,HBillNo,HBillStatus,HDate,HMaker,HMakeDate" + @@ -203,16 +266,12 @@ return false; } - //淇濆瓨鍚庢帶鍒�========================================= - ds = oCn.RunProcReturn("exec h_p_Sc_MESStopWorkBill_AfterSaveCtrl " + omodel.HInterID + "," + omodel.HICMOInterID + "," + omodel.HICMOEntryID + ",'" + omodel.HICMOBillNo + "'", "h_p_Sc_MESStopWorkBill_AfterSaveCtrl"); - - if (DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBack"]) == "1") + //淇濆瓨鍚庢帶鍒� + if (!AfterSave(omodel.HInterID, omodel.HICMOInterID, omodel.HICMOEntryID, omodel.HICMOBillNo, 1, ref sReturn)) { - sReturn = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBackRemark"]); oCn.RollBack(); return false; } - //========================================================= sReturn = omodel.HInterID.ToString(); oCn.Commit(); diff --git a/WebAPI/Models/ClsGy_EquipFileBillSub_DotCheckRule.cs b/WebAPI/Models/ClsGy_EquipFileBillSub_DotCheckRule.cs new file mode 100644 index 0000000..b709a42 --- /dev/null +++ b/WebAPI/Models/ClsGy_EquipFileBillSub_DotCheckRule.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace WebAPI.Models +{ + public class ClsGy_EquipFileBillSub_DotCheckRule:DBUtility.ClsXt_BaseBillSub + { + public Int64 HDotCheckRuleID;// int 点检规程 -- + public bool HStdFlag;//默认标记 + + } +} diff --git a/WebAPI/Models/ClsGy_EquipFileBillSub_MaintainRule.cs b/WebAPI/Models/ClsGy_EquipFileBillSub_MaintainRule.cs new file mode 100644 index 0000000..6e8542c --- /dev/null +++ b/WebAPI/Models/ClsGy_EquipFileBillSub_MaintainRule.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace WebAPI.Models +{ + public class ClsGy_EquipFileBillSub_MaintainRule : DBUtility.ClsXt_BaseBillSub + { + public Int64 HMaintainRuleID;// int 保养规程 + public bool HStdFlag;//默认标记 + + } +} diff --git a/WebAPI/Models/ClsGy_MouldFileBillSub_DotCheckRule.cs b/WebAPI/Models/ClsGy_MouldFileBillSub_DotCheckRule.cs new file mode 100644 index 0000000..2639007 --- /dev/null +++ b/WebAPI/Models/ClsGy_MouldFileBillSub_DotCheckRule.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace WebAPI.Models +{ + public class ClsGy_MouldFileBillSub_DotCheckRule:DBUtility.ClsXt_BaseBillSub + { + public Int64 HDotCheckRuleID;// int 点检规程 -- + public bool HStdFlag;//默认标记 + + } +} diff --git a/WebAPI/Models/ClsGy_MouldFileBillSub_MaintainRule.cs b/WebAPI/Models/ClsGy_MouldFileBillSub_MaintainRule.cs new file mode 100644 index 0000000..d3c3dfa --- /dev/null +++ b/WebAPI/Models/ClsGy_MouldFileBillSub_MaintainRule.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace WebAPI.Models +{ + public class ClsGy_MouldFileBillSub_MaintainRule : DBUtility.ClsXt_BaseBillSub + { + public Int64 HMaintainRuleID;// int 保养规程 + public bool HStdFlag;//默认标记 + + } +} diff --git a/WebAPI/Models/HBarCodeList.cs b/WebAPI/Models/HBarCodeList.cs index 484abb5..bbc6fad 100644 --- a/WebAPI/Models/HBarCodeList.cs +++ b/WebAPI/Models/HBarCodeList.cs @@ -73,5 +73,8 @@ public Int64 HGroupID2 { get; set; } //"鐝粍"; public Int64 HEmpID2 { get; set; } //"鎿嶄綔鍛�"; + public string HCusModel2 { get; set; } //"瀹㈡埛鐗╂枡瑙勬牸"; + public string HCusMaterName2 { get; set; } //"瀹㈡埛鐗╂枡鍚嶇О"; + } } \ No newline at end of file diff --git a/WebAPI/Models/HSouceOrderList.cs b/WebAPI/Models/HSouceOrderList.cs index 4c7ed52..f9c08d7 100644 --- a/WebAPI/Models/HSouceOrderList.cs +++ b/WebAPI/Models/HSouceOrderList.cs @@ -76,5 +76,7 @@ public Int64 HEmpID { get; set; } //"鎿嶄綔鍛�"; public string HEmpNumber { get; set; } //"鎿嶄綔鍛�"; public string HEmpName { get; set; } //"鎿嶄綔鍛�"; + public string HCusModel { get; set; } //"瀹㈡埛鐗╂枡瑙勬牸"; + public string HCusMaterName { get; set; } //"瀹㈡埛鐗╂枡鍚嶇О"; } } \ No newline at end of file diff --git a/WebAPI/Models/StationBill.cs b/WebAPI/Models/StationBill.cs index f8120e6..294d78d 100644 --- a/WebAPI/Models/StationBill.cs +++ b/WebAPI/Models/StationBill.cs @@ -88,5 +88,7 @@ public double HToCheckQty { get; set; } public double HLossQty { get; set; } public Int64 HShiftsID { get; set; } + public long HMaterToSourceInterID { get; set; } + public string HMaterToSourceBillNo { get; set; } } } \ No newline at end of file diff --git a/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml b/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml index 9250916..2403f43 100644 --- a/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml +++ b/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml @@ -10,7 +10,7 @@ <LastUsedBuildConfiguration>Debug</LastUsedBuildConfiguration> <LastUsedPlatform>x86</LastUsedPlatform> <PublishProvider>FileSystem</PublishProvider> - <PublishUrl>D:\缃戠珯鍙戝竷\鏅轰簯MESWMS\API</PublishUrl> + <PublishUrl>G:\issWeb\缃戠珯鍙戝竷\API</PublishUrl> <WebPublishMethod>FileSystem</WebPublishMethod> <SiteUrlToLaunchAfterPublish /> </PropertyGroup> diff --git a/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user b/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user index 6b17f12..f9fb2d0 100644 --- a/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user +++ b/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user @@ -4,39 +4,12 @@ --> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> - <_PublishTargetUrl>D:\缃戠珯鍙戝竷\鏅轰簯MESWMS\API</_PublishTargetUrl> - <History>True|2024-07-03T07:34:30.7982925Z;True|2024-07-03T15:03:33.6101002+08:00;True|2024-07-03T13:42:57.6688200+08:00;True|2024-07-03T13:35:42.5339861+08:00;True|2024-07-03T11:40:56.6898770+08:00;True|2024-07-03T11:00:23.0984474+08:00;True|2024-07-03T10:59:42.9524828+08:00;True|2024-07-03T10:14:57.1431154+08:00;True|2024-07-03T09:38:57.7552654+08:00;True|2024-07-03T09:03:02.3468895+08:00;True|2024-07-02T16:47:48.3018690+08:00;True|2024-07-02T16:30:03.3303770+08:00;True|2024-07-02T16:09:50.7354441+08:00;True|2024-07-02T15:13:45.8293013+08:00;True|2024-07-02T15:06:51.2091690+08:00;True|2024-07-02T14:42:29.5928255+08:00;True|2024-07-02T14:36:36.7768118+08:00;True|2024-07-02T14:27:19.3447924+08:00;True|2024-07-02T13:38:15.1069360+08:00;True|2024-07-02T13:14:26.2707121+08:00;True|2024-06-28T17:07:07.0350387+08:00;True|2024-06-28T16:59:45.7242072+08:00;True|2024-06-28T16:54:07.2803316+08:00;True|2024-06-28T15:59:12.6839722+08:00;True|2024-06-28T15:56:08.1077973+08:00;True|2024-06-28T15:38:59.5071729+08:00;True|2024-06-28T14:24:23.3884584+08:00;True|2024-06-28T14:10:30.8222066+08:00;True|2024-06-28T14:06:47.2137249+08:00;True|2024-06-28T13:55:43.3209392+08:00;True|2024-06-28T13:42:52.4787981+08:00;True|2024-06-28T13:28:30.0600879+08:00;True|2024-06-28T13:24:40.7603027+08:00;True|2024-06-28T11:30:48.2645090+08:00;True|2024-06-28T10:56:54.4777099+08:00;True|2024-06-27T16:34:50.2238901+08:00;True|2024-06-27T16:32:33.4654221+08:00;True|2024-06-27T16:22:24.9133391+08:00;True|2024-06-27T16:20:07.9920763+08:00;True|2024-06-27T16:15:14.0133890+08:00;True|2024-06-27T10:58:10.3207674+08:00;True|2024-06-25T16:15:35.3257273+08:00;True|2024-06-24T18:12:39.3999672+08:00;False|2024-06-24T18:11:57.7471703+08:00;True|2024-06-20T15:39:47.3427120+08:00;True|2024-06-20T15:11:19.3766436+08:00;True|2024-06-20T15:02:38.8825341+08:00;True|2024-06-20T14:14:33.8431830+08:00;True|2024-06-20T14:10:14.6375855+08:00;True|2024-06-20T14:05:08.8218199+08:00;True|2024-06-20T13:58:23.3085838+08:00;True|2024-06-20T13:47:50.8475268+08:00;True|2024-06-20T10:41:38.1805408+08:00;True|2024-06-20T10:36:20.0215771+08:00;True|2024-06-20T10:30:18.5030326+08:00;True|2024-06-20T10:27:24.0723174+08:00;True|2024-06-20T10:14:49.3084076+08:00;True|2024-06-19T11:22:25.9638091+08:00;True|2024-06-19T11:14:32.9224254+08:00;True|2024-06-19T11:10:09.7376610+08:00;True|2024-06-19T10:49:20.4465588+08:00;True|2024-06-19T10:36:57.1639231+08:00;True|2024-06-11T14:41:11.8639568+08:00;True|2024-06-07T16:18:01.8672070+08:00;True|2024-06-07T15:58:33.8827805+08:00;True|2024-06-07T14:15:58.8759776+08:00;False|2024-06-07T11:11:44.5669069+08:00;True|2024-06-07T10:02:50.1266977+08:00;True|2024-06-07T09:49:53.1460072+08:00;True|2024-06-07T09:48:38.1399118+08:00;True|2024-06-07T08:38:41.8354576+08:00;True|2024-06-07T08:30:23.1369397+08:00;True|2024-06-06T12:59:50.5625799+08:00;True|2024-06-06T10:31:30.2337440+08:00;True|2024-06-06T10:25:28.1353268+08:00;True|2024-06-05T17:02:30.6367920+08:00;True|2024-06-05T16:55:31.1762741+08:00;True|2024-06-05T16:46:00.6507154+08:00;True|2024-06-05T13:36:04.5422998+08:00;True|2024-06-05T13:18:09.8841001+08:00;True|2024-06-05T10:21:42.5518509+08:00;False|2024-06-05T10:08:44.4622592+08:00;True|2024-06-05T08:50:04.4599368+08:00;True|2024-06-05T08:35:12.4434623+08:00;True|2024-06-04T16:17:31.9354255+08:00;True|2024-06-04T15:19:09.2382571+08:00;True|2024-06-04T14:55:11.4221703+08:00;True|2024-06-04T10:47:15.3458246+08:00;True|2024-05-31T15:57:19.8208236+08:00;True|2024-05-31T15:22:42.1789930+08:00;True|2024-05-31T15:13:09.3310754+08:00;True|2024-05-31T15:07:27.2528961+08:00;True|2024-05-31T14:46:54.7960188+08:00;True|2024-05-31T14:34:13.9077799+08:00;True|2024-05-31T14:05:03.8345173+08:00;True|2024-05-31T12:52:38.8326102+08:00;True|2024-05-31T10:29:32.0441427+08:00;True|2024-05-31T10:08:48.0021543+08:00;True|2024-05-31T09:43:32.2488411+08:00;True|2024-05-30T16:29:38.6305342+08:00;True|2024-05-30T16:16:08.3671859+08:00;True|2024-05-30T16:00:42.8690838+08:00;True|2024-05-30T15:07:20.8506508+08:00;True|2024-05-30T14:28:44.1018902+08:00;True|2024-05-30T14:14:25.3034479+08:00;True|2024-05-30T13:36:02.4352359+08:00;True|2024-05-29T13:45:51.8854629+08:00;True|2024-05-28T08:33:52.1977980+08:00;True|2024-05-27T16:00:53.4656146+08:00;True|2024-05-27T10:43:46.1023173+08:00;True|2024-05-27T09:14:09.4690569+08:00;False|2024-05-27T09:09:16.7204665+08:00;False|2024-05-27T08:51:21.5199349+08:00;False|2024-05-27T08:35:49.4339724+08:00;False|2024-05-27T08:29:02.9972247+08:00;True|2024-05-24T14:24:09.8444039+08:00;True|2024-05-24T10:52:44.4487225+08:00;True|2024-05-23T16:36:02.2415058+08:00;True|2024-05-23T13:43:27.7682349+08:00;True|2024-05-23T13:41:26.5710135+08:00;True|2024-05-23T13:25:30.0501860+08:00;True|2024-05-23T13:01:01.8142912+08:00;True|2024-05-22T11:27:52.3476712+08:00;True|2024-04-28T11:08:24.9627592+08:00;True|2024-04-28T09:08:43.2454678+08:00;True|2024-04-09T13:59:05.4840966+08:00;True|2024-04-09T13:32:04.5173492+08:00;True|2024-04-09T10:49:57.0288282+08:00;True|2024-04-09T10:35:48.8906018+08:00;True|2024-04-08T13:40:57.0220970+08:00;True|2024-04-08T13:07:43.0357658+08:00;True|2024-04-08T08:51:13.3450522+08:00;True|2024-04-07T17:08:21.7140078+08:00;True|2024-04-07T16:20:47.0957220+08:00;True|2024-04-07T15:40:03.2944629+08:00;True|2024-04-07T15:36:39.8472773+08:00;True|2024-04-07T15:27:41.4586445+08:00;True|2024-04-07T15:24:44.9945335+08:00;True|2024-04-07T15:21:05.5907054+08:00;True|2024-04-07T14:18:24.9260992+08:00;True|2024-04-02T15:07:56.8405115+08:00;True|2024-03-28T09:57:40.6534155+08:00;True|2024-03-26T17:00:21.0687635+08:00;True|2024-03-26T16:55:53.0643450+08:00;True|2024-03-26T16:50:09.5271078+08:00;True|2024-03-26T16:35:58.3572743+08:00;True|2024-03-26T16:17:50.6562874+08:00;True|2024-03-26T16:02:58.7193861+08:00;True|2024-03-26T15:51:50.2451468+08:00;True|2024-03-26T15:38:02.2327749+08:00;True|2024-03-26T14:43:01.5314209+08:00;True|2024-03-26T14:36:32.9149121+08:00;True|2024-03-26T14:29:28.7806186+08:00;True|2024-03-26T14:11:55.5737213+08:00;True|2024-03-22T16:35:11.0518345+08:00;True|2024-03-21T15:56:07.0130392+08:00;True|2024-03-20T10:50:05.8645964+08:00;True|2024-03-19T15:59:58.2960231+08:00;True|2024-03-19T15:16:32.3388913+08:00;True|2024-03-19T14:51:16.6428107+08:00;True|2024-03-19T14:36:08.8885745+08:00;False|2024-03-19T14:34:44.2637614+08:00;True|2024-03-19T14:22:40.5900691+08:00;True|2024-03-19T14:02:08.9599381+08:00;True|2024-03-19T12:23:05.0332761+08:00;True|2024-03-19T11:53:43.6830010+08:00;True|2024-03-19T11:40:05.7903841+08:00;True|2024-03-15T20:49:17.5076444+08:00;True|2024-03-15T14:00:52.3630660+08:00;True|2024-03-15T12:47:34.8092587+08:00;True|2024-03-15T09:58:23.5517006+08:00;True|2024-03-13T15:28:48.6170490+08:00;True|2024-03-13T13:33:44.3051955+08:00;True|2024-03-13T13:25:15.0372313+08:00;True|2024-03-13T11:59:44.2551502+08:00;True|2024-03-13T11:49:04.7295629+08:00;True|2024-03-13T11:27:27.5893712+08:00;True|2024-03-13T11:12:33.2533839+08:00;True|2024-03-13T11:07:52.7174473+08:00;True|2024-03-13T09:34:08.0467534+08:00;True|2024-03-12T16:24:41.1248271+08:00;True|2024-03-12T12:57:34.1524922+08:00;True|2024-03-12T12:57:10.0401874+08:00;True|2024-03-12T12:37:38.8477356+08:00;True|2024-03-12T12:15:41.3846937+08:00;True|2024-03-12T11:42:00.2207406+08:00;True|2024-03-12T11:33:55.6697043+08:00;True|2024-03-12T11:05:02.7742504+08:00;True|2024-03-12T09:20:07.0762374+08:00;True|2024-03-11T23:16:36.7669114+08:00;True|2024-03-11T23:03:24.2725545+08:00;True|2024-03-11T22:49:15.9602661+08:00;True|2024-03-11T22:47:12.6755805+08:00;True|2024-03-11T17:00:27.3523033+08:00;True|2024-03-11T16:58:40.0175971+08:00;True|2024-03-11T16:44:38.6622087+08:00;True|2024-03-11T12:49:04.1659271+08:00;True|2024-03-11T12:34:46.2212554+08:00;True|2024-03-11T12:04:40.4848855+08:00;True|2024-03-11T11:58:33.1825785+08:00;True|2024-03-11T11:40:10.6536678+08:00;True|2024-03-11T09:04:20.1073972+08:00;True|2024-03-11T00:16:54.5372850+08:00;True|2024-03-11T00:13:59.7140451+08:00;True|2024-03-11T00:08:20.0809329+08:00;True|2024-03-10T23:51:03.0931056+08:00;True|2024-03-10T23:43:22.2299872+08:00;True|2024-03-10T23:31:27.0629130+08:00;True|2024-03-10T22:56:31.1232852+08:00;True|2024-03-10T22:36:41.8541660+08:00;True|2024-03-10T22:15:06.0859435+08:00;True|2024-03-10T21:44:04.4157994+08:00;True|2024-03-10T21:35:38.3813654+08:00;True|2024-03-10T21:21:19.7693278+08:00;True|2024-03-10T13:19:26.4221274+08:00;True|2024-03-08T16:42:34.3346854+08:00;True|2024-03-08T15:50:13.7379672+08:00;True|2024-03-08T15:44:16.4369842+08:00;True|2024-03-08T15:31:50.0622199+08:00;True|2024-03-08T14:26:09.1090416+08:00;True|2024-03-08T14:21:24.9470581+08:00;True|2024-03-08T14:17:32.2780390+08:00;True|2024-03-08T14:03:55.4922720+08:00;True|2024-03-08T13:57:55.4217170+08:00;True|2024-03-08T13:53:43.0935554+08:00;True|2024-03-08T12:54:18.4199897+08:00;True|2024-03-08T12:48:07.6789814+08:00;True|2024-03-08T12:38:48.2818977+08:00;True|2024-03-08T12:21:53.9153553+08:00;True|2024-03-08T12:06:46.9343077+08:00;True|2024-03-08T11:27:39.0237720+08:00;True|2024-03-08T10:59:31.7184492+08:00;True|2024-03-08T10:57:44.8205869+08:00;True|2024-03-08T10:47:27.6962408+08:00;True|2024-03-08T10:29:25.8508156+08:00;True|2024-03-08T10:23:30.0269659+08:00;True|2024-03-08T09:21:21.5915181+08:00;True|2024-03-08T09:16:30.6962592+08:00;True|2024-03-07T17:01:33.5406097+08:00;True|2024-03-07T16:52:05.1956454+08:00;True|2024-03-07T16:41:54.0594859+08:00;True|2024-03-07T16:33:14.5796954+08:00;True|2024-03-07T16:02:27.6565800+08:00;True|2024-03-07T15:45:18.3220942+08:00;True|2024-03-07T15:39:48.9700962+08:00;True|2024-03-07T15:35:21.4018654+08:00;True|2024-03-07T15:22:12.7348197+08:00;True|2024-03-07T15:19:49.2338225+08:00;True|2024-03-07T13:46:05.5084885+08:00;True|2024-03-07T13:42:41.9749496+08:00;True|2024-03-07T13:26:04.1927588+08:00;True|2024-03-07T13:04:29.8689660+08:00;True|2024-03-07T10:24:34.3368602+08:00;True|2024-03-07T09:18:28.2279706+08:00;True|2024-03-06T17:25:36.9409421+08:00;True|2024-03-06T17:04:06.6361562+08:00;True|2024-03-06T14:42:01.3198359+08:00;True|2024-03-06T12:10:29.5231191+08:00;True|2024-03-06T12:03:06.7428246+08:00;True|2024-03-06T11:51:03.6220101+08:00;True|2024-03-06T11:15:22.4977600+08:00;True|2024-03-06T09:38:13.9161080+08:00;True|2024-03-05T16:37:49.9679062+08:00;True|2024-03-05T15:12:23.1933204+08:00;True|2024-03-05T14:51:27.9123344+08:00;True|2024-03-05T12:42:45.6186917+08:00;True|2024-03-05T11:21:19.0499458+08:00;True|2024-03-05T11:07:43.2642432+08:00;True|2024-03-05T09:59:18.0467522+08:00;True|2024-03-05T09:57:25.8947310+08:00;True|2024-03-04T16:41:44.4465908+08:00;True|2024-03-04T16:27:02.5887336+08:00;True|2024-03-04T16:20:05.0027599+08:00;True|2024-03-04T16:19:26.5595399+08:00;True|2024-03-04T15:32:55.6131853+08:00;True|2024-03-04T15:28:44.2800619+08:00;True|2024-03-04T14:54:47.0567440+08:00;True|2024-03-04T10:23:15.8222065+08:00;True|2024-03-03T17:36:33.1017612+08:00;True|2024-03-03T16:51:26.3227366+08:00;True|2024-02-26T09:58:28.3684127+08:00;True|2024-02-26T09:40:27.2127438+08:00;True|2024-02-26T09:30:29.4139007+08:00;True|2024-02-26T08:58:31.6305017+08:00;True|2024-02-26T08:50:25.3686785+08:00;True|2024-02-25T22:42:22.6699571+08:00;True|2024-02-25T21:40:08.7124742+08:00;True|2024-02-23T16:33:06.9165845+08:00;True|2024-02-23T15:20:24.6631954+08:00;True|2024-02-22T13:35:39.8097749+08:00;True|2024-02-22T10:50:51.2245040+08:00;True|2024-02-22T10:37:36.2007251+08:00;True|2024-02-22T10:28:43.0780061+08:00;True|2024-02-22T10:25:14.6494230+08:00;True|2024-02-22T10:22:55.9164843+08:00;True|2024-02-22T10:20:22.7986646+08:00;True|2024-02-22T10:09:31.7828474+08:00;True|2024-02-22T09:52:49.6576546+08:00;True|2024-02-22T09:49:40.2304782+08:00;True|2024-02-22T09:11:37.5212025+08:00;False|2024-02-22T09:11:00.5740908+08:00;True|2024-02-22T09:08:58.7725741+08:00;True|2024-02-21T16:50:09.9380590+08:00;True|2024-02-21T16:25:03.2145943+08:00;True|2024-02-21T16:23:13.6740659+08:00;True|2024-02-21T16:17:53.0411127+08:00;True|2024-02-21T15:57:47.2254175+08:00;True|2024-02-21T15:10:17.2222102+08:00;True|2024-02-21T15:05:10.2464943+08:00;True|2024-02-21T14:27:06.5305080+08:00;True|2024-02-21T14:23:20.9423346+08:00;True|2024-02-21T14:10:37.5156508+08:00;True|2024-02-21T13:54:04.4018306+08:00;True|2024-02-21T08:47:17.0019565+08:00;True|2024-02-20T16:26:31.2412659+08:00;True|2024-02-20T16:23:36.2983740+08:00;True|2024-02-20T16:20:39.9515902+08:00;True|2024-02-20T15:46:12.8212665+08:00;True|2024-02-20T14:58:17.4600086+08:00;True|2024-02-20T10:45:52.2417786+08:00;True|2024-02-20T10:42:11.8298929+08:00;True|2024-02-19T13:06:24.8957799+08:00;True|2024-02-19T11:05:28.0139278+08:00;True|2024-02-19T10:27:01.0810368+08:00;True|2024-02-19T10:22:57.4053027+08:00;True|2024-02-19T10:15:48.5706154+08:00;True|2024-02-19T10:12:02.9076965+08:00;True|2024-02-18T14:57:44.7521494+08:00;True|2024-02-18T14:50:56.3550941+08:00;True|2024-02-18T13:36:49.3942430+08:00;True|2024-02-07T14:06:25.4964506+08:00;True|2024-02-07T10:42:52.2689528+08:00;True|2024-02-06T10:58:49.3342902+08:00;True|2024-02-06T10:53:42.5435511+08:00;True|2024-02-06T10:43:40.1003756+08:00;True|2024-02-06T10:40:46.8233200+08:00;True|2024-02-06T10:17:28.2865591+08:00;True|2024-02-06T10:14:31.6896095+08:00;True|2024-02-06T09:24:29.8745590+08:00;True|2024-02-06T09:20:58.3166183+08:00;True|2024-02-06T09:12:14.4841167+08:00;True|2024-02-06T09:05:10.5375167+08:00;True|2024-02-05T14:51:09.8954604+08:00;True|2024-02-05T14:30:01.0098544+08:00;True|2024-02-05T14:26:49.2548141+08:00;True|2024-02-05T14:05:18.6839229+08:00;True|2024-02-05T13:23:42.1639710+08:00;True|2024-02-05T08:39:07.5523831+08:00;True|2024-02-04T15:09:19.2455417+08:00;True|2024-02-04T13:27:46.2086590+08:00;True|2024-02-04T13:25:20.9639903+08:00;True|2024-02-04T13:20:32.2870983+08:00;True|2024-02-04T13:15:58.3909970+08:00;True|2024-02-04T11:18:59.5180822+08:00;True|2024-02-04T11:07:31.1414636+08:00;True|2024-02-04T11:03:38.8431285+08:00;True|2024-02-04T11:00:42.8307675+08:00;True|2024-02-04T10:59:07.3767796+08:00;True|2024-02-04T10:55:27.9454328+08:00;True|2024-02-04T10:52:29.5988914+08:00;True|2024-02-04T10:50:30.6883153+08:00;True|2024-02-04T10:38:13.0058874+08:00;True|2024-02-04T10:25:53.1906810+08:00;True|2024-02-04T10:14:51.7442720+08:00;True|2024-02-04T10:12:34.4696662+08:00;True|2024-02-04T10:08:56.5805097+08:00;True|2024-02-04T10:07:16.4922026+08:00;True|2024-02-04T09:59:27.2102397+08:00;True|2024-02-04T09:56:42.2238395+08:00;True|2024-02-04T09:52:47.5348300+08:00;True|2024-02-04T09:42:50.9349205+08:00;True|2024-02-04T09:30:32.3567175+08:00;True|2024-02-04T09:19:29.8036670+08:00;True|2024-02-04T09:11:56.0744927+08:00;True|2024-02-04T09:08:42.4432795+08:00;True|2024-02-04T09:05:25.4958302+08:00;True|2024-02-04T08:58:59.7993464+08:00;True|2024-02-04T08:51:20.3017735+08:00;True|2024-02-04T08:43:05.6974823+08:00;True|2024-02-02T16:12:24.3288882+08:00;True|2024-02-02T15:31:12.0724234+08:00;True|2024-02-02T15:14:24.5493301+08:00;True|2024-02-02T15:08:42.0775469+08:00;True|2024-02-02T14:50:25.2357715+08:00;True|2024-02-02T14:48:40.1311047+08:00;True|2024-02-02T14:44:57.9831751+08:00;True|2024-02-02T14:28:12.0713915+08:00;True|2024-02-02T13:55:59.7389347+08:00;True|2024-02-02T13:10:32.7073682+08:00;True|2024-02-02T10:21:41.3665075+08:00;True|2024-02-02T10:08:11.1755065+08:00;True|2024-02-01T16:28:42.6016378+08:00;True|2024-02-01T16:25:35.2865491+08:00;True|2024-02-01T15:48:00.8333105+08:00;True|2024-02-01T15:39:22.9864096+08:00;True|2024-02-01T15:30:30.4856347+08:00;True|2024-02-01T14:34:14.9484851+08:00;True|2024-02-01T13:53:48.9165284+08:00;False|2024-02-01T13:52:39.1911001+08:00;True|2024-02-01T10:40:28.0735829+08:00;True|2024-02-01T10:24:04.5914096+08:00;True|2024-02-01T10:13:00.9882363+08:00;True|2024-01-31T14:56:37.7352718+08:00;True|2024-01-31T14:46:49.9104890+08:00;True|2024-01-31T14:38:56.1841731+08:00;True|2024-01-31T14:35:45.4531352+08:00;True|2024-01-31T14:32:21.5100137+08:00;True|2024-01-31T14:15:26.3231430+08:00;True|2024-01-31T14:00:11.3994150+08:00;True|2024-01-31T13:18:54.8448212+08:00;True|2024-01-31T10:52:59.8159114+08:00;True|2024-01-31T10:28:03.5856625+08:00;True|2024-01-31T10:10:35.0250398+08:00;True|2024-01-30T09:53:14.3256577+08:00;True|2024-01-30T09:43:56.5551157+08:00;True|2024-01-30T08:27:16.7078317+08:00;True|2024-01-29T15:42:55.3394104+08:00;True|2024-01-29T15:36:57.2998818+08:00;True|2024-01-29T15:09:49.3214409+08:00;True|2024-01-29T14:54:23.0025170+08:00;True|2024-01-29T14:33:53.5586728+08:00;True|2024-01-29T10:21:47.9469052+08:00;True|2024-01-29T09:38:26.0354836+08:00;True|2024-01-29T09:28:57.3836958+08:00;True|2024-01-29T09:19:49.0488968+08:00;True|2024-01-26T16:11:46.3859476+08:00;True|2024-01-26T16:11:29.8529136+08:00;True|2024-01-26T10:23:35.6167838+08:00;True|2024-01-26T10:16:04.2780085+08:00;True|2024-01-26T10:05:56.0745647+08:00;True|2024-01-26T10:03:34.8490957+08:00;True|2024-01-26T09:18:57.1502238+08:00;True|2024-01-26T09:05:18.6887593+08:00;True|2024-01-25T16:19:44.3753587+08:00;True|2024-01-25T10:54:55.2695117+08:00;True|2024-01-25T10:52:43.0130697+08:00;True|2024-01-25T10:15:35.2061116+08:00;True|2024-01-25T10:12:55.7724345+08:00;True|2024-01-25T09:59:14.7336333+08:00;True|2024-01-25T09:54:00.8951944+08:00;True|2024-01-23T11:57:00.6176481+08:00;True|2024-01-23T11:48:46.0536266+08:00;True|2024-01-23T11:20:56.9686760+08:00;True|2024-01-23T10:07:03.1874795+08:00;True|2024-01-23T09:28:09.7921197+08:00;True|2024-01-22T17:23:56.8011615+08:00;True|2024-01-22T15:39:51.8307512+08:00;True|2024-01-21T16:56:29.0470984+08:00;True|2024-01-21T16:31:58.1736344+08:00;True|2024-01-21T16:24:19.3683647+08:00;True|2024-01-21T16:02:26.5427715+08:00;True|2024-01-21T15:45:21.0549809+08:00;True|2024-01-21T15:24:46.6563331+08:00;True|2024-01-21T12:57:07.2655536+08:00;True|2024-01-21T11:43:22.1675745+08:00;True|2024-01-21T11:04:07.4676661+08:00;True|2024-01-21T11:03:11.6972981+08:00;True|2024-01-19T12:12:51.7315607+08:00;True|2024-01-19T12:03:23.7846341+08:00;True|2024-01-19T09:21:40.1191844+08:00;True|2024-01-18T15:28:59.1079108+08:00;True|2024-01-18T15:25:00.9561275+08:00;True|2024-01-18T15:19:13.0404548+08:00;True|2024-01-18T13:06:18.2756609+08:00;True|2024-01-18T12:00:29.1983965+08:00;True|2024-01-18T09:51:08.2157377+08:00;True|2024-01-18T09:49:33.8817410+08:00;True|2024-01-17T17:14:07.4523354+08:00;True|2024-01-17T13:46:19.2002783+08:00;True|2024-01-17T13:17:28.0156428+08:00;True|2024-01-17T11:23:28.7024207+08:00;True|2024-01-17T11:07:35.4966809+08:00;True|2024-01-17T10:25:34.7098037+08:00;True|2024-01-17T09:13:26.1252511+08:00;True|2024-01-16T15:33:15.8976694+08:00;True|2024-01-16T13:06:21.8159184+08:00;True|2024-01-16T12:55:14.9963186+08:00;True|2024-01-16T10:26:35.3866122+08:00;True|2024-01-16T10:25:44.1826112+08:00;True|2024-01-12T16:34:51.6106928+08:00;True|2024-01-12T13:14:24.0546049+08:00;True|2024-01-12T13:06:52.9089433+08:00;True|2024-01-12T12:39:48.1623736+08:00;True|2024-01-12T12:36:04.4644966+08:00;True|2024-01-12T10:22:40.9168937+08:00;True|2024-01-12T10:10:47.1460616+08:00;True|2024-01-12T10:05:40.4318518+08:00;True|2024-01-12T10:02:01.3964907+08:00;True|2024-01-12T09:57:23.5579846+08:00;True|2024-01-12T09:52:39.7735343+08:00;True|2024-01-12T09:49:01.7855687+08:00;True|2024-01-12T09:44:26.1839115+08:00;True|2024-01-12T09:40:23.9216298+08:00;True|2024-01-12T09:36:41.0590000+08:00;True|2024-01-12T09:32:36.5860825+08:00;True|2024-01-12T09:18:47.5635433+08:00;True|2024-01-11T16:44:34.1615374+08:00;True|2024-01-11T16:40:15.6664078+08:00;True|2024-01-11T16:35:55.1073771+08:00;True|2024-01-11T16:30:59.0648321+08:00;True|2024-01-11T16:11:06.5473983+08:00;True|2024-01-11T16:00:13.6441008+08:00;True|2024-01-11T15:46:51.9760680+08:00;True|2024-01-11T15:36:57.4756880+08:00;True|2024-01-11T15:31:04.1093476+08:00;True|2024-01-11T15:29:01.9270892+08:00;True|2024-01-11T15:21:23.5612459+08:00;True|2024-01-11T15:20:16.1944310+08:00;True|2024-01-11T15:13:32.1080230+08:00;True|2024-01-11T15:06:57.4237688+08:00;True|2024-01-11T15:05:37.5128999+08:00;True|2024-01-11T14:57:22.7751079+08:00;True|2024-01-11T14:11:04.8587579+08:00;True|2024-01-11T11:21:14.0243941+08:00;True|2024-01-11T11:15:09.4678297+08:00;True|2024-01-09T17:06:36.4675498+08:00;True|2024-01-09T17:02:20.7904461+08:00;False|2024-01-09T11:59:36.2734315+08:00;False|2024-01-09T11:59:30.0330023+08:00;True|2024-01-09T11:59:17.2965616+08:00;True|2024-01-08T13:52:05.1989624+08:00;True|2024-01-08T11:12:57.8687468+08:00;True|2024-01-05T14:51:14.7636988+08:00;True|2024-01-05T14:05:34.1084252+08:00;True|2024-01-05T13:23:32.7473731+08:00;True|2024-01-05T11:23:22.0038600+08:00;True|2024-01-05T08:30:07.8997370+08:00;True|2024-01-04T17:03:59.0070371+08:00;True|2024-01-04T16:35:53.2667600+08:00;True|2024-01-04T13:54:55.5474585+08:00;True|2024-01-04T10:22:53.2575575+08:00;True|2024-01-04T10:19:29.6305295+08:00;True|2024-01-04T10:13:33.8544729+08:00;True|2024-01-04T10:09:45.5777175+08:00;True|2024-01-03T15:38:30.3306310+08:00;True|2024-01-03T15:33:57.3631133+08:00;True|2024-01-03T15:10:07.3593774+08:00;True|2024-01-03T13:01:19.4751344+08:00;True|2024-01-03T11:25:06.5732437+08:00;True|2024-01-03T10:55:20.7518873+08:00;True|2024-01-03T10:40:15.0650254+08:00;True|2024-01-03T10:29:15.9327684+08:00;True|2024-01-03T09:34:04.8587473+08:00;True|2024-01-03T08:19:57.3625106+08:00;True|2023-12-29T16:46:23.7770752+08:00;True|2023-12-29T16:45:18.9092534+08:00;True|2023-12-29T16:40:16.7253697+08:00;True|2023-12-29T16:35:46.0906100+08:00;True|2023-12-29T16:19:46.4369159+08:00;True|2023-12-29T15:13:11.2466536+08:00;True|2023-12-29T15:08:16.1413948+08:00;True|2023-12-29T11:54:24.8686181+08:00;True|2023-12-29T10:54:38.1200087+08:00;True|2023-12-29T10:43:44.2132588+08:00;True|2023-12-29T10:23:35.9589067+08:00;True|2023-12-29T10:21:38.3438976+08:00;True|2023-12-29T10:16:16.7097491+08:00;True|2023-12-29T09:53:37.8863387+08:00;True|2023-12-27T14:41:20.6098455+08:00;True|2023-12-27T14:15:27.0538444+08:00;True|2023-12-27T13:07:04.0423436+08:00;True|2023-12-27T11:13:53.7170363+08:00;True|2023-12-27T10:59:32.5371257+08:00;True|2023-12-27T10:48:01.7326864+08:00;True|2023-12-26T09:13:22.3086191+08:00;True|2023-12-26T09:12:47.2137946+08:00;True|2023-12-25T12:22:46.8608633+08:00;True|2023-12-25T12:18:59.4402254+08:00;True|2023-12-25T12:11:03.2410147+08:00;True|2023-12-25T09:37:48.6741194+08:00;True|2023-12-25T09:37:03.2635243+08:00;True|2023-12-22T09:44:26.5356492+08:00;True|2023-12-21T16:58:23.0505653+08:00;True|2023-12-21T16:51:26.4945132+08:00;True|2023-12-21T16:48:53.6772071+08:00;True|2023-12-21T16:23:16.4577315+08:00;True|2023-12-21T16:22:38.6599138+08:00;True|2023-12-21T16:11:43.8422015+08:00;True|2023-12-21T15:45:42.5751240+08:00;True|2023-12-15T16:26:52.3591879+08:00;True|2023-12-15T16:22:25.0756865+08:00;True|2023-12-15T14:19:10.1362534+08:00;True|2023-12-15T14:15:47.5585902+08:00;True|2023-12-15T13:41:56.8875380+08:00;True|2023-12-13T00:13:19.2052917+08:00;True|2023-12-12T23:45:04.0751980+08:00;True|2023-12-12T23:33:28.8199619+08:00;True|2023-12-11T16:31:01.1694979+08:00;True|2023-12-11T15:47:51.2813632+08:00;True|2023-12-11T14:31:49.0572919+08:00;True|2023-12-11T11:45:11.2736360+08:00;True|2023-12-11T11:42:47.5744097+08:00;True|2023-12-11T11:41:16.3262612+08:00;True|2023-12-11T11:32:42.2722966+08:00;True|2023-12-11T11:25:22.8877561+08:00;True|2023-12-11T11:18:20.8210764+08:00;True|2023-12-11T11:16:52.0927831+08:00;True|2023-12-11T11:12:29.9473078+08:00;True|2023-12-10T16:43:56.1726039+08:00;True|2023-12-08T16:50:00.8823437+08:00;True|2023-12-08T14:59:10.2356691+08:00;True|2023-12-08T14:53:13.6038106+08:00;True|2023-12-08T14:51:33.9002713+08:00;True|2023-12-08T14:49:22.0867686+08:00;True|2023-12-08T14:45:05.4216954+08:00;True|2023-12-08T14:30:25.7790911+08:00;True|2023-12-08T14:26:26.1041925+08:00;True|2023-12-08T10:55:36.7338237+08:00;True|2023-12-08T10:24:01.5463359+08:00;True|2023-12-08T10:04:35.7996746+08:00;True|2023-12-08T09:59:17.1279949+08:00;True|2023-12-08T09:52:45.7941909+08:00;True|2023-12-08T09:51:26.7251883+08:00;True|2023-12-08T09:27:43.4049328+08:00;True|2023-12-08T09:12:16.7029758+08:00;True|2023-12-07T11:13:10.4285460+08:00;True|2023-12-01T14:35:34.0005130+08:00;True|2023-12-01T13:21:46.3327168+08:00;True|2023-12-01T13:04:28.4801319+08:00;True|2023-11-30T16:46:41.8793520+08:00;True|2023-11-30T16:04:49.7131798+08:00;True|2023-11-30T15:51:12.9846550+08:00;True|2023-11-30T12:52:06.3440387+08:00;True|2023-11-28T11:20:26.3599705+08:00;True|2023-11-28T09:43:48.5733385+08:00;True|2023-11-27T12:13:11.3038226+08:00;True|2023-11-27T11:54:35.3665327+08:00;True|2023-11-24T13:10:19.3181494+08:00;True|2023-11-24T09:52:10.7335160+08:00;True|2023-11-24T09:31:32.3926443+08:00;True|2023-11-22T13:30:50.3888837+08:00;True|2023-11-22T13:22:29.5388053+08:00;True|2023-11-22T12:14:49.7935345+08:00;True|2023-11-22T11:28:30.8047701+08:00;True|2023-11-20T12:04:07.1512783+08:00;True|2023-11-20T11:58:16.7337435+08:00;True|2023-11-20T11:03:24.3231922+08:00;True|2023-11-20T10:59:12.6367033+08:00;True|2023-11-20T10:33:56.2434367+08:00;True|2023-11-17T15:05:08.6847106+08:00;True|2023-11-17T10:29:33.0225444+08:00;True|2023-11-16T14:21:42.1686146+08:00;True|2023-11-16T13:16:34.1913128+08:00;True|2023-11-16T12:57:16.2850606+08:00;True|2023-11-16T11:11:31.8430891+08:00;True|2023-11-16T10:20:42.1252046+08:00;True|2023-11-16T10:18:14.1408709+08:00;True|2023-11-16T09:23:36.6628173+08:00;True|2023-11-15T14:28:33.3369087+08:00;True|2023-11-15T12:26:26.2137336+08:00;True|2023-11-15T12:25:16.0092237+08:00;True|2023-11-15T11:14:45.4326153+08:00;True|2023-11-15T09:02:00.2711268+08:00;True|2023-11-15T08:53:27.1187290+08:00;True|2023-11-14T18:54:52.3812819+08:00;True|2023-11-14T18:52:20.2229451+08:00;True|2023-11-14T17:55:59.0996386+08:00;True|2023-11-14T17:04:46.5334994+08:00;True|2023-11-14T15:02:42.0419908+08:00;True|2023-11-14T14:56:49.6970449+08:00;True|2023-11-14T13:18:29.4329574+08:00;True|2023-11-14T12:23:09.7978978+08:00;True|2023-11-13T16:16:20.9105084+08:00;True|2023-11-13T16:11:45.1099698+08:00;True|2023-11-13T13:16:02.1477662+08:00;True|2023-11-13T13:15:15.6182523+08:00;True|2023-11-13T11:11:21.7620762+08:00;True|2023-11-13T10:01:31.2619079+08:00;True|2023-11-13T09:18:34.3054349+08:00;True|2023-11-13T00:48:47.6800494+08:00;True|2023-11-13T00:42:22.9854286+08:00;True|2023-11-10T16:59:57.9013482+08:00;True|2023-11-10T13:56:10.1520148+08:00;True|2023-11-10T12:25:28.8978413+08:00;True|2023-11-10T12:04:30.4991249+08:00;True|2023-11-10T11:55:52.1921552+08:00;True|2023-11-10T11:39:33.1910863+08:00;True|2023-11-10T11:17:17.2050570+08:00;True|2023-11-10T10:31:48.8350379+08:00;True|2023-11-09T13:11:02.1210376+08:00;True|2023-11-09T11:04:23.6279742+08:00;True|2023-11-09T09:52:39.0767165+08:00;True|2023-11-09T09:45:47.5629254+08:00;True|2023-11-09T09:41:09.1121998+08:00;True|2023-11-09T09:34:16.8133121+08:00;True|2023-11-08T16:33:38.3080500+08:00;True|2023-11-08T16:14:37.9282566+08:00;True|2023-11-08T15:31:46.8084522+08:00;True|2023-11-08T14:27:48.2352711+08:00;True|2023-11-08T12:23:56.5235127+08:00;True|2023-11-08T11:41:12.7035010+08:00;True|2023-11-08T11:38:42.5318310+08:00;True|2023-11-08T10:18:43.5798164+08:00;True|2023-11-08T09:06:35.6712939+08:00;True|2023-11-08T08:57:36.1174660+08:00;True|2023-11-08T00:07:44.2585670+08:00;True|2023-11-06T23:28:53.2559097+08:00;True|2023-11-06T23:00:40.3059201+08:00;True|2023-11-06T21:14:59.0505998+08:00;True|2023-11-03T22:08:06.7984691+08:00;True|2023-11-03T20:33:47.8005656+08:00;True|2023-11-03T19:18:45.1406730+08:00;True|2023-11-03T14:56:44.7332321+08:00;True|2023-11-02T20:13:15.5530300+08:00;True|2023-11-02T19:22:24.9140752+08:00;True|2023-11-02T18:58:18.1198017+08:00;True|2023-11-01T18:31:39.9490440+08:00;True|2023-11-01T14:49:43.8703361+08:00;True|2023-11-01T14:38:44.8729900+08:00;True|2023-11-01T14:14:57.6507597+08:00;True|2023-11-01T13:04:09.9744075+08:00;True|2023-10-31T13:03:41.1902847+08:00;True|2023-10-31T11:29:03.3252294+08:00;True|2023-10-30T18:35:01.5128678+08:00;True|2023-10-30T18:25:01.6612244+08:00;True|2023-10-26T17:07:56.7081658+08:00;True|2023-10-18T16:20:51.8420951+08:00;True|2023-10-16T16:44:43.7908528+08:00;True|2023-10-16T11:17:09.2728375+08:00;True|2023-10-16T10:28:07.3397339+08:00;True|2023-10-16T10:26:35.6073358+08:00;True|2023-10-16T10:21:48.9925797+08:00;True|2023-10-13T11:26:05.2730047+08:00;True|2023-10-12T08:19:04.3028512+08:00;True|2023-10-11T20:40:21.6934217+08:00;True|2023-10-11T20:28:04.3302789+08:00;True|2023-10-11T20:16:51.2741909+08:00;True|2023-10-11T20:10:01.4624158+08:00;True|2023-10-11T15:32:40.9782838+08:00;True|2023-10-11T15:21:09.0531801+08:00;True|2023-10-11T15:05:59.9622196+08:00;True|2023-10-11T10:51:46.8571661+08:00;True|2023-10-11T10:41:25.5037704+08:00;True|2023-10-11T10:13:32.2604453+08:00;True|2023-10-11T10:05:52.2170423+08:00;True|2023-10-11T09:47:35.6578975+08:00;True|2023-10-11T09:44:31.2001499+08:00;True|2023-10-11T09:37:09.6904898+08:00;True|2023-10-10T10:18:33.1073992+08:00;True|2023-10-10T09:32:05.6384867+08:00;True|2023-10-10T09:15:26.4844254+08:00;True|2023-10-10T09:03:39.1497247+08:00;True|2023-10-10T08:56:14.9475607+08:00;True|2023-10-09T15:38:52.6561232+08:00;True|2023-10-09T14:22:16.0301342+08:00;True|2023-10-09T13:24:40.4941388+08:00;True|2023-10-09T10:30:48.0015664+08:00;True|2023-10-09T09:52:47.4626658+08:00;True|2023-10-08T14:21:13.7960780+08:00;True|2023-10-08T10:31:55.0337899+08:00;True|2023-10-08T08:24:13.2663041+08:00;True|2023-10-07T10:40:04.1716715+08:00;True|2023-10-07T09:51:11.1928375+08:00;True|2023-10-07T09:43:13.8042516+08:00;True|2023-09-28T15:45:01.2865878+08:00;True|2023-09-28T15:32:23.8179822+08:00;True|2023-09-28T14:37:03.1119806+08:00;True|2023-09-28T14:30:07.0877531+08:00;True|2023-09-28T14:01:36.5862373+08:00;True|2023-09-28T08:29:16.5989163+08:00;True|2023-09-28T08:12:23.3924898+08:00;True|2023-09-27T17:04:09.2538198+08:00;True|2023-09-27T16:38:03.8237948+08:00;True|2023-09-27T16:12:28.7977056+08:00;True|2023-09-27T15:56:03.7725704+08:00;True|2023-09-27T15:12:31.1298921+08:00;True|2023-09-27T15:05:14.4058045+08:00;True|2023-09-27T14:55:43.4423114+08:00;True|2023-09-27T14:33:26.2272014+08:00;True|2023-09-22T13:26:44.6246077+08:00;True|2023-09-22T11:14:50.9067626+08:00;True|2023-09-22T09:36:50.6912928+08:00;True|2023-09-22T09:26:38.2305802+08:00;True|2023-09-22T09:02:22.5400635+08:00;True|2023-09-20T17:20:27.9780370+08:00;True|2023-09-19T09:20:00.1269897+08:00;True|2023-09-19T09:10:18.4900723+08:00;True|2023-09-19T08:30:20.1709390+08:00;True|2023-09-18T15:43:28.1580264+08:00;True|2023-09-15T10:08:50.6367258+08:00;True|2023-09-14T17:17:10.7002185+08:00;True|2023-09-14T16:55:47.7782477+08:00;True|2023-09-14T14:05:25.9485449+08:00;False|2023-09-14T14:04:51.9423918+08:00;True|2023-09-12T09:37:17.5430590+08:00;True|2023-09-11T16:38:00.9834961+08:00;True|2023-09-11T13:04:08.1338596+08:00;True|2023-09-11T09:33:03.5400174+08:00;True|2023-09-08T15:34:46.6427039+08:00;True|2023-09-08T15:32:26.7896155+08:00;True|2023-09-08T14:07:16.6283055+08:00;True|2023-09-08T08:21:08.8368055+08:00;True|2023-09-08T08:07:29.5992984+08:00;True|2023-09-07T13:03:24.6924914+08:00;True|2023-09-07T11:02:02.9462467+08:00;True|2023-09-07T08:57:36.4913496+08:00;True|2023-09-07T08:55:57.3245545+08:00;True|2023-09-06T13:47:04.0563026+08:00;True|2023-09-06T13:42:27.3031938+08:00;True|2023-09-05T08:28:44.6193871+08:00;True|2023-09-04T20:42:09.4672710+08:00;True|2023-09-03T14:06:37.5079909+08:00;True|2023-09-02T18:58:24.1492192+08:00;True|2023-09-01T13:19:28.2779978+08:00;True|2023-09-01T08:40:54.0577358+08:00;True|2023-08-31T16:47:34.8462721+08:00;True|2023-08-31T14:49:39.9056564+08:00;True|2023-08-31T14:20:01.4071384+08:00;True|2023-08-31T11:25:29.0233052+08:00;True|2023-08-31T10:28:13.4933678+08:00;True|2023-08-31T10:21:52.6638820+08:00;True|2023-08-31T08:46:57.8782261+08:00;True|2023-08-31T08:46:08.4791004+08:00;True|2023-08-30T09:06:17.4001684+08:00;True|2023-08-30T08:52:06.9481657+08:00;True|2023-08-29T17:11:33.7851914+08:00;True|2023-08-29T16:58:52.7298807+08:00;True|2023-08-29T15:58:23.4205277+08:00;True|2023-08-29T15:56:40.3534593+08:00;True|2023-08-29T15:54:29.1188567+08:00;True|2023-08-29T15:53:27.9719983+08:00;True|2023-08-29T15:52:38.7670005+08:00;True|2023-08-29T15:51:32.3703092+08:00;True|2023-08-29T15:47:38.5198946+08:00;True|2023-08-29T15:46:17.4698017+08:00;True|2023-08-29T15:42:04.1853400+08:00;True|2023-08-29T15:29:28.1098681+08:00;True|2023-08-29T15:18:40.8587286+08:00;True|2023-08-29T14:47:50.3088948+08:00;True|2023-08-29T14:47:27.6552611+08:00;False|2023-08-28T13:59:37.8725670+08:00;True|2023-08-18T13:23:38.9937084+08:00;True|2023-08-18T10:09:51.5247737+08:00;True|2023-08-18T08:26:21.8473123+08:00;True|2023-08-17T08:31:37.8696349+08:00;True|2023-08-17T08:23:59.5658185+08:00;True|2023-08-17T08:07:38.2174684+08:00;True|2023-08-16T16:49:44.2549852+08:00;True|2023-08-16T16:33:59.9298792+08:00;True|2023-08-16T15:35:29.6092783+08:00;True|2023-08-16T11:17:28.1086751+08:00;True|2023-08-16T11:17:22.3814672+08:00;True|2023-08-16T08:44:16.0941179+08:00;True|2023-08-15T15:29:15.8118269+08:00;True|2023-08-15T14:47:06.4963591+08:00;True|2023-08-11T16:49:35.8718314+08:00;True|2023-08-11T14:22:59.9440967+08:00;True|2023-08-11T14:16:25.0940743+08:00;True|2023-08-11T13:27:25.4148450+08:00;True|2023-08-11T09:08:31.5437265+08:00;True|2023-08-11T09:04:38.4540336+08:00;True|2023-08-10T14:11:07.0042283+08:00;True|2023-08-08T13:48:19.2402267+08:00;True|2023-08-08T13:44:15.6796969+08:00;True|2023-07-27T09:46:14.1491814+08:00;True|2023-07-21T11:13:10.0843656+08:00;True|2023-07-21T10:56:47.5835580+08:00;True|2023-07-21T10:30:33.0113443+08:00;True|2023-07-20T19:16:37.4936135+08:00;True|2023-07-20T19:00:41.0636578+08:00;True|2023-07-19T13:28:27.8671371+08:00;True|2023-07-19T13:23:42.1880500+08:00;True|2023-07-19T13:19:18.7201227+08:00;True|2023-07-19T13:06:38.9897249+08:00;True|2023-07-19T12:13:11.2061059+08:00;True|2023-07-19T11:45:20.0391356+08:00;True|2023-07-19T11:24:02.5425841+08:00;True|2023-07-19T10:32:06.7915754+08:00;True|2023-07-19T09:51:08.4553434+08:00;True|2023-07-19T09:48:11.2977426+08:00;True|2023-07-18T08:47:44.1724897+08:00;True|2023-07-17T16:25:10.8982872+08:00;True|2023-07-17T14:50:44.3708198+08:00;True|2023-07-17T14:20:26.4686898+08:00;True|2023-07-17T14:18:16.6127136+08:00;True|2023-07-17T14:16:34.9116950+08:00;True|2023-07-17T14:14:44.7988846+08:00;True|2023-07-17T14:06:18.1123806+08:00;True|2023-07-17T14:03:38.5290433+08:00;True|2023-07-17T13:48:54.3096778+08:00;True|2023-07-17T13:23:13.6097762+08:00;True|2023-07-17T09:54:25.9375716+08:00;True|2023-07-17T09:40:22.2531559+08:00;True|2023-07-17T09:21:15.0786649+08:00;True|2023-07-17T09:03:37.2081513+08:00;True|2023-07-16T21:20:45.3036514+08:00;True|2023-07-16T21:09:16.1559694+08:00;True|2023-07-16T21:05:22.2504644+08:00;True|2023-07-16T20:41:26.5956030+08:00;True|2023-07-16T20:19:33.5726613+08:00;True|2023-07-16T19:46:38.6493518+08:00;True|2023-07-14T10:33:17.6270692+08:00;True|2023-07-11T14:34:22.8852169+08:00;True|2023-07-11T14:27:22.7851108+08:00;True|2023-07-11T14:13:21.6512172+08:00;True|2023-07-11T14:06:33.9865646+08:00;True|2023-07-11T13:52:46.2830836+08:00;True|2023-07-11T13:38:56.3165889+08:00;True|2023-07-11T13:29:40.9636697+08:00;True|2023-07-11T13:25:23.0633788+08:00;True|2023-07-11T10:17:40.8002359+08:00;True|2023-07-11T10:15:47.5472709+08:00;True|2023-07-11T10:12:25.6440547+08:00;True|2023-07-11T10:07:39.3716167+08:00;True|2023-07-11T09:22:07.4191357+08:00;True|2023-07-04T13:07:10.1209516+08:00;True|2023-06-30T16:11:25.7541580+08:00;True|2023-06-30T15:39:26.6678989+08:00;True|2023-06-30T15:26:40.6581344+08:00;True|2023-06-30T15:12:57.9906312+08:00;True|2023-06-29T16:39:15.6477820+08:00;True|2023-06-28T17:01:51.9542466+08:00;True|2023-06-27T15:03:28.1320450+08:00;True|2023-06-27T13:36:39.6707848+08:00;True|2023-06-26T09:40:01.1754706+08:00;True|2023-06-25T12:16:28.9080024+08:00;True|2023-06-25T11:51:59.9238461+08:00;True|2023-06-25T11:50:29.3100358+08:00;True|2023-06-25T11:29:28.5338563+08:00;True|2023-06-25T09:10:26.2420288+08:00;True|2023-06-25T09:08:15.0702872+08:00;True|2023-06-25T08:43:15.0806611+08:00;True|2023-06-25T08:41:41.8156616+08:00;True|2023-06-25T08:39:30.6818013+08:00;True|2023-06-25T08:38:18.5996529+08:00;True|2023-06-25T08:36:34.1479706+08:00;True|2023-06-25T08:34:53.9856289+08:00;True|2023-06-25T08:31:24.0298080+08:00;True|2023-06-25T08:15:45.7453280+08:00;True|2023-06-25T08:01:52.7609075+08:00;True|2023-06-24T21:25:23.8938665+08:00;True|2023-06-22T03:02:26.7305758+08:00;True|2023-06-22T02:10:48.8222890+08:00;True|2023-06-22T01:57:41.7875184+08:00;True|2023-06-22T01:52:19.4217362+08:00;True|2023-06-21T16:27:15.1464129+08:00;True|2023-06-21T16:11:46.6111817+08:00;True|2023-06-21T13:14:00.6869253+08:00;True|2023-06-21T13:09:28.2689225+08:00;True|2023-06-21T12:24:02.6762426+08:00;True|2023-06-21T12:18:06.2748924+08:00;True|2023-06-21T11:18:02.6754143+08:00;True|2023-06-21T11:08:34.2149469+08:00;True|2023-06-21T08:20:50.0079906+08:00;True|2023-06-20T15:56:03.2638713+08:00;True|2023-06-20T15:48:38.2419545+08:00;True|2023-06-20T15:35:26.6615171+08:00;True|2023-06-20T15:20:31.9284860+08:00;True|2023-06-20T15:18:39.8265469+08:00;True|2023-06-20T15:09:16.7617272+08:00;True|2023-06-20T09:53:23.2658672+08:00;True|2023-06-16T10:00:58.0337616+08:00;True|2023-06-16T09:47:58.8912904+08:00;True|2023-06-16T09:26:36.4914832+08:00;True|2023-06-15T16:22:21.4509393+08:00;True|2023-06-12T13:21:12.0491357+08:00;True|2023-06-12T10:18:32.9287587+08:00;True|2023-06-09T16:22:24.1132267+08:00;True|2023-06-08T18:12:42.4814009+08:00;True|2023-06-08T11:08:48.0533571+08:00;True|2023-06-08T10:41:43.0121701+08:00;False|2023-06-08T10:40:19.2093235+08:00;True|2023-06-06T13:03:50.8124200+08:00;True|2023-06-05T10:12:24.1858209+08:00;True|2023-06-02T17:02:57.5817094+08:00;True|2023-05-26T13:54:40.2272218+08:00;True|2023-05-24T12:43:50.2427994+08:00;True|2023-05-24T12:34:24.3922836+08:00;True|2023-05-24T10:07:19.4995219+08:00;True|2023-05-24T09:21:29.1960080+08:00;True|2023-05-23T22:34:23.3220912+08:00;True|2023-05-23T22:01:14.4175449+08:00;True|2023-05-23T17:02:53.0308400+08:00;True|2023-05-23T16:30:11.7138623+08:00;True|2023-05-23T15:51:50.0152484+08:00;True|2023-05-23T15:50:52.0657433+08:00;True|2023-05-23T15:28:25.5802377+08:00;True|2023-05-23T15:25:56.4633020+08:00;True|2023-05-23T14:52:29.8759921+08:00;True|2023-05-23T14:48:44.6519763+08:00;True|2023-05-20T04:28:10.3108871+08:00;True|2023-05-20T03:56:22.7233820+08:00;True|2023-05-20T03:47:38.4405026+08:00;True|2023-05-20T03:46:40.6056451+08:00;True|2023-05-20T03:44:25.0883888+08:00;True|2023-05-20T03:41:10.1148691+08:00;True|2023-05-20T02:34:14.3757035+08:00;True|2023-05-20T02:27:50.5595075+08:00;True|2023-05-20T02:23:04.2256041+08:00;True|2023-05-20T01:46:59.9534021+08:00;True|2023-05-20T01:42:33.5106065+08:00;True|2023-05-20T01:40:39.6918060+08:00;True|2023-05-20T01:11:47.7436847+08:00;True|2023-05-20T01:03:58.9476094+08:00;True|2023-05-19T22:59:47.4591129+08:00;True|2023-05-19T22:34:44.7988447+08:00;True|2023-05-19T22:24:55.2320279+08:00;True|2023-05-19T21:40:19.5285575+08:00;True|2023-05-19T21:38:21.2073338+08:00;True|2023-05-19T20:54:59.2058809+08:00;True|2023-05-19T16:08:15.0151080+08:00;True|2023-05-19T15:26:16.2836301+08:00;True|2023-05-19T13:09:06.1592914+08:00;True|2023-05-19T12:24:23.6252771+08:00;True|2023-05-19T11:50:53.8948740+08:00;True|2023-05-19T11:43:57.9296933+08:00;True|2023-05-19T10:44:34.9904463+08:00;True|2023-05-19T09:32:02.1216663+08:00;False|2023-05-19T09:31:06.4251757+08:00;True|2023-05-18T22:34:36.5292968+08:00;True|2023-05-18T20:37:59.7940567+08:00;True|2023-05-18T20:36:35.2790349+08:00;True|2023-05-18T20:34:10.7400457+08:00;True|2023-05-18T20:32:43.8790879+08:00;True|2023-05-18T20:31:13.5389643+08:00;True|2023-05-18T20:29:19.6206139+08:00;True|2023-05-18T20:07:25.5074263+08:00;True|2023-05-18T18:19:43.5324315+08:00;True|2023-05-18T18:15:36.4290026+08:00;True|2023-05-18T18:12:31.8703551+08:00;True|2023-05-18T18:10:52.9289531+08:00;True|2023-05-18T18:09:23.9118797+08:00;True|2023-05-18T17:58:30.8068228+08:00;True|2023-05-18T17:56:55.8055382+08:00;False|2023-05-18T17:54:54.7950789+08:00;False|2023-05-18T17:11:18.2325105+08:00;True|2023-05-18T17:09:24.4186482+08:00;True|2023-05-18T17:06:32.0699130+08:00;False|2023-05-18T17:01:41.8164925+08:00;False|2023-05-18T16:59:32.1112741+08:00;True|2023-05-18T16:58:34.1784100+08:00;True|2023-05-18T16:56:36.9460541+08:00;True|2023-05-18T16:55:00.9843495+08:00;True|2023-05-18T16:49:04.0161640+08:00;True|2023-05-18T16:48:28.9011382+08:00;True|2023-05-18T16:44:52.0675900+08:00;False|2023-05-18T16:44:37.3514214+08:00;False|2023-05-18T16:43:23.3343369+08:00;True|2023-05-18T16:41:35.8818611+08:00;True|2023-05-18T16:25:43.5167900+08:00;False|2023-05-18T16:24:46.6646890+08:00;False|2023-05-18T16:19:55.4153618+08:00;False|2023-05-18T16:16:18.0052881+08:00;False|2023-05-18T16:14:32.3377278+08:00;True|2023-05-17T15:43:45.1868569+08:00;True|2023-05-17T15:35:42.2476880+08:00;True|2023-05-17T14:23:28.2390957+08:00;True|2023-05-17T13:54:00.6756387+08:00;True|2023-05-17T13:45:46.1115068+08:00;True|2023-05-17T07:57:34.7129429+08:00;True|2023-05-16T16:04:20.3198005+08:00;False|2023-05-16T16:03:52.0737233+08:00;True|2023-05-16T15:28:45.4945726+08:00;True|2023-05-16T15:14:10.4952128+08:00;True|2023-05-16T15:04:46.5706346+08:00;True|2023-05-16T14:46:48.7034492+08:00;True|2023-05-16T14:45:29.4047499+08:00;True|2023-05-16T14:42:47.3507679+08:00;True|2023-05-16T14:30:47.9199224+08:00;True|2023-05-16T14:29:10.9147184+08:00;True|2023-05-16T14:27:48.3632687+08:00;True|2023-05-16T14:24:44.6240034+08:00;True|2023-05-16T14:19:41.2962188+08:00;True|2023-05-16T13:41:13.3366211+08:00;True|2023-05-16T13:26:44.1532655+08:00;True|2023-05-16T13:23:40.2882422+08:00;True|2023-05-16T13:11:41.5416792+08:00;True|2023-05-16T13:08:41.6341863+08:00;True|2023-05-16T13:04:35.6916867+08:00;True|2023-05-16T13:00:34.6889598+08:00;True|2023-05-16T12:57:48.4561274+08:00;True|2023-05-16T12:50:57.7405833+08:00;True|2023-05-16T12:49:33.8394829+08:00;True|2023-05-16T12:44:28.6906226+08:00;True|2023-05-16T12:41:08.3554032+08:00;True|2023-05-16T12:32:32.3448036+08:00;True|2023-05-16T11:32:04.4504376+08:00;True|2023-05-15T18:39:28.9172042+08:00;True|2023-05-15T18:35:41.5268755+08:00;True|2023-05-15T18:16:16.2900985+08:00;True|2023-04-28T16:24:40.7430596+08:00;False|2023-04-28T16:21:34.8499384+08:00;True|2023-04-28T15:43:40.3023318+08:00;True|2023-04-28T15:41:18.8228620+08:00;True|2023-04-28T14:16:21.1595325+08:00;True|2023-04-28T10:27:55.2150739+08:00;True|2023-04-12T16:25:26.5218825+08:00;True|2023-04-12T15:45:29.3993255+08:00;True|2023-04-12T14:00:18.1960878+08:00;True|2023-04-12T13:16:39.0804178+08:00;True|2023-04-11T11:02:27.5200402+08:00;True|2023-04-11T09:57:11.5903829+08:00;True|2023-04-10T09:58:01.1775220+08:00;True|2023-03-13T11:19:32.0927720+08:00;True|2023-03-13T10:39:50.9250037+08:00;True|2023-03-13T08:54:57.5891390+08:00;True|2023-03-10T09:00:31.2441735+08:00;True|2023-03-08T08:25:11.1877416+08:00;True|2023-03-06T09:18:03.5502956+08:00;True|2023-03-06T09:14:57.8192971+08:00;True|2023-01-11T13:30:27.8190489+08:00;True|2023-01-06T14:29:14.6067256+08:00;True|2022-12-23T17:06:52.0688439+08:00;True|2022-12-23T16:12:04.4155951+08:00;True|2022-12-23T13:35:44.6439326+08:00;True|2022-11-30T08:24:02.9999976+08:00;True|2022-11-30T08:01:51.4579972+08:00;True|2022-11-29T21:32:14.4359673+08:00;True|2022-11-29T19:30:22.9466023+08:00;True|2022-11-29T19:24:30.1630119+08:00;True|2022-11-29T17:31:43.1926801+08:00;True|2022-11-29T17:14:32.5869985+08:00;True|2022-11-29T10:42:57.1877576+08:00;True|2022-11-27T14:40:28.4784748+08:00;True|2022-11-26T20:49:34.2789400+08:00;True|2022-11-26T19:24:58.9988205+08:00;True|2022-11-26T15:33:08.6274944+08:00;True|2022-11-26T14:37:46.3953592+08:00;True|2022-11-26T09:16:41.7487240+08:00;True|2022-11-24T09:49:50.7302637+08:00;True|2022-11-23T16:24:56.5946914+08:00;True|2022-11-23T16:19:57.5570583+08:00;True|2022-11-23T15:05:13.8032246+08:00;True|2022-11-22T20:24:39.7324815+08:00;True|2022-11-22T13:18:16.2143925+08:00;False|2022-11-22T13:12:53.0448580+08:00;True|2022-11-22T11:03:01.7571733+08:00;True|2022-11-21T13:20:11.1961237+08:00;True|2022-11-21T13:13:52.0360749+08:00;True|2022-11-18T15:48:13.0747365+08:00;True|2022-11-18T14:15:54.5626901+08:00;True|2022-11-17T18:41:26.5464503+08:00;True|2022-11-15T13:55:35.3496366+08:00;True|2022-11-15T11:03:23.6773297+08:00;True|2022-11-15T10:58:47.9703720+08:00;True|2022-11-15T10:12:27.8305782+08:00;True|2022-11-15T09:47:26.7480777+08:00;True|2022-11-15T08:55:44.0275263+08:00;True|2022-11-15T08:54:06.6396851+08:00;True|2022-11-15T08:44:18.2013404+08:00;True|2022-11-15T01:16:19.8154538+08:00;True|2022-11-15T01:15:03.7846810+08:00;True|2022-11-15T01:01:11.0318599+08:00;True|2022-11-15T00:30:33.7148460+08:00;True|2022-11-15T00:15:26.5178283+08:00;True|2022-11-14T23:54:32.6128172+08:00;True|2022-11-14T23:26:52.0335380+08:00;True|2022-11-14T22:21:28.0622050+08:00;True|2022-11-14T21:47:43.6964619+08:00;True|2022-11-14T21:41:42.3128804+08:00;True|2022-11-14T21:31:17.2784203+08:00;True|2022-11-14T20:48:20.0380343+08:00;True|2022-11-11T17:24:44.7029993+08:00;True|2022-11-11T16:47:29.3444029+08:00;True|2022-11-11T16:07:26.4718473+08:00;True|2022-11-11T15:52:41.7235701+08:00;True|2022-11-10T15:58:10.8883176+08:00;True|2022-11-10T15:29:59.3113740+08:00;True|2022-11-10T13:34:14.7380132+08:00;True|2022-11-10T10:28:02.1166569+08:00;True|2022-11-09T23:28:25.6401971+08:00;True|2022-11-09T16:20:53.2757536+08:00;True|2022-11-09T16:16:41.3169214+08:00;True|2022-11-09T14:02:55.1802832+08:00;True|2022-11-09T13:57:55.2726154+08:00;True|2022-11-09T13:28:53.2022669+08:00;True|2022-11-09T13:10:58.0740163+08:00;True|2022-11-09T12:59:42.2328933+08:00;True|2022-11-09T11:54:08.0187924+08:00;True|2022-11-09T11:49:32.4296758+08:00;True|2022-11-09T11:34:32.6613370+08:00;True|2022-11-09T11:06:56.9443306+08:00;True|2022-11-06T23:43:44.0833657+08:00;True|2022-11-06T23:29:52.0088244+08:00;True|2022-11-06T22:06:14.7091464+08:00;True|2022-11-06T22:03:25.2696951+08:00;True|2022-11-06T21:58:50.1055520+08:00;True|2022-11-06T21:54:14.0075395+08:00;True|2022-11-06T21:39:30.2652105+08:00;True|2022-11-04T15:54:37.9813194+08:00;True|2022-11-04T15:43:59.7702621+08:00;True|2022-11-04T13:59:29.3941234+08:00;True|2022-11-04T13:44:18.1212719+08:00;True|2022-11-04T13:42:06.1010393+08:00;True|2022-11-04T13:37:01.7814703+08:00;True|2022-11-04T13:35:43.1121709+08:00;True|2022-11-04T13:33:05.1362535+08:00;True|2022-11-04T13:30:11.1113703+08:00;True|2022-11-04T13:28:53.7185382+08:00;True|2022-11-04T13:27:08.0691684+08:00;True|2022-11-04T13:20:46.2297633+08:00;True|2022-11-04T13:17:57.1564250+08:00;True|2022-11-04T13:15:36.3651019+08:00;True|2022-11-04T13:13:44.6635701+08:00;True|2022-11-04T13:12:02.3968306+08:00;True|2022-11-04T13:08:07.7653927+08:00;True|2022-11-04T11:37:44.1975649+08:00;True|2022-11-04T11:36:20.3813848+08:00;True|2022-11-04T11:26:40.9713465+08:00;True|2022-11-04T10:17:36.4269558+08:00;True|2022-11-04T09:47:05.4607111+08:00;True|2022-11-04T09:28:27.9347785+08:00;True|2022-11-04T08:38:38.5253737+08:00;True|2022-11-03T13:31:32.7883545+08:00;False|2022-11-03T13:27:07.8579021+08:00;True|2022-11-03T11:07:07.3903101+08:00;True|2022-11-03T10:54:26.7818816+08:00;True|2022-11-03T10:35:59.1956262+08:00;True|2022-11-03T10:30:07.0651285+08:00;True|2022-11-03T10:01:20.8467911+08:00;True|2022-08-22T11:13:33.9211829+08:00;True|2022-06-17T11:19:24.4893458+08:00;True|2022-06-07T14:44:51.5702202+08:00;True|2022-06-07T14:42:44.8351600+08:00;True|2022-05-17T14:19:55.1158182+08:00;True|2022-05-17T13:25:44.2886247+08:00;True|2022-05-17T10:29:26.6813564+08:00;True|2022-05-17T09:02:49.1742018+08:00;True|2022-05-06T15:13:12.2438900+08:00;True|2022-05-06T14:49:39.8536594+08:00;True|2022-04-22T17:07:44.8823529+08:00;True|2022-04-19T19:13:40.8312746+08:00;True|2022-04-19T15:40:16.0022040+08:00;True|2022-04-19T15:13:32.9767736+08:00;False|2022-04-19T15:08:33.6507639+08:00;True|2022-04-19T15:02:51.9580210+08:00;True|2022-04-19T13:54:18.7579131+08:00;True|2022-04-12T10:36:02.1779173+08:00;True|2022-04-12T10:05:31.0222037+08:00;True|2022-04-12T09:47:49.3724819+08:00;True|2022-04-09T15:08:54.5697468+08:00;True|2022-04-08T17:31:31.0046258+08:00;True|2022-04-08T16:50:41.3018422+08:00;True|2022-04-08T10:35:36.5029980+08:00;True|2022-03-31T09:38:37.3646053+08:00;True|2022-03-29T13:57:45.4410942+08:00;True|2022-03-10T18:59:23.7994337+08:00;True|2022-03-10T18:52:39.5019082+08:00;True|2022-03-10T18:51:12.7949284+08:00;True|2022-03-10T18:50:47.2024177+08:00;True|2022-03-10T18:45:08.8409380+08:00;True|2022-03-10T18:41:17.0102564+08:00;True|2022-03-10T18:35:49.0742353+08:00;True|2022-03-10T17:57:47.4196965+08:00;True|2022-03-10T17:34:27.5723245+08:00;True|2022-03-10T16:13:59.3829164+08:00;True|2022-03-09T14:50:49.1222033+08:00;True|2022-03-09T11:21:03.0073651+08:00;False|2022-03-09T11:16:56.1792896+08:00;False|2022-03-09T11:16:49.7923320+08:00;True|2022-03-08T15:47:47.4722336+08:00;True|2022-03-08T15:47:28.5397115+08:00;True|2022-03-08T15:37:08.7379870+08:00;True|2022-03-02T17:37:54.4659976+08:00;True|2022-03-02T17:34:12.2949726+08:00;True|2022-03-02T17:26:38.7070673+08:00;True|2022-03-02T17:07:49.7024316+08:00;True|2022-03-02T17:05:22.4177336+08:00;True|2022-03-02T16:14:57.9880587+08:00;True|2022-03-01T17:52:52.6766959+08:00;True|2022-02-28T14:36:22.6449303+08:00;True|2022-02-24T15:43:36.8244163+08:00;True|2022-02-23T17:57:14.3693224+08:00;True|2022-02-23T17:46:42.1078183+08:00;False|2022-02-23T17:41:06.5886724+08:00;True|2022-02-23T16:59:45.5533581+08:00;True|2022-02-23T16:57:43.3328895+08:00;True|2022-02-21T09:09:37.2601134+08:00;True|2022-02-21T09:03:32.4071009+08:00;True|2022-02-21T08:59:59.0172082+08:00;True|2022-02-18T14:05:39.1358825+08:00;True|2022-02-18T10:23:02.4391239+08:00;True|2022-02-18T10:21:31.0559267+08:00;True|2022-02-17T16:50:11.7192509+08:00;True|2022-02-17T13:19:13.7697894+08:00;True|2022-02-11T10:36:12.7757100+08:00;True|2022-02-10T10:54:25.2685040+08:00;True|2022-02-10T10:37:02.1034768+08:00;True|2022-02-09T17:32:45.6511283+08:00;True|2022-02-09T17:24:32.5115193+08:00;True|2022-02-09T17:00:24.0662114+08:00;True|2022-02-09T16:56:42.3364622+08:00;True|2022-02-09T14:17:25.8688855+08:00;True|2022-02-09T14:11:51.6149822+08:00;True|2022-02-07T23:29:26.2842648+08:00;True|2022-02-07T23:28:58.8242274+08:00;False|2022-02-07T23:25:29.0647793+08:00;True|2022-02-07T13:06:37.5515985+08:00;True|2022-02-07T12:42:19.5220491+08:00;True|2022-02-07T09:52:59.6728595+08:00;True|2022-02-01T11:32:10.5831557+08:00;True|2022-01-29T14:09:02.9178986+08:00;True|2022-01-28T12:01:45.1416438+08:00;True|2022-01-28T11:03:41.6361866+08:00;True|2022-01-28T10:44:53.5367862+08:00;True|2022-01-28T10:40:41.6697563+08:00;True|2022-01-28T10:25:56.7093616+08:00;True|2022-01-28T09:58:13.0733060+08:00;True|2022-01-27T09:26:29.6568807+08:00;True|2022-01-27T00:47:57.9102528+08:00;True|2022-01-27T00:46:52.8845001+08:00;True|2022-01-27T00:36:34.5330938+08:00;True|2022-01-27T00:35:19.5439329+08:00;True|2022-01-27T00:33:38.5701950+08:00;True|2022-01-27T00:32:00.9028982+08:00;True|2022-01-27T00:30:13.2390921+08:00;True|2022-01-27T00:28:23.2989144+08:00;True|2022-01-27T00:16:01.3789455+08:00;True|2022-01-27T00:09:58.8112352+08:00;True|2022-01-27T00:00:40.8353538+08:00;True|2022-01-26T23:37:50.9494735+08:00;True|2022-01-26T23:29:39.8647473+08:00;True|2022-01-26T23:20:49.3274392+08:00;True|2022-01-26T23:15:53.7037293+08:00;True|2022-01-26T23:06:28.8595953+08:00;True|2022-01-26T23:02:12.9882299+08:00;True|2022-01-26T22:55:33.2535730+08:00;True|2022-01-26T22:51:01.8427947+08:00;True|2022-01-26T22:47:44.0715387+08:00;True|2022-01-26T22:20:21.7217039+08:00;True|2022-01-26T22:13:39.5372069+08:00;True|2022-01-26T22:01:31.2113177+08:00;True|2022-01-26T21:55:26.5478921+08:00;True|2022-01-26T21:50:18.2700369+08:00;True|2022-01-26T21:48:52.0020233+08:00;True|2022-01-26T19:19:29.4530523+08:00;True|2022-01-26T19:07:21.6474231+08:00;True|2022-01-26T18:25:42.2933291+08:00;True|2022-01-26T12:39:02.0149050+08:00;True|2022-01-26T12:13:43.9149452+08:00;True|2022-01-26T11:24:33.5742248+08:00;True|2022-01-26T08:51:10.8105076+08:00;True|2022-01-25T21:07:32.9069261+08:00;True|2022-01-24T01:35:12.3309466+08:00;True|2022-01-23T23:19:15.9702821+08:00;True|2022-01-23T21:50:41.6903353+08:00;True|2022-01-23T21:25:57.6084267+08:00;True|2022-01-23T21:16:10.1516535+08:00;True|2022-01-23T20:52:08.3745284+08:00;True|2022-01-23T18:19:32.2386502+08:00;True|2022-01-23T18:11:42.0830325+08:00;True|2022-01-23T18:00:01.3239547+08:00;True|2022-01-23T12:18:48.2466943+08:00;True|2022-01-22T00:48:50.4531647+08:00;True|2022-01-21T13:10:32.8173598+08:00;True|2022-01-21T13:04:01.6388059+08:00;True|2022-01-21T12:51:40.5304103+08:00;True|2022-01-21T12:44:06.3059885+08:00;True|2022-01-21T12:34:33.9314010+08:00;True|2022-01-21T11:39:20.1088577+08:00;True|2022-01-20T11:33:49.0516846+08:00;True|2022-01-20T10:02:12.0295471+08:00;True|2022-01-20T10:02:03.3535503+08:00;True|2022-01-19T23:56:18.7293193+08:00;True|2022-01-19T22:30:14.6986228+08:00;True|2022-01-19T22:15:08.8608795+08:00;True|2022-01-19T21:57:55.2295030+08:00;True|2022-01-19T13:50:37.8588759+08:00;True|2022-01-19T13:42:52.9761531+08:00;True|2022-01-19T00:26:36.9722917+08:00;True|2022-01-19T00:15:30.8583143+08:00;True|2022-01-18T21:19:30.6193048+08:00;True|2022-01-18T21:12:07.1453825+08:00;True|2022-01-18T20:35:27.3779956+08:00;True|2022-01-18T17:44:45.2318570+08:00;True|2022-01-18T14:45:29.0299640+08:00;True|2022-01-17T22:23:20.8214203+08:00;True|2022-01-17T21:49:15.7740045+08:00;True|2022-01-17T21:47:24.6997598+08:00;True|2022-01-17T21:44:00.1942787+08:00;True|2022-01-17T21:43:15.5992687+08:00;True|2022-01-17T21:33:16.8034756+08:00;True|2022-01-17T21:25:39.9909343+08:00;True|2022-01-17T21:13:03.9659338+08:00;True|2022-01-17T20:32:14.8869091+08:00;True|2022-01-17T19:01:46.5753686+08:00;True|2022-01-17T18:31:24.1032169+08:00;True|2022-01-17T18:21:39.2918684+08:00;True|2022-01-17T18:12:07.4859038+08:00;True|2022-01-17T18:09:26.6989718+08:00;True|2022-01-17T18:04:36.7564997+08:00;True|2022-01-17T17:57:44.7814863+08:00;True|2022-01-17T17:51:50.1516107+08:00;True|2022-01-17T17:39:29.2918799+08:00;True|2022-01-17T14:55:21.5859341+08:00;True|2022-01-17T14:38:06.5091500+08:00;True|2022-01-17T14:30:25.5378436+08:00;True|2022-01-16T19:15:24.5874858+08:00;True|2022-01-16T19:07:49.0613424+08:00;True|2022-01-16T16:10:47.3112741+08:00;False|2022-01-14T19:09:41.9296709+08:00;False|2022-01-14T18:56:11.0569808+08:00;False|2022-01-14T18:28:20.1376762+08:00;False|2022-01-14T18:27:30.8678130+08:00;False|2022-01-14T18:22:45.4436504+08:00;False|2022-01-14T18:19:37.0374753+08:00;False|2022-01-14T18:18:48.5868254+08:00;False|2022-01-14T18:14:02.5810257+08:00;False|2022-01-14T18:09:51.1730754+08:00;False|2022-01-14T18:09:17.8940754+08:00;True|2022-01-13T20:08:16.2937608+08:00;True|2022-01-13T20:07:30.1505466+08:00;True|2022-01-13T13:39:42.0146294+08:00;True|2022-01-13T13:38:07.5062471+08:00;True|2022-01-13T11:29:49.3751232+08:00;True|2022-01-13T11:05:43.9574142+08:00;True|2022-01-13T10:33:23.1921058+08:00;True|2022-01-12T20:38:16.9165651+08:00;True|2022-01-12T20:24:46.3779264+08:00;True|2022-01-12T20:03:06.5030626+08:00;True|2022-01-12T19:44:55.4294326+08:00;True|2022-01-12T12:58:45.9548600+08:00;True|2022-01-12T11:28:44.7797749+08:00;True|2022-01-11T18:07:30.9151356+08:00;True|2022-01-11T15:06:32.7301609+08:00;True|2022-01-11T09:27:00.1766442+08:00;True|2021-12-30T14:41:56.8541015+08:00;True|2021-12-30T13:45:00.6130694+08:00;True|2021-12-30T13:44:18.7370780+08:00;True|2021-12-30T13:36:52.8171136+08:00;True|2021-12-28T19:14:22.5979649+08:00;True|2021-12-28T13:13:39.3543252+08:00;True|2021-12-27T15:31:26.6037782+08:00;True|2021-12-27T15:28:54.4824480+08:00;True|2021-12-27T15:22:47.8436108+08:00;True|2021-12-27T15:04:37.0711590+08:00;True|2021-12-27T15:03:52.0932499+08:00;True|2021-12-27T15:03:33.0172733+08:00;True|2021-12-27T13:28:27.4252747+08:00;True|2021-12-25T19:38:33.6784042+08:00;True|2021-12-24T20:47:43.3471563+08:00;True|2021-12-24T20:14:57.6946814+08:00;True|2021-12-24T19:55:21.1843105+08:00;True|2021-12-24T19:49:54.6719726+08:00;True|2021-12-24T19:38:14.1180741+08:00;True|2021-12-22T13:51:37.1082523+08:00;True|2021-12-21T15:38:59.8015096+08:00;True|2021-12-21T15:29:54.8095063+08:00;False|2021-12-21T15:29:21.7006531+08:00;False|2021-12-21T15:16:18.2218025+08:00;False|2021-12-21T15:11:38.1215841+08:00;False|2021-12-21T15:08:27.0590078+08:00;True|2021-12-10T14:12:36.4065298+08:00;True|2021-12-10T13:54:03.4921778+08:00;True|2021-12-10T13:25:49.0439086+08:00;True|2021-12-10T13:19:58.9494477+08:00;True|2021-12-10T13:10:45.3929017+08:00;True|2021-12-10T11:06:53.2416794+08:00;True|2021-12-07T17:23:28.9380484+08:00;True|2021-12-07T17:13:52.4384814+08:00;True|2021-12-07T16:39:49.2020208+08:00;True|2021-12-07T15:18:20.9024533+08:00;True|2021-12-07T15:07:35.4428035+08:00;True|2021-12-07T15:01:02.0445043+08:00;True|2021-12-07T14:50:08.9019705+08:00;True|2021-12-07T14:34:50.4993666+08:00;False|2021-12-07T14:32:56.0408332+08:00;True|2021-12-06T17:11:41.4004606+08:00;True|2021-12-06T16:48:07.6029757+08:00;True|2021-12-06T13:46:35.9437718+08:00;True|2021-12-06T13:45:07.6622615+08:00;True|2021-12-06T11:25:04.3483155+08:00;True|2021-12-06T11:18:24.5804187+08:00;True|2021-11-22T16:27:05.4241947+08:00;True|2021-11-22T13:40:17.6768280+08:00;True|2021-11-19T16:15:19.9085104+08:00;True|2021-11-09T10:34:21.1623512+08:00;True|2021-11-07T16:57:59.7380254+08:00;True|2021-11-07T16:53:47.4198852+08:00;True|2021-11-07T16:42:05.5096826+08:00;True|2021-11-07T16:37:21.0729013+08:00;True|2021-11-05T20:51:17.6170717+08:00;True|2021-11-05T20:35:14.6250333+08:00;True|2021-11-05T19:30:19.8374158+08:00;True|2021-11-05T19:22:46.2276569+08:00;True|2021-11-05T19:20:30.8253213+08:00;True|2021-11-05T19:16:45.7553310+08:00;True|2021-11-05T19:16:00.4532689+08:00;True|2021-11-05T19:12:25.9022478+08:00;False|2021-11-05T19:11:26.5753529+08:00;True|2021-11-05T19:09:30.0085433+08:00;True|2021-11-05T18:48:19.9395153+08:00;True|2021-11-05T18:45:34.3437897+08:00;True|2021-11-05T18:43:43.4558159+08:00;True|2021-11-05T18:40:40.9948500+08:00;True|2021-11-05T18:34:18.4440455+08:00;True|2021-11-05T15:54:51.6037132+08:00;True|2021-10-28T16:27:53.9728270+08:00;True|2021-10-28T16:03:59.5629998+08:00;True|2021-10-28T08:51:04.2549186+08:00;True|2021-10-27T15:14:53.5506098+08:00;True|2021-10-27T15:00:44.9100320+08:00;True|2021-10-27T13:14:46.7921647+08:00;True|2021-10-27T11:24:49.4550753+08:00;True|2021-10-27T10:10:10.3545125+08:00;True|2021-10-27T10:02:24.9248610+08:00;True|2021-10-27T09:59:40.3795897+08:00;True|2021-10-27T09:56:30.6629207+08:00;True|2021-10-27T09:10:48.3883432+08:00;True|2021-10-27T09:03:31.9191991+08:00;True|2021-10-27T08:59:59.7651159+08:00;True|2021-10-27T08:36:11.8620997+08:00;True|2021-10-27T08:26:40.2533014+08:00;True|2021-10-26T09:19:35.5674748+08:00;True|2021-10-26T09:17:17.6900747+08:00;True|2021-10-26T09:14:32.3999220+08:00;True|2021-10-25T15:08:21.2581763+08:00;True|2021-10-25T10:01:57.8524903+08:00;True|2021-10-25T09:28:51.6294879+08:00;True|2021-10-25T09:25:50.3373336+08:00;True|2021-10-25T09:23:37.0203978+08:00;True|2021-10-25T09:18:23.3380608+08:00;True|2021-10-25T09:15:10.5292071+08:00;True|2021-10-25T08:56:30.4632027+08:00;True|2021-10-25T08:50:11.4697392+08:00;True|2021-10-22T13:46:49.7207066+08:00;True|2021-10-22T10:06:33.3130089+08:00;True|2021-10-20T14:32:10.1235516+08:00;True|2021-10-20T14:16:18.6496291+08:00;True|2021-10-20T14:08:49.2443715+08:00;True|2021-10-20T14:05:14.6847950+08:00;True|2021-10-20T13:30:21.6057636+08:00;True|2021-10-20T10:55:22.2151716+08:00;True|2021-10-19T10:42:13.4198267+08:00;True|2021-10-19T10:01:41.0018108+08:00;True|2021-10-19T09:59:11.2127619+08:00;True|2021-10-19T09:54:04.8472874+08:00;True|2021-10-15T11:19:15.5327495+08:00;True|2021-10-15T11:17:41.0686485+08:00;True|2021-10-15T11:12:11.8295042+08:00;True|2021-10-15T10:33:31.5670079+08:00;True|2021-10-15T10:27:45.0815146+08:00;True|2021-10-14T14:51:28.5331025+08:00;True|2021-10-14T14:37:28.3276051+08:00;True|2021-10-14T14:23:39.0606792+08:00;True|2021-10-14T14:21:03.8140347+08:00;True|2021-10-13T10:31:10.6628977+08:00;True|2021-10-13T10:12:24.4238027+08:00;True|2021-10-13T08:47:43.9314486+08:00;True|2021-10-12T14:07:18.6065183+08:00;True|2021-10-12T10:34:10.1682362+08:00;True|2021-10-12T10:27:14.3073332+08:00;True|2021-10-12T10:22:08.0004619+08:00;True|2021-10-12T10:21:03.0275378+08:00;True|2021-10-12T10:11:54.9812692+08:00;True|2021-10-11T16:59:07.3568342+08:00;True|2021-10-11T16:53:14.2016138+08:00;True|2021-10-11T16:21:35.0133775+08:00;True|2021-10-11T15:34:19.5731935+08:00;True|2021-10-11T15:31:07.5780983+08:00;True|2021-10-11T15:06:47.1145237+08:00;True|2021-10-11T15:03:25.5000280+08:00;True|2021-10-11T10:12:57.6416898+08:00;True|2021-10-09T10:15:17.9235165+08:00;True|2021-10-09T10:13:51.3318441+08:00;True|2021-10-09T10:01:21.6661542+08:00;True|2021-10-09T09:58:41.9225837+08:00;True|2021-10-08T14:56:49.7935800+08:00;True|2021-10-08T14:35:41.4490063+08:00;True|2021-10-08T14:02:42.6990656+08:00;True|2021-09-29T15:48:55.1547397+08:00;True|2021-09-29T15:48:23.5567191+08:00;True|2021-09-27T16:17:35.7180978+08:00;True|2021-09-27T15:51:50.4240134+08:00;True|2021-09-23T20:55:27.3554447+08:00;True|2021-09-23T14:14:44.0572017+08:00;True|2021-09-23T13:51:56.2344673+08:00;True|2021-09-23T10:46:16.7417007+08:00;True|2021-09-23T10:42:23.2117537+08:00;True|2021-09-22T15:21:22.9615672+08:00;True|2021-09-22T14:23:32.7907754+08:00;True|2021-09-22T13:48:03.4780947+08:00;True|2021-09-22T11:05:24.5249356+08:00;True|2021-09-22T10:00:19.0962943+08:00;True|2021-09-22T09:30:26.2686514+08:00;True|2021-09-17T11:22:34.5692792+08:00;True|2021-09-16T16:11:27.5372277+08:00;True|2021-09-16T14:53:40.8396557+08:00;True|2021-09-16T14:32:29.7905500+08:00;True|2021-09-16T14:26:46.2224219+08:00;True|2021-09-16T10:32:24.4244440+08:00;True|2021-09-15T11:10:35.3529360+08:00;True|2021-09-15T11:08:30.0857376+08:00;True|2021-09-15T11:05:56.7191571+08:00;True|2021-09-14T01:24:39.8041136+08:00;True|2021-09-14T01:05:01.1593327+08:00;True|2021-09-14T00:44:14.7233198+08:00;True|2021-09-13T23:48:19.4506233+08:00;True|2021-09-13T20:30:31.3243872+08:00;True|2021-09-13T19:45:35.9108911+08:00;False|2021-09-13T19:44:59.2779092+08:00;True|2021-09-13T18:09:22.4994381+08:00;True|2021-09-10T14:18:27.5788854+08:00;True|2021-09-09T15:57:01.7407207+08:00;True|2021-09-09T15:49:34.2598998+08:00;True|2021-09-09T11:32:10.7853024+08:00;True|2021-09-09T11:10:48.6840025+08:00;True|2021-09-09T10:35:37.3883078+08:00;True|2021-09-07T14:11:49.8497588+08:00;True|2021-09-07T13:34:48.4693349+08:00;True|2021-09-06T14:33:48.7549675+08:00;True|2021-09-03T16:27:51.1888520+08:00;True|2021-09-03T16:19:35.9003465+08:00;True|2021-09-03T15:46:28.1828032+08:00;True|2021-09-03T15:34:21.9362871+08:00;True|2021-09-03T11:24:49.8749819+08:00;True|2021-09-03T11:21:17.8373159+08:00;True|2021-09-03T11:16:53.2208136+08:00;True|2021-09-03T11:12:23.9063804+08:00;True|2021-09-03T09:11:09.2435721+08:00;True|2021-09-02T11:16:15.1370453+08:00;True|2021-09-02T10:35:39.1171879+08:00;True|2021-09-01T10:17:09.4536285+08:00;True|2021-09-01T09:46:28.4581776+08:00;True|2021-08-31T08:54:26.8588887+08:00;True|2021-08-31T08:39:08.3685693+08:00;True|2021-08-30T17:11:56.8438985+08:00;True|2021-08-30T15:59:42.0820292+08:00;True|2021-08-30T15:45:18.1868510+08:00;True|2021-08-30T14:56:08.3958863+08:00;True|2021-08-30T14:37:11.5379830+08:00;True|2021-08-30T14:35:34.8775934+08:00;True|2021-08-30T14:24:36.5111821+08:00;True|2021-08-30T10:05:49.6945200+08:00;True|2021-08-30T10:03:28.4064538+08:00;True|2021-08-30T10:00:16.8360929+08:00;True|2021-08-30T09:56:09.4434379+08:00;True|2021-08-30T09:55:36.1725334+08:00;True|2021-08-30T09:52:04.8600054+08:00;True|2021-08-30T09:47:46.4225655+08:00;True|2021-08-30T09:45:20.4894962+08:00;False|2021-08-27T17:17:34.2646751+08:00;False|2021-08-27T16:01:21.2791979+08:00;False|2021-08-27T15:58:06.9667160+08:00;False|2021-08-27T15:38:37.4818036+08:00;False|2021-08-27T15:21:02.8863114+08:00;False|2021-08-27T15:20:28.6828668+08:00;True|2021-08-26T16:00:44.3162145+08:00;True|2021-08-26T08:57:31.3842587+08:00;True|2021-08-23T08:43:41.1549775+08:00;True|2021-08-22T09:24:12.7210871+08:00;True|2021-08-22T09:19:53.8300229+08:00;True|2021-08-20T20:00:52.0140407+08:00;True|2021-08-20T19:40:14.7712765+08:00;True|2021-08-19T17:37:54.9748049+08:00;True|2021-08-19T17:20:11.0515687+08:00;True|2021-08-19T16:12:35.4392809+08:00;True|2021-08-19T16:06:50.6204587+08:00;True|2021-08-19T16:03:53.0824286+08:00;True|2021-08-19T15:56:01.3498791+08:00;True|2021-08-19T10:18:50.8113630+08:00;True|2021-08-19T09:58:06.2784035+08:00;True|2021-08-19T09:56:54.0619777+08:00;True|2021-08-19T00:32:08.3503093+08:00;True|2021-08-19T00:11:18.3150227+08:00;True|2021-08-19T00:02:49.4827718+08:00;True|2021-08-18T23:54:45.4845900+08:00;True|2021-08-18T23:39:51.6147977+08:00;True|2021-08-18T23:16:42.7214379+08:00;True|2021-08-18T22:38:57.4681929+08:00;True|2021-08-18T21:41:58.7560707+08:00;True|2021-08-18T21:11:52.2369249+08:00;True|2021-08-18T21:01:49.5669106+08:00;True|2021-08-18T20:47:46.5352688+08:00;False|2021-08-18T20:46:36.7956141+08:00;False|2021-08-18T20:46:01.0502138+08:00;True|2021-08-18T19:39:12.8186242+08:00;False|2021-08-18T19:38:12.6839708+08:00;True|2021-08-18T19:15:51.4626694+08:00;True|2021-08-18T16:07:20.4350886+08:00;True|2021-08-18T14:29:41.7171934+08:00;True|2021-08-18T14:20:36.3647361+08:00;True|2021-08-16T09:08:58.3617662+08:00;True|2021-08-15T20:44:29.9214083+08:00;True|2021-08-15T20:36:17.0958549+08:00;True|2021-08-15T20:29:34.3879773+08:00;True|2021-08-15T20:23:47.4052038+08:00;True|2021-08-15T15:01:19.7830862+08:00;True|2021-08-15T12:15:18.3433782+08:00;True|2021-08-13T20:59:11.3947130+08:00;True|2021-08-06T22:49:09.9538339+08:00;True|2021-08-06T22:35:19.0418168+08:00;True|2021-08-06T20:29:47.4241975+08:00;True|2021-08-06T14:08:16.4791827+08:00;True|2021-08-06T13:59:28.9874611+08:00;True|2021-08-06T13:57:34.3723977+08:00;True|2021-08-06T13:36:03.4816652+08:00;True|2021-08-06T12:22:52.5055221+08:00;True|2021-08-06T09:31:58.1272499+08:00;True|2021-08-06T09:26:51.6310039+08:00;True|2021-08-06T09:24:22.2899244+08:00;True|2021-08-06T09:06:30.6477912+08:00;True|2021-08-06T09:00:55.5101612+08:00;True|2021-08-06T08:49:59.9616490+08:00;True|2021-08-06T08:45:18.8586902+08:00;True|2021-08-05T20:09:25.8861998+08:00;True|2021-08-04T19:14:27.2396953+08:00;True|2021-08-04T19:11:47.5849093+08:00;True|2021-08-04T16:42:54.0149043+08:00;True|2021-08-04T15:02:11.5056561+08:00;True|2021-08-04T14:58:37.1435509+08:00;True|2021-08-04T14:55:34.7380132+08:00;True|2021-08-04T14:47:42.5933921+08:00;True|2021-08-04T14:45:17.9911874+08:00;True|2021-08-04T13:52:20.9601351+08:00;True|2021-08-04T09:48:28.8796992+08:00;True|2021-08-03T18:14:13.1894998+08:00;True|2021-08-03T17:45:35.1349721+08:00;True|2021-08-03T17:21:52.6028977+08:00;True|2021-08-03T17:20:35.4423020+08:00;True|2021-08-03T17:03:33.1667669+08:00;True|2021-08-03T17:01:54.2656787+08:00;True|2021-08-03T17:00:22.2778374+08:00;True|2021-08-03T16:56:58.8902582+08:00;True|2021-08-03T15:02:21.8601533+08:00;True|2021-08-03T14:57:34.0186758+08:00;True|2021-08-03T14:28:47.2242515+08:00;True|2021-08-03T14:22:22.4554236+08:00;True|2021-08-03T14:21:51.1339715+08:00;True|2021-08-03T13:37:33.9697131+08:00;True|2021-08-03T13:28:29.7591095+08:00;True|2021-08-03T11:35:09.5118324+08:00;True|2021-08-03T11:11:23.3051573+08:00;True|2021-08-02T13:14:42.3663755+08:00;True|2021-07-30T22:50:19.9749878+08:00;True|2021-07-30T22:49:31.2150970+08:00;True|2021-07-28T19:12:05.8381075+08:00;True|2021-07-28T18:59:45.4808797+08:00;True|2021-07-28T18:15:58.8301509+08:00;True|2021-07-28T18:04:54.8613546+08:00;True|2021-07-28T17:53:48.6225611+08:00;True|2021-07-28T17:42:50.9171563+08:00;True|2021-07-28T17:17:16.3137677+08:00;True|2021-07-28T17:11:46.8925200+08:00;True|2021-07-28T16:28:27.6823943+08:00;True|2021-07-28T16:23:00.3385836+08:00;True|2021-07-28T09:57:55.4237411+08:00;True|2021-07-28T08:38:29.6691541+08:00;True|2021-07-27T23:16:32.0331671+08:00;True|2021-07-27T23:06:08.1947249+08:00;True|2021-07-27T23:05:58.4619176+08:00;True|2021-07-27T18:42:09.5358261+08:00;True|2021-07-27T18:30:04.8532823+08:00;True|2021-07-27T18:29:43.5775092+08:00;True|2021-07-27T15:16:49.8356224+08:00;True|2021-07-27T15:05:27.8453220+08:00;True|2021-07-27T14:59:15.9519440+08:00;True|2021-07-27T09:23:32.6111337+08:00;True|2021-07-27T08:27:41.6395353+08:00;True|2021-07-27T08:25:56.7378296+08:00;True|2021-07-26T11:18:46.0856966+08:00;True|2021-07-26T11:18:02.0751924+08:00;True|2021-07-26T11:13:49.6285395+08:00;True|2021-07-21T21:08:25.9898902+08:00;True|2021-07-21T20:09:26.2258104+08:00;True|2021-07-13T16:17:25.8407435+08:00;True|2021-07-13T13:46:13.4309531+08:00;True|2021-07-13T12:29:04.5082461+08:00;True|2021-06-29T13:55:01.6864637+08:00;True|2021-06-29T10:38:52.2206472+08:00;True|2021-06-29T10:10:13.1540749+08:00;True|2021-06-28T14:37:56.3853273+08:00;False|2021-06-28T14:36:57.5726124+08:00;True|2021-06-25T14:17:57.5196108+08:00;True|2021-06-25T13:56:38.9522535+08:00;True|2021-06-24T19:38:32.8766933+08:00;True|2021-06-24T18:26:35.6118833+08:00;True|2021-06-24T18:02:52.8136877+08:00;True|2021-06-24T17:48:49.5851948+08:00;True|2021-06-24T17:45:46.7527572+08:00;True|2021-06-24T15:05:20.1592723+08:00;True|2021-06-23T16:18:15.6814625+08:00;True|2021-06-23T16:05:24.6112343+08:00;True|2021-06-23T15:14:08.2489658+08:00;True|2021-06-23T13:52:58.6029788+08:00;True|2021-06-22T16:11:20.4726923+08:00;True|2021-06-22T16:04:53.7231389+08:00;True|2021-06-22T15:50:59.2583262+08:00;True|2021-06-22T15:38:15.3016140+08:00;True|2021-06-22T15:34:42.9185543+08:00;True|2021-06-22T15:21:55.1419108+08:00;True|2021-06-22T15:07:21.5357494+08:00;True|2021-06-22T15:03:35.0535733+08:00;True|2021-06-22T14:54:47.8802969+08:00;True|2021-06-22T11:19:38.7303011+08:00;True|2021-06-22T08:53:49.2882695+08:00;True|2021-06-22T08:47:54.8286530+08:00;True|2021-06-21T16:27:19.3017700+08:00;True|2021-06-21T15:32:28.7237952+08:00;True|2021-06-21T12:34:02.6329555+08:00;True|2021-06-21T12:24:17.5427495+08:00;True|2021-06-21T10:47:30.6423502+08:00;True|2021-06-21T08:43:20.3026558+08:00;True|2021-06-19T15:10:06.8335499+08:00;True|2021-06-18T15:37:29.5009930+08:00;True|2021-06-18T13:46:35.6283432+08:00;True|2021-06-18T10:00:37.1474954+08:00;True|2021-06-18T09:55:21.8551780+08:00;True|2021-06-18T09:22:27.8432927+08:00;True|2021-06-17T11:17:43.2166430+08:00;True|2021-06-17T09:24:09.8350403+08:00;True|2021-06-16T16:10:47.8564888+08:00;True|2021-06-16T16:04:09.8286582+08:00;True|2021-06-16T15:12:29.9427169+08:00;True|2021-06-16T14:58:45.6801892+08:00;True|2021-06-16T14:46:01.6873221+08:00;True|2021-06-16T11:02:06.1272477+08:00;True|2021-06-16T09:33:56.0223915+08:00;True|2021-06-16T08:50:07.6995413+08:00;True|2021-06-16T08:28:38.7692635+08:00;True|2021-06-16T01:04:19.6282474+08:00;True|2021-06-16T01:03:50.5058323+08:00;False|2021-06-16T01:02:15.3819672+08:00;False|2021-06-16T01:01:38.6171098+08:00;True|2021-06-16T00:34:54.9902044+08:00;True|2021-06-15T23:55:36.2003828+08:00;True|2021-06-15T22:47:17.2192750+08:00;True|2021-06-15T22:42:41.1512585+08:00;True|2021-06-15T22:38:01.7390462+08:00;True|2021-06-15T22:14:11.2060782+08:00;True|2021-06-15T22:12:27.0615357+08:00;True|2021-06-15T22:07:59.9280871+08:00;True|2021-06-15T22:04:21.5051427+08:00;True|2021-06-15T21:25:55.0099814+08:00;True|2021-06-15T19:13:51.3494172+08:00;True|2021-06-15T19:02:17.6844742+08:00;True|2021-06-15T18:47:37.1629411+08:00;False|2021-06-15T18:47:11.0828111+08:00;True|2021-06-15T18:38:26.6620668+08:00;True|2021-06-15T18:33:45.2069831+08:00;True|2021-06-15T18:24:52.0550838+08:00;True|2021-06-15T18:19:43.6999796+08:00;True|2021-06-15T18:08:17.2464506+08:00;True|2021-06-15T18:03:51.3952624+08:00;True|2021-06-15T18:01:20.6141766+08:00;True|2021-06-15T17:59:04.4479416+08:00;True|2021-06-15T17:41:44.6389379+08:00;True|2021-06-15T17:39:03.1565124+08:00;True|2021-06-15T17:34:41.0634638+08:00;True|2021-06-15T17:33:50.4853178+08:00;True|2021-06-15T17:25:38.5914037+08:00;True|2021-06-15T17:22:21.3611360+08:00;True|2021-06-15T17:16:49.4970813+08:00;True|2021-06-15T17:05:28.9389484+08:00;True|2021-06-15T16:52:54.6372199+08:00;True|2021-06-15T16:51:23.9081030+08:00;True|2021-06-15T16:45:40.6017997+08:00;True|2021-06-15T16:41:05.0218887+08:00;True|2021-06-15T16:38:02.8541862+08:00;True|2021-06-15T16:22:10.3118721+08:00;True|2021-06-15T16:12:11.1552506+08:00;True|2021-06-15T15:33:42.0100494+08:00;True|2021-06-15T15:28:39.7145659+08:00;True|2021-06-15T15:15:02.7939125+08:00;True|2021-06-15T14:49:14.2300396+08:00;True|2021-06-15T14:42:28.1198064+08:00;True|2021-06-15T13:30:12.7997686+08:00;True|2021-06-15T13:25:37.7284670+08:00;True|2021-06-15T13:23:43.6207813+08:00;False|2021-06-15T13:23:19.4190232+08:00;True|2021-06-15T13:16:38.5062674+08:00;True|2021-06-15T13:03:31.2055635+08:00;True|2021-06-15T12:58:43.1653215+08:00;True|2021-06-15T12:39:22.8442109+08:00;True|2021-06-15T12:35:09.1288556+08:00;False|2021-06-15T12:33:50.0723143+08:00;True|2021-06-15T11:28:01.9733727+08:00;True|2021-06-15T11:26:26.6569392+08:00;True|2021-06-15T11:22:43.0366435+08:00;True|2021-06-15T11:07:50.1610580+08:00;True|2021-06-15T10:32:59.1925931+08:00;True|2021-06-10T17:16:57.9552310+08:00;True|2021-06-10T16:44:42.2731836+08:00;True|2021-06-10T14:39:27.6745737+08:00;True|2021-06-10T12:15:05.1524413+08:00;True|2021-06-09T18:19:24.1005606+08:00;True|2021-06-09T17:56:09.5646288+08:00;True|2021-06-09T13:34:06.1882292+08:00;True|2021-06-09T13:29:54.5924933+08:00;True|2021-06-09T13:25:55.7520662+08:00;True|2021-06-09T13:07:47.6686811+08:00;True|2021-06-09T12:59:41.2595048+08:00;True|2021-06-09T12:45:27.1305548+08:00;True|2021-06-09T12:29:52.1418191+08:00;True|2021-06-09T12:24:12.7610588+08:00;True|2021-06-09T11:31:25.3409568+08:00;True|2021-06-09T09:57:44.4387175+08:00;True|2021-06-09T09:54:26.5161307+08:00;True|2021-06-09T09:14:14.7288045+08:00;True|2021-06-09T09:10:25.1812139+08:00;True|2021-06-09T08:46:21.6585123+08:00;True|2021-06-08T19:56:55.7192062+08:00;True|2021-06-08T19:52:59.0326821+08:00;True|2021-06-08T19:49:13.6274217+08:00;True|2021-06-08T19:09:22.1038939+08:00;True|2021-06-08T15:28:41.3716247+08:00;True|2021-06-08T15:26:47.2621178+08:00;True|2021-06-08T13:49:45.8936617+08:00;True|2021-06-08T13:43:18.8115502+08:00;True|2021-06-08T10:04:06.2200731+08:00;True|2021-06-08T09:17:10.0470792+08:00;True|2021-06-08T08:44:37.4395849+08:00;True|2021-06-08T00:01:09.3745613+08:00;True|2021-06-07T23:49:31.5196888+08:00;True|2021-06-07T23:41:00.8017855+08:00;True|2021-06-07T23:21:53.1371134+08:00;True|2021-06-07T23:01:27.5712153+08:00;True|2021-06-07T22:36:12.9274014+08:00;True|2021-06-07T22:23:00.6545134+08:00;True|2021-06-07T17:44:47.5686346+08:00;True|2021-06-07T17:17:01.3431233+08:00;True|2021-06-07T16:53:28.9989587+08:00;True|2021-06-07T16:41:10.4975607+08:00;True|2021-06-07T14:21:06.8176477+08:00;True|2021-06-07T14:10:39.0355659+08:00;True|2021-06-07T12:34:31.4562732+08:00;True|2021-06-07T12:28:44.9629488+08:00;True|2021-06-07T10:30:26.9387988+08:00;True|2021-06-07T09:12:14.7658099+08:00;True|2021-06-07T08:37:19.6353792+08:00;True|2021-06-07T08:35:25.2031954+08:00;True|2021-06-05T07:07:32.0541266+08:00;True|2021-06-05T06:44:35.9475270+08:00;True|2021-06-05T06:37:27.4595197+08:00;True|2021-06-05T06:26:59.7663998+08:00;True|2021-06-05T05:43:12.8699318+08:00;True|2021-06-04T17:00:41.2426007+08:00;True|2021-06-04T16:08:03.8078072+08:00;True|2021-06-04T15:47:21.6412616+08:00;True|2021-06-04T15:21:02.4239800+08:00;True|2021-06-04T15:20:37.8641854+08:00;True|2021-06-04T13:38:51.5088395+08:00;True|2021-06-04T10:20:01.7784282+08:00;True|2021-06-04T10:13:50.3548857+08:00;True|2021-06-04T10:11:25.5017821+08:00;True|2021-06-04T10:09:51.6792228+08:00;True|2021-06-04T10:02:39.5851057+08:00;True|2021-06-04T09:30:40.4495494+08:00;True|2021-06-03T13:16:36.0317546+08:00;True|2021-06-03T13:12:47.0402047+08:00;True|2021-06-02T14:37:08.9683351+08:00;True|2021-06-02T14:10:15.7439829+08:00;True|2021-06-02T13:59:46.5841931+08:00;True|2021-06-02T13:25:18.7962660+08:00;True|2021-06-02T13:23:16.2261980+08:00;True|2021-06-01T15:37:32.2495085+08:00;True|2021-06-01T15:21:01.2856122+08:00;True|2021-06-01T15:13:36.7262365+08:00;True|2021-06-01T15:10:26.8905629+08:00;True|2021-06-01T14:56:17.5231551+08:00;True|2021-06-01T14:38:39.7895927+08:00;True|2021-06-01T14:23:12.3265287+08:00;True|2021-03-01T09:11:31.3226422+08:00;True|2021-05-26T14:54:56.9426462+08:00;True|2021-05-26T13:57:33.7780451+08:00;True|2021-05-26T13:39:02.8043358+08:00;True|2021-02-25T16:01:40.2917200+08:00;True|2021-02-25T15:49:46.6681205+08:00;True|2021-02-25T15:16:30.9372640+08:00;True|2021-05-25T13:10:21.7831921+08:00;True|2021-05-25T11:21:38.5224475+08:00;True|2021-05-25T11:12:52.0637175+08:00;True|2021-05-25T11:02:18.4164663+08:00;True|2021-05-25T10:52:06.8998521+08:00;True|2021-05-25T10:50:45.0929606+08:00;True|2021-05-25T10:45:54.1498313+08:00;True|2021-05-25T10:39:27.8602249+08:00;True|2021-05-25T10:34:49.5771162+08:00;True|2021-05-25T10:17:30.3009163+08:00;True|2021-05-25T10:14:03.8512581+08:00;True|2021-05-25T10:05:33.4343836+08:00;True|2021-05-24T17:01:23.3221168+08:00;True|2021-05-24T10:11:24.0197347+08:00;False|2021-05-24T10:11:07.6338995+08:00;</History> + <_PublishTargetUrl>G:\issWeb\缃戠珯鍙戝竷\API</_PublishTargetUrl> + <History>True|2024-07-04T07:51:48.1760451Z;True|2024-07-04T15:49:15.1000691+08:00;True|2024-07-04T15:05:00.4478900+08:00;True|2024-07-04T13:12:24.9294846+08:00;True|2024-07-04T09:06:52.4883805+08:00;True|2024-07-04T08:58:25.4069888+08:00;True|2024-07-03T17:06:10.1893662+08:00;True|2024-07-03T10:48:38.3910245+08:00;True|2024-07-03T10:24:59.3744052+08:00;True|2024-07-03T09:26:05.1371941+08:00;True|2024-07-03T09:19:07.9195348+08:00;True|2024-07-03T09:10:32.1837100+08:00;True|2024-07-02T16:44:49.8694946+08:00;False|2024-07-02T16:44:19.1893536+08:00;True|2024-07-02T13:53:28.4262842+08:00;True|2024-07-02T13:34:27.7478080+08:00;True|2024-06-28T11:58:25.6532295+08:00;True|2024-06-28T11:46:38.1547999+08:00;True|2024-06-28T11:41:20.7737151+08:00;True|2024-06-28T11:39:56.7636352+08:00;True|2024-06-28T11:26:10.3582659+08:00;True|2024-06-28T11:02:05.7702621+08:00;True|2024-06-28T10:23:08.4165999+08:00;True|2024-06-27T21:02:20.9289634+08:00;True|2024-06-27T15:44:07.3125345+08:00;True|2024-06-27T15:41:49.5015439+08:00;True|2024-06-27T15:39:21.1879348+08:00;True|2024-06-26T20:46:59.4747014+08:00;True|2024-06-26T20:42:59.3192496+08:00;True|2024-06-26T17:24:29.0121504+08:00;True|2024-06-25T20:03:09.4001117+08:00;True|2024-06-25T13:23:02.0928195+08:00;True|2024-06-20T15:39:47.3427120+08:00;True|2024-06-20T15:11:19.3766436+08:00;True|2024-06-20T15:02:38.8825341+08:00;True|2024-06-20T14:14:33.8431830+08:00;True|2024-06-20T14:10:14.6375855+08:00;True|2024-06-20T14:05:08.8218199+08:00;True|2024-06-20T13:58:23.3085838+08:00;True|2024-06-20T13:47:50.8475268+08:00;True|2024-06-20T10:41:38.1805408+08:00;True|2024-06-20T10:36:20.0215771+08:00;True|2024-06-20T10:30:18.5030326+08:00;True|2024-06-20T10:27:24.0723174+08:00;True|2024-06-20T10:14:49.3084076+08:00;True|2024-06-19T11:22:25.9638091+08:00;True|2024-06-19T11:14:32.9224254+08:00;True|2024-06-19T11:10:09.7376610+08:00;True|2024-06-19T10:49:20.4465588+08:00;True|2024-06-19T10:36:57.1639231+08:00;True|2024-06-11T14:41:11.8639568+08:00;True|2024-06-07T16:18:01.8672070+08:00;True|2024-06-07T15:58:33.8827805+08:00;True|2024-06-07T14:15:58.8759776+08:00;False|2024-06-07T11:11:44.5669069+08:00;True|2024-06-07T10:02:50.1266977+08:00;True|2024-06-07T09:49:53.1460072+08:00;True|2024-06-07T09:48:38.1399118+08:00;True|2024-06-07T08:38:41.8354576+08:00;True|2024-06-07T08:30:23.1369397+08:00;True|2024-06-06T12:59:50.5625799+08:00;True|2024-06-06T10:31:30.2337440+08:00;True|2024-06-06T10:25:28.1353268+08:00;True|2024-06-05T17:02:30.6367920+08:00;True|2024-06-05T16:55:31.1762741+08:00;True|2024-06-05T16:46:00.6507154+08:00;True|2024-06-05T13:36:04.5422998+08:00;True|2024-06-05T13:18:09.8841001+08:00;True|2024-06-05T10:21:42.5518509+08:00;False|2024-06-05T10:08:44.4622592+08:00;True|2024-06-05T08:50:04.4599368+08:00;True|2024-06-05T08:35:12.4434623+08:00;True|2024-06-04T16:17:31.9354255+08:00;True|2024-06-04T15:19:09.2382571+08:00;True|2024-06-04T14:55:11.4221703+08:00;True|2024-06-04T10:47:15.3458246+08:00;True|2024-05-31T15:57:19.8208236+08:00;True|2024-05-31T15:22:42.1789930+08:00;True|2024-05-31T15:13:09.3310754+08:00;True|2024-05-31T15:07:27.2528961+08:00;True|2024-05-31T14:46:54.7960188+08:00;True|2024-05-31T14:34:13.9077799+08:00;True|2024-05-31T14:05:03.8345173+08:00;True|2024-05-31T12:52:38.8326102+08:00;True|2024-05-31T10:29:32.0441427+08:00;True|2024-05-31T10:08:48.0021543+08:00;True|2024-05-31T09:43:32.2488411+08:00;True|2024-05-30T16:29:38.6305342+08:00;True|2024-05-30T16:16:08.3671859+08:00;True|2024-05-30T16:00:42.8690838+08:00;True|2024-05-30T15:07:20.8506508+08:00;True|2024-05-30T14:28:44.1018902+08:00;True|2024-05-30T14:14:25.3034479+08:00;True|2024-05-30T13:36:02.4352359+08:00;True|2024-05-29T13:45:51.8854629+08:00;True|2024-05-28T08:33:52.1977980+08:00;True|2024-05-27T16:00:53.4656146+08:00;True|2024-05-27T10:43:46.1023173+08:00;True|2024-05-27T09:14:09.4690569+08:00;False|2024-05-27T09:09:16.7204665+08:00;False|2024-05-27T08:51:21.5199349+08:00;False|2024-05-27T08:35:49.4339724+08:00;False|2024-05-27T08:29:02.9972247+08:00;True|2024-05-24T14:24:09.8444039+08:00;True|2024-05-24T10:52:44.4487225+08:00;True|2024-05-23T16:36:02.2415058+08:00;True|2024-05-23T13:43:27.7682349+08:00;True|2024-05-23T13:41:26.5710135+08:00;True|2024-05-23T13:25:30.0501860+08:00;True|2024-05-23T13:01:01.8142912+08:00;True|2024-05-22T11:27:52.3476712+08:00;True|2024-04-28T11:08:24.9627592+08:00;True|2024-04-28T09:08:43.2454678+08:00;True|2024-04-09T13:59:05.4840966+08:00;True|2024-04-09T13:32:04.5173492+08:00;True|2024-04-09T10:49:57.0288282+08:00;True|2024-04-09T10:35:48.8906018+08:00;True|2024-04-08T13:40:57.0220970+08:00;True|2024-04-08T13:07:43.0357658+08:00;True|2024-04-08T08:51:13.3450522+08:00;True|2024-04-07T17:08:21.7140078+08:00;True|2024-04-07T16:20:47.0957220+08:00;True|2024-04-07T15:40:03.2944629+08:00;True|2024-04-07T15:36:39.8472773+08:00;True|2024-04-07T15:27:41.4586445+08:00;True|2024-04-07T15:24:44.9945335+08:00;True|2024-04-07T15:21:05.5907054+08:00;True|2024-04-07T14:18:24.9260992+08:00;True|2024-04-02T15:07:56.8405115+08:00;True|2024-03-28T09:57:40.6534155+08:00;True|2024-03-26T17:00:21.0687635+08:00;True|2024-03-26T16:55:53.0643450+08:00;True|2024-03-26T16:50:09.5271078+08:00;True|2024-03-26T16:35:58.3572743+08:00;True|2024-03-26T16:17:50.6562874+08:00;True|2024-03-26T16:02:58.7193861+08:00;True|2024-03-26T15:51:50.2451468+08:00;True|2024-03-26T15:38:02.2327749+08:00;True|2024-03-26T14:43:01.5314209+08:00;True|2024-03-26T14:36:32.9149121+08:00;True|2024-03-26T14:29:28.7806186+08:00;True|2024-03-26T14:11:55.5737213+08:00;True|2024-03-22T16:35:11.0518345+08:00;True|2024-03-21T15:56:07.0130392+08:00;True|2024-03-20T10:50:05.8645964+08:00;True|2024-03-19T15:59:58.2960231+08:00;True|2024-03-19T15:16:32.3388913+08:00;True|2024-03-19T14:51:16.6428107+08:00;True|2024-03-19T14:36:08.8885745+08:00;False|2024-03-19T14:34:44.2637614+08:00;True|2024-03-19T14:22:40.5900691+08:00;True|2024-03-19T14:02:08.9599381+08:00;True|2024-03-19T12:23:05.0332761+08:00;True|2024-03-19T11:53:43.6830010+08:00;True|2024-03-19T11:40:05.7903841+08:00;True|2024-03-15T20:49:17.5076444+08:00;True|2024-03-15T14:00:52.3630660+08:00;True|2024-03-15T12:47:34.8092587+08:00;True|2024-03-15T09:58:23.5517006+08:00;True|2024-03-13T15:28:48.6170490+08:00;True|2024-03-13T13:33:44.3051955+08:00;True|2024-03-13T13:25:15.0372313+08:00;True|2024-03-13T11:59:44.2551502+08:00;True|2024-03-13T11:49:04.7295629+08:00;True|2024-03-13T11:27:27.5893712+08:00;True|2024-03-13T11:12:33.2533839+08:00;True|2024-03-13T11:07:52.7174473+08:00;True|2024-03-13T09:34:08.0467534+08:00;True|2024-03-12T16:24:41.1248271+08:00;True|2024-03-12T12:57:34.1524922+08:00;True|2024-03-12T12:57:10.0401874+08:00;True|2024-03-12T12:37:38.8477356+08:00;True|2024-03-12T12:15:41.3846937+08:00;True|2024-03-12T11:42:00.2207406+08:00;True|2024-03-12T11:33:55.6697043+08:00;True|2024-03-12T11:05:02.7742504+08:00;True|2024-03-12T09:20:07.0762374+08:00;True|2024-03-11T23:16:36.7669114+08:00;True|2024-03-11T23:03:24.2725545+08:00;True|2024-03-11T22:49:15.9602661+08:00;True|2024-03-11T22:47:12.6755805+08:00;True|2024-03-11T17:00:27.3523033+08:00;True|2024-03-11T16:58:40.0175971+08:00;True|2024-03-11T16:44:38.6622087+08:00;True|2024-03-11T12:49:04.1659271+08:00;True|2024-03-11T12:34:46.2212554+08:00;True|2024-03-11T12:04:40.4848855+08:00;True|2024-03-11T11:58:33.1825785+08:00;True|2024-03-11T11:40:10.6536678+08:00;True|2024-03-11T09:04:20.1073972+08:00;True|2024-03-11T00:16:54.5372850+08:00;True|2024-03-11T00:13:59.7140451+08:00;True|2024-03-11T00:08:20.0809329+08:00;True|2024-03-10T23:51:03.0931056+08:00;True|2024-03-10T23:43:22.2299872+08:00;True|2024-03-10T23:31:27.0629130+08:00;True|2024-03-10T22:56:31.1232852+08:00;True|2024-03-10T22:36:41.8541660+08:00;True|2024-03-10T22:15:06.0859435+08:00;True|2024-03-10T21:44:04.4157994+08:00;True|2024-03-10T21:35:38.3813654+08:00;True|2024-03-10T21:21:19.7693278+08:00;True|2024-03-10T13:19:26.4221274+08:00;True|2024-03-08T16:42:34.3346854+08:00;True|2024-03-08T15:50:13.7379672+08:00;True|2024-03-08T15:44:16.4369842+08:00;True|2024-03-08T15:31:50.0622199+08:00;True|2024-03-08T14:26:09.1090416+08:00;True|2024-03-08T14:21:24.9470581+08:00;True|2024-03-08T14:17:32.2780390+08:00;True|2024-03-08T14:03:55.4922720+08:00;True|2024-03-08T13:57:55.4217170+08:00;True|2024-03-08T13:53:43.0935554+08:00;True|2024-03-08T12:54:18.4199897+08:00;True|2024-03-08T12:48:07.6789814+08:00;True|2024-03-08T12:38:48.2818977+08:00;True|2024-03-08T12:21:53.9153553+08:00;True|2024-03-08T12:06:46.9343077+08:00;True|2024-03-08T11:27:39.0237720+08:00;True|2024-03-08T10:59:31.7184492+08:00;True|2024-03-08T10:57:44.8205869+08:00;True|2024-03-08T10:47:27.6962408+08:00;True|2024-03-08T10:29:25.8508156+08:00;True|2024-03-08T10:23:30.0269659+08:00;True|2024-03-08T09:21:21.5915181+08:00;True|2024-03-08T09:16:30.6962592+08:00;True|2024-03-07T17:01:33.5406097+08:00;True|2024-03-07T16:52:05.1956454+08:00;True|2024-03-07T16:41:54.0594859+08:00;True|2024-03-07T16:33:14.5796954+08:00;True|2024-03-07T16:02:27.6565800+08:00;True|2024-03-07T15:45:18.3220942+08:00;True|2024-03-07T15:39:48.9700962+08:00;True|2024-03-07T15:35:21.4018654+08:00;True|2024-03-07T15:22:12.7348197+08:00;True|2024-03-07T15:19:49.2338225+08:00;True|2024-03-07T13:46:05.5084885+08:00;True|2024-03-07T13:42:41.9749496+08:00;True|2024-03-07T13:26:04.1927588+08:00;True|2024-03-07T13:04:29.8689660+08:00;True|2024-03-07T10:24:34.3368602+08:00;True|2024-03-07T09:18:28.2279706+08:00;True|2024-03-06T17:25:36.9409421+08:00;True|2024-03-06T17:04:06.6361562+08:00;True|2024-03-06T14:42:01.3198359+08:00;True|2024-03-06T12:10:29.5231191+08:00;True|2024-03-06T12:03:06.7428246+08:00;True|2024-03-06T11:51:03.6220101+08:00;True|2024-03-06T11:15:22.4977600+08:00;True|2024-03-06T09:38:13.9161080+08:00;True|2024-03-05T16:37:49.9679062+08:00;True|2024-03-05T15:12:23.1933204+08:00;True|2024-03-05T14:51:27.9123344+08:00;True|2024-03-05T12:42:45.6186917+08:00;True|2024-03-05T11:21:19.0499458+08:00;True|2024-03-05T11:07:43.2642432+08:00;True|2024-03-05T09:59:18.0467522+08:00;True|2024-03-05T09:57:25.8947310+08:00;True|2024-03-04T16:41:44.4465908+08:00;True|2024-03-04T16:27:02.5887336+08:00;True|2024-03-04T16:20:05.0027599+08:00;True|2024-03-04T16:19:26.5595399+08:00;True|2024-03-04T15:32:55.6131853+08:00;True|2024-03-04T15:28:44.2800619+08:00;True|2024-03-04T14:54:47.0567440+08:00;True|2024-03-04T10:23:15.8222065+08:00;True|2024-03-03T17:36:33.1017612+08:00;True|2024-03-03T16:51:26.3227366+08:00;True|2024-02-26T09:58:28.3684127+08:00;True|2024-02-26T09:40:27.2127438+08:00;True|2024-02-26T09:30:29.4139007+08:00;True|2024-02-26T08:58:31.6305017+08:00;True|2024-02-26T08:50:25.3686785+08:00;True|2024-02-25T22:42:22.6699571+08:00;True|2024-02-25T21:40:08.7124742+08:00;True|2024-02-23T16:33:06.9165845+08:00;True|2024-02-23T15:20:24.6631954+08:00;True|2024-02-22T13:35:39.8097749+08:00;True|2024-02-22T10:50:51.2245040+08:00;True|2024-02-22T10:37:36.2007251+08:00;True|2024-02-22T10:28:43.0780061+08:00;True|2024-02-22T10:25:14.6494230+08:00;True|2024-02-22T10:22:55.9164843+08:00;True|2024-02-22T10:20:22.7986646+08:00;True|2024-02-22T10:09:31.7828474+08:00;True|2024-02-22T09:52:49.6576546+08:00;True|2024-02-22T09:49:40.2304782+08:00;True|2024-02-22T09:11:37.5212025+08:00;False|2024-02-22T09:11:00.5740908+08:00;True|2024-02-22T09:08:58.7725741+08:00;True|2024-02-21T16:50:09.9380590+08:00;True|2024-02-21T16:25:03.2145943+08:00;True|2024-02-21T16:23:13.6740659+08:00;True|2024-02-21T16:17:53.0411127+08:00;True|2024-02-21T15:57:47.2254175+08:00;True|2024-02-21T15:10:17.2222102+08:00;True|2024-02-21T15:05:10.2464943+08:00;True|2024-02-21T14:27:06.5305080+08:00;True|2024-02-21T14:23:20.9423346+08:00;True|2024-02-21T14:10:37.5156508+08:00;True|2024-02-21T13:54:04.4018306+08:00;True|2024-02-21T08:47:17.0019565+08:00;True|2024-02-20T16:26:31.2412659+08:00;True|2024-02-20T16:23:36.2983740+08:00;True|2024-02-20T16:20:39.9515902+08:00;True|2024-02-20T15:46:12.8212665+08:00;True|2024-02-20T14:58:17.4600086+08:00;True|2024-02-20T10:45:52.2417786+08:00;True|2024-02-20T10:42:11.8298929+08:00;True|2024-02-19T13:06:24.8957799+08:00;True|2024-02-19T11:05:28.0139278+08:00;True|2024-02-19T10:27:01.0810368+08:00;True|2024-02-19T10:22:57.4053027+08:00;True|2024-02-19T10:15:48.5706154+08:00;True|2024-02-19T10:12:02.9076965+08:00;True|2024-02-18T14:57:44.7521494+08:00;True|2024-02-18T14:50:56.3550941+08:00;True|2024-02-18T13:36:49.3942430+08:00;True|2024-02-07T14:06:25.4964506+08:00;True|2024-02-07T10:42:52.2689528+08:00;True|2024-02-06T10:58:49.3342902+08:00;True|2024-02-06T10:53:42.5435511+08:00;True|2024-02-06T10:43:40.1003756+08:00;True|2024-02-06T10:40:46.8233200+08:00;True|2024-02-06T10:17:28.2865591+08:00;True|2024-02-06T10:14:31.6896095+08:00;True|2024-02-06T09:24:29.8745590+08:00;True|2024-02-06T09:20:58.3166183+08:00;True|2024-02-06T09:12:14.4841167+08:00;True|2024-02-06T09:05:10.5375167+08:00;True|2024-02-05T14:51:09.8954604+08:00;True|2024-02-05T14:30:01.0098544+08:00;True|2024-02-05T14:26:49.2548141+08:00;True|2024-02-05T14:05:18.6839229+08:00;True|2024-02-05T13:23:42.1639710+08:00;True|2024-02-05T08:39:07.5523831+08:00;True|2024-02-04T15:09:19.2455417+08:00;True|2024-02-04T13:27:46.2086590+08:00;True|2024-02-04T13:25:20.9639903+08:00;True|2024-02-04T13:20:32.2870983+08:00;True|2024-02-04T13:15:58.3909970+08:00;True|2024-02-04T11:18:59.5180822+08:00;True|2024-02-04T11:07:31.1414636+08:00;True|2024-02-04T11:03:38.8431285+08:00;True|2024-02-04T11:00:42.8307675+08:00;True|2024-02-04T10:59:07.3767796+08:00;True|2024-02-04T10:55:27.9454328+08:00;True|2024-02-04T10:52:29.5988914+08:00;True|2024-02-04T10:50:30.6883153+08:00;True|2024-02-04T10:38:13.0058874+08:00;True|2024-02-04T10:25:53.1906810+08:00;True|2024-02-04T10:14:51.7442720+08:00;True|2024-02-04T10:12:34.4696662+08:00;True|2024-02-04T10:08:56.5805097+08:00;True|2024-02-04T10:07:16.4922026+08:00;True|2024-02-04T09:59:27.2102397+08:00;True|2024-02-04T09:56:42.2238395+08:00;True|2024-02-04T09:52:47.5348300+08:00;True|2024-02-04T09:42:50.9349205+08:00;True|2024-02-04T09:30:32.3567175+08:00;True|2024-02-04T09:19:29.8036670+08:00;True|2024-02-04T09:11:56.0744927+08:00;True|2024-02-04T09:08:42.4432795+08:00;True|2024-02-04T09:05:25.4958302+08:00;True|2024-02-04T08:58:59.7993464+08:00;True|2024-02-04T08:51:20.3017735+08:00;True|2024-02-04T08:43:05.6974823+08:00;True|2024-02-02T16:12:24.3288882+08:00;True|2024-02-02T15:31:12.0724234+08:00;True|2024-02-02T15:14:24.5493301+08:00;True|2024-02-02T15:08:42.0775469+08:00;True|2024-02-02T14:50:25.2357715+08:00;True|2024-02-02T14:48:40.1311047+08:00;True|2024-02-02T14:44:57.9831751+08:00;True|2024-02-02T14:28:12.0713915+08:00;True|2024-02-02T13:55:59.7389347+08:00;True|2024-02-02T13:10:32.7073682+08:00;True|2024-02-02T10:21:41.3665075+08:00;True|2024-02-02T10:08:11.1755065+08:00;True|2024-02-01T16:28:42.6016378+08:00;True|2024-02-01T16:25:35.2865491+08:00;True|2024-02-01T15:48:00.8333105+08:00;True|2024-02-01T15:39:22.9864096+08:00;True|2024-02-01T15:30:30.4856347+08:00;True|2024-02-01T14:34:14.9484851+08:00;True|2024-02-01T13:53:48.9165284+08:00;False|2024-02-01T13:52:39.1911001+08:00;True|2024-02-01T10:40:28.0735829+08:00;True|2024-02-01T10:24:04.5914096+08:00;True|2024-02-01T10:13:00.9882363+08:00;True|2024-01-31T14:56:37.7352718+08:00;True|2024-01-31T14:46:49.9104890+08:00;True|2024-01-31T14:38:56.1841731+08:00;True|2024-01-31T14:35:45.4531352+08:00;True|2024-01-31T14:32:21.5100137+08:00;True|2024-01-31T14:15:26.3231430+08:00;True|2024-01-31T14:00:11.3994150+08:00;True|2024-01-31T13:18:54.8448212+08:00;True|2024-01-31T10:52:59.8159114+08:00;True|2024-01-31T10:28:03.5856625+08:00;True|2024-01-31T10:10:35.0250398+08:00;True|2024-01-30T09:53:14.3256577+08:00;True|2024-01-30T09:43:56.5551157+08:00;True|2024-01-30T08:27:16.7078317+08:00;True|2024-01-29T15:42:55.3394104+08:00;True|2024-01-29T15:36:57.2998818+08:00;True|2024-01-29T15:09:49.3214409+08:00;True|2024-01-29T14:54:23.0025170+08:00;True|2024-01-29T14:33:53.5586728+08:00;True|2024-01-29T10:21:47.9469052+08:00;True|2024-01-29T09:38:26.0354836+08:00;True|2024-01-29T09:28:57.3836958+08:00;True|2024-01-29T09:19:49.0488968+08:00;True|2024-01-26T16:11:46.3859476+08:00;True|2024-01-26T16:11:29.8529136+08:00;True|2024-01-26T10:23:35.6167838+08:00;True|2024-01-26T10:16:04.2780085+08:00;True|2024-01-26T10:05:56.0745647+08:00;True|2024-01-26T10:03:34.8490957+08:00;True|2024-01-26T09:18:57.1502238+08:00;True|2024-01-26T09:05:18.6887593+08:00;True|2024-01-25T16:19:44.3753587+08:00;True|2024-01-25T10:54:55.2695117+08:00;True|2024-01-25T10:52:43.0130697+08:00;True|2024-01-25T10:15:35.2061116+08:00;True|2024-01-25T10:12:55.7724345+08:00;True|2024-01-25T09:59:14.7336333+08:00;True|2024-01-25T09:54:00.8951944+08:00;True|2024-01-23T11:57:00.6176481+08:00;True|2024-01-23T11:48:46.0536266+08:00;True|2024-01-23T11:20:56.9686760+08:00;True|2024-01-23T10:07:03.1874795+08:00;True|2024-01-23T09:28:09.7921197+08:00;True|2024-01-22T17:23:56.8011615+08:00;True|2024-01-22T15:39:51.8307512+08:00;True|2024-01-21T16:56:29.0470984+08:00;True|2024-01-21T16:31:58.1736344+08:00;True|2024-01-21T16:24:19.3683647+08:00;True|2024-01-21T16:02:26.5427715+08:00;True|2024-01-21T15:45:21.0549809+08:00;True|2024-01-21T15:24:46.6563331+08:00;True|2024-01-21T12:57:07.2655536+08:00;True|2024-01-21T11:43:22.1675745+08:00;True|2024-01-21T11:04:07.4676661+08:00;True|2024-01-21T11:03:11.6972981+08:00;True|2024-01-19T12:12:51.7315607+08:00;True|2024-01-19T12:03:23.7846341+08:00;True|2024-01-19T09:21:40.1191844+08:00;True|2024-01-18T15:28:59.1079108+08:00;True|2024-01-18T15:25:00.9561275+08:00;True|2024-01-18T15:19:13.0404548+08:00;True|2024-01-18T13:06:18.2756609+08:00;True|2024-01-18T12:00:29.1983965+08:00;True|2024-01-18T09:51:08.2157377+08:00;True|2024-01-18T09:49:33.8817410+08:00;True|2024-01-17T17:14:07.4523354+08:00;True|2024-01-17T13:46:19.2002783+08:00;True|2024-01-17T13:17:28.0156428+08:00;True|2024-01-17T11:23:28.7024207+08:00;True|2024-01-17T11:07:35.4966809+08:00;True|2024-01-17T10:25:34.7098037+08:00;True|2024-01-17T09:13:26.1252511+08:00;True|2024-01-16T15:33:15.8976694+08:00;True|2024-01-16T13:06:21.8159184+08:00;True|2024-01-16T12:55:14.9963186+08:00;True|2024-01-16T10:26:35.3866122+08:00;True|2024-01-16T10:25:44.1826112+08:00;True|2024-01-12T16:34:51.6106928+08:00;True|2024-01-12T13:14:24.0546049+08:00;True|2024-01-12T13:06:52.9089433+08:00;True|2024-01-12T12:39:48.1623736+08:00;True|2024-01-12T12:36:04.4644966+08:00;True|2024-01-12T10:22:40.9168937+08:00;True|2024-01-12T10:10:47.1460616+08:00;True|2024-01-12T10:05:40.4318518+08:00;True|2024-01-12T10:02:01.3964907+08:00;True|2024-01-12T09:57:23.5579846+08:00;True|2024-01-12T09:52:39.7735343+08:00;True|2024-01-12T09:49:01.7855687+08:00;True|2024-01-12T09:44:26.1839115+08:00;True|2024-01-12T09:40:23.9216298+08:00;True|2024-01-12T09:36:41.0590000+08:00;True|2024-01-12T09:32:36.5860825+08:00;True|2024-01-12T09:18:47.5635433+08:00;True|2024-01-11T16:44:34.1615374+08:00;True|2024-01-11T16:40:15.6664078+08:00;True|2024-01-11T16:35:55.1073771+08:00;True|2024-01-11T16:30:59.0648321+08:00;True|2024-01-11T16:11:06.5473983+08:00;True|2024-01-11T16:00:13.6441008+08:00;True|2024-01-11T15:46:51.9760680+08:00;True|2024-01-11T15:36:57.4756880+08:00;True|2024-01-11T15:31:04.1093476+08:00;True|2024-01-11T15:29:01.9270892+08:00;True|2024-01-11T15:21:23.5612459+08:00;True|2024-01-11T15:20:16.1944310+08:00;True|2024-01-11T15:13:32.1080230+08:00;True|2024-01-11T15:06:57.4237688+08:00;True|2024-01-11T15:05:37.5128999+08:00;True|2024-01-11T14:57:22.7751079+08:00;True|2024-01-11T14:11:04.8587579+08:00;True|2024-01-11T11:21:14.0243941+08:00;True|2024-01-11T11:15:09.4678297+08:00;True|2024-01-09T17:06:36.4675498+08:00;True|2024-01-09T17:02:20.7904461+08:00;False|2024-01-09T11:59:36.2734315+08:00;False|2024-01-09T11:59:30.0330023+08:00;True|2024-01-09T11:59:17.2965616+08:00;True|2024-01-08T13:52:05.1989624+08:00;True|2024-01-08T11:12:57.8687468+08:00;True|2024-01-05T14:51:14.7636988+08:00;True|2024-01-05T14:05:34.1084252+08:00;True|2024-01-05T13:23:32.7473731+08:00;True|2024-01-05T11:23:22.0038600+08:00;True|2024-01-05T08:30:07.8997370+08:00;True|2024-01-04T17:03:59.0070371+08:00;True|2024-01-04T16:35:53.2667600+08:00;True|2024-01-04T13:54:55.5474585+08:00;True|2024-01-04T10:22:53.2575575+08:00;True|2024-01-04T10:19:29.6305295+08:00;True|2024-01-04T10:13:33.8544729+08:00;True|2024-01-04T10:09:45.5777175+08:00;True|2024-01-03T15:38:30.3306310+08:00;True|2024-01-03T15:33:57.3631133+08:00;True|2024-01-03T15:10:07.3593774+08:00;True|2024-01-03T13:01:19.4751344+08:00;True|2024-01-03T11:25:06.5732437+08:00;True|2024-01-03T10:55:20.7518873+08:00;True|2024-01-03T10:40:15.0650254+08:00;True|2024-01-03T10:29:15.9327684+08:00;True|2024-01-03T09:34:04.8587473+08:00;True|2024-01-03T08:19:57.3625106+08:00;True|2023-12-29T16:46:23.7770752+08:00;True|2023-12-29T16:45:18.9092534+08:00;True|2023-12-29T16:40:16.7253697+08:00;True|2023-12-29T16:35:46.0906100+08:00;True|2023-12-29T16:19:46.4369159+08:00;True|2023-12-29T15:13:11.2466536+08:00;True|2023-12-29T15:08:16.1413948+08:00;True|2023-12-29T11:54:24.8686181+08:00;True|2023-12-29T10:54:38.1200087+08:00;True|2023-12-29T10:43:44.2132588+08:00;True|2023-12-29T10:23:35.9589067+08:00;True|2023-12-29T10:21:38.3438976+08:00;True|2023-12-29T10:16:16.7097491+08:00;True|2023-12-29T09:53:37.8863387+08:00;True|2023-12-27T14:41:20.6098455+08:00;True|2023-12-27T14:15:27.0538444+08:00;True|2023-12-27T13:07:04.0423436+08:00;True|2023-12-27T11:13:53.7170363+08:00;True|2023-12-27T10:59:32.5371257+08:00;True|2023-12-27T10:48:01.7326864+08:00;True|2023-12-26T09:13:22.3086191+08:00;True|2023-12-26T09:12:47.2137946+08:00;True|2023-12-25T12:22:46.8608633+08:00;True|2023-12-25T12:18:59.4402254+08:00;True|2023-12-25T12:11:03.2410147+08:00;True|2023-12-25T09:37:48.6741194+08:00;True|2023-12-25T09:37:03.2635243+08:00;True|2023-12-22T09:44:26.5356492+08:00;True|2023-12-21T16:58:23.0505653+08:00;True|2023-12-21T16:51:26.4945132+08:00;True|2023-12-21T16:48:53.6772071+08:00;True|2023-12-21T16:23:16.4577315+08:00;True|2023-12-21T16:22:38.6599138+08:00;True|2023-12-21T16:11:43.8422015+08:00;True|2023-12-21T15:45:42.5751240+08:00;True|2023-12-15T16:26:52.3591879+08:00;True|2023-12-15T16:22:25.0756865+08:00;True|2023-12-15T14:19:10.1362534+08:00;True|2023-12-15T14:15:47.5585902+08:00;True|2023-12-15T13:41:56.8875380+08:00;True|2023-12-13T00:13:19.2052917+08:00;True|2023-12-12T23:45:04.0751980+08:00;True|2023-12-12T23:33:28.8199619+08:00;True|2023-12-11T16:31:01.1694979+08:00;True|2023-12-11T15:47:51.2813632+08:00;True|2023-12-11T14:31:49.0572919+08:00;True|2023-12-11T11:45:11.2736360+08:00;True|2023-12-11T11:42:47.5744097+08:00;True|2023-12-11T11:41:16.3262612+08:00;True|2023-12-11T11:32:42.2722966+08:00;True|2023-12-11T11:25:22.8877561+08:00;True|2023-12-11T11:18:20.8210764+08:00;True|2023-12-11T11:16:52.0927831+08:00;True|2023-12-11T11:12:29.9473078+08:00;True|2023-12-10T16:43:56.1726039+08:00;True|2023-12-08T16:50:00.8823437+08:00;True|2023-12-08T14:59:10.2356691+08:00;True|2023-12-08T14:53:13.6038106+08:00;True|2023-12-08T14:51:33.9002713+08:00;True|2023-12-08T14:49:22.0867686+08:00;True|2023-12-08T14:45:05.4216954+08:00;True|2023-12-08T14:30:25.7790911+08:00;True|2023-12-08T14:26:26.1041925+08:00;True|2023-12-08T10:55:36.7338237+08:00;True|2023-12-08T10:24:01.5463359+08:00;True|2023-12-08T10:04:35.7996746+08:00;True|2023-12-08T09:59:17.1279949+08:00;True|2023-12-08T09:52:45.7941909+08:00;True|2023-12-08T09:51:26.7251883+08:00;True|2023-12-08T09:27:43.4049328+08:00;True|2023-12-08T09:12:16.7029758+08:00;True|2023-12-07T11:13:10.4285460+08:00;True|2023-12-01T14:35:34.0005130+08:00;True|2023-12-01T13:21:46.3327168+08:00;True|2023-12-01T13:04:28.4801319+08:00;True|2023-11-30T16:46:41.8793520+08:00;True|2023-11-30T16:04:49.7131798+08:00;True|2023-11-30T15:51:12.9846550+08:00;True|2023-11-30T12:52:06.3440387+08:00;True|2023-11-28T11:20:26.3599705+08:00;True|2023-11-28T09:43:48.5733385+08:00;True|2023-11-27T12:13:11.3038226+08:00;True|2023-11-27T11:54:35.3665327+08:00;True|2023-11-24T13:10:19.3181494+08:00;True|2023-11-24T09:52:10.7335160+08:00;True|2023-11-24T09:31:32.3926443+08:00;True|2023-11-22T13:30:50.3888837+08:00;True|2023-11-22T13:22:29.5388053+08:00;True|2023-11-22T12:14:49.7935345+08:00;True|2023-11-22T11:28:30.8047701+08:00;True|2023-11-20T12:04:07.1512783+08:00;True|2023-11-20T11:58:16.7337435+08:00;True|2023-11-20T11:03:24.3231922+08:00;True|2023-11-20T10:59:12.6367033+08:00;True|2023-11-20T10:33:56.2434367+08:00;True|2023-11-17T15:05:08.6847106+08:00;True|2023-11-17T10:29:33.0225444+08:00;True|2023-11-16T14:21:42.1686146+08:00;True|2023-11-16T13:16:34.1913128+08:00;True|2023-11-16T12:57:16.2850606+08:00;True|2023-11-16T11:11:31.8430891+08:00;True|2023-11-16T10:20:42.1252046+08:00;True|2023-11-16T10:18:14.1408709+08:00;True|2023-11-16T09:23:36.6628173+08:00;True|2023-11-15T14:28:33.3369087+08:00;True|2023-11-15T12:26:26.2137336+08:00;True|2023-11-15T12:25:16.0092237+08:00;True|2023-11-15T11:14:45.4326153+08:00;True|2023-11-15T09:02:00.2711268+08:00;True|2023-11-15T08:53:27.1187290+08:00;True|2023-11-14T18:54:52.3812819+08:00;True|2023-11-14T18:52:20.2229451+08:00;True|2023-11-14T17:55:59.0996386+08:00;True|2023-11-14T17:04:46.5334994+08:00;True|2023-11-14T15:02:42.0419908+08:00;True|2023-11-14T14:56:49.6970449+08:00;True|2023-11-14T13:18:29.4329574+08:00;True|2023-11-14T12:23:09.7978978+08:00;True|2023-11-13T16:16:20.9105084+08:00;True|2023-11-13T16:11:45.1099698+08:00;True|2023-11-13T13:16:02.1477662+08:00;True|2023-11-13T13:15:15.6182523+08:00;True|2023-11-13T11:11:21.7620762+08:00;True|2023-11-13T10:01:31.2619079+08:00;True|2023-11-13T09:18:34.3054349+08:00;True|2023-11-13T00:48:47.6800494+08:00;True|2023-11-13T00:42:22.9854286+08:00;True|2023-11-10T16:59:57.9013482+08:00;True|2023-11-10T13:56:10.1520148+08:00;True|2023-11-10T12:25:28.8978413+08:00;True|2023-11-10T12:04:30.4991249+08:00;True|2023-11-10T11:55:52.1921552+08:00;True|2023-11-10T11:39:33.1910863+08:00;True|2023-11-10T11:17:17.2050570+08:00;True|2023-11-10T10:31:48.8350379+08:00;True|2023-11-09T13:11:02.1210376+08:00;True|2023-11-09T11:04:23.6279742+08:00;True|2023-11-09T09:52:39.0767165+08:00;True|2023-11-09T09:45:47.5629254+08:00;True|2023-11-09T09:41:09.1121998+08:00;True|2023-11-09T09:34:16.8133121+08:00;True|2023-11-08T16:33:38.3080500+08:00;True|2023-11-08T16:14:37.9282566+08:00;True|2023-11-08T15:31:46.8084522+08:00;True|2023-11-08T14:27:48.2352711+08:00;True|2023-11-08T12:23:56.5235127+08:00;True|2023-11-08T11:41:12.7035010+08:00;True|2023-11-08T11:38:42.5318310+08:00;True|2023-11-08T10:18:43.5798164+08:00;True|2023-11-08T09:06:35.6712939+08:00;True|2023-11-08T08:57:36.1174660+08:00;True|2023-11-08T00:07:44.2585670+08:00;True|2023-11-06T23:28:53.2559097+08:00;True|2023-11-06T23:00:40.3059201+08:00;True|2023-11-06T21:14:59.0505998+08:00;True|2023-11-03T22:08:06.7984691+08:00;True|2023-11-03T20:33:47.8005656+08:00;True|2023-11-03T19:18:45.1406730+08:00;True|2023-11-03T14:56:44.7332321+08:00;True|2023-11-02T20:13:15.5530300+08:00;True|2023-11-02T19:22:24.9140752+08:00;True|2023-11-02T18:58:18.1198017+08:00;True|2023-11-01T18:31:39.9490440+08:00;True|2023-11-01T14:49:43.8703361+08:00;True|2023-11-01T14:38:44.8729900+08:00;True|2023-11-01T14:14:57.6507597+08:00;True|2023-11-01T13:04:09.9744075+08:00;True|2023-10-31T13:03:41.1902847+08:00;True|2023-10-31T11:29:03.3252294+08:00;True|2023-10-30T18:35:01.5128678+08:00;True|2023-10-30T18:25:01.6612244+08:00;True|2023-10-26T17:07:56.7081658+08:00;True|2023-10-18T16:20:51.8420951+08:00;True|2023-10-16T16:44:43.7908528+08:00;True|2023-10-16T11:17:09.2728375+08:00;True|2023-10-16T10:28:07.3397339+08:00;True|2023-10-16T10:26:35.6073358+08:00;True|2023-10-16T10:21:48.9925797+08:00;True|2023-10-13T11:26:05.2730047+08:00;True|2023-10-12T08:19:04.3028512+08:00;True|2023-10-11T20:40:21.6934217+08:00;True|2023-10-11T20:28:04.3302789+08:00;True|2023-10-11T20:16:51.2741909+08:00;True|2023-10-11T20:10:01.4624158+08:00;True|2023-10-11T15:32:40.9782838+08:00;True|2023-10-11T15:21:09.0531801+08:00;True|2023-10-11T15:05:59.9622196+08:00;True|2023-10-11T10:51:46.8571661+08:00;True|2023-10-11T10:41:25.5037704+08:00;True|2023-10-11T10:13:32.2604453+08:00;True|2023-10-11T10:05:52.2170423+08:00;True|2023-10-11T09:47:35.6578975+08:00;True|2023-10-11T09:44:31.2001499+08:00;True|2023-10-11T09:37:09.6904898+08:00;True|2023-10-10T10:18:33.1073992+08:00;True|2023-10-10T09:32:05.6384867+08:00;True|2023-10-10T09:15:26.4844254+08:00;True|2023-10-10T09:03:39.1497247+08:00;True|2023-10-10T08:56:14.9475607+08:00;True|2023-10-09T15:38:52.6561232+08:00;True|2023-10-09T14:22:16.0301342+08:00;True|2023-10-09T13:24:40.4941388+08:00;True|2023-10-09T10:30:48.0015664+08:00;True|2023-10-09T09:52:47.4626658+08:00;True|2023-10-08T14:21:13.7960780+08:00;True|2023-10-08T10:31:55.0337899+08:00;True|2023-10-08T08:24:13.2663041+08:00;True|2023-10-07T10:40:04.1716715+08:00;True|2023-10-07T09:51:11.1928375+08:00;True|2023-10-07T09:43:13.8042516+08:00;True|2023-09-28T15:45:01.2865878+08:00;True|2023-09-28T15:32:23.8179822+08:00;True|2023-09-28T14:37:03.1119806+08:00;True|2023-09-28T14:30:07.0877531+08:00;True|2023-09-28T14:01:36.5862373+08:00;True|2023-09-28T08:29:16.5989163+08:00;True|2023-09-28T08:12:23.3924898+08:00;True|2023-09-27T17:04:09.2538198+08:00;True|2023-09-27T16:38:03.8237948+08:00;True|2023-09-27T16:12:28.7977056+08:00;True|2023-09-27T15:56:03.7725704+08:00;True|2023-09-27T15:12:31.1298921+08:00;True|2023-09-27T15:05:14.4058045+08:00;True|2023-09-27T14:55:43.4423114+08:00;True|2023-09-27T14:33:26.2272014+08:00;True|2023-09-22T13:26:44.6246077+08:00;True|2023-09-22T11:14:50.9067626+08:00;True|2023-09-22T09:36:50.6912928+08:00;True|2023-09-22T09:26:38.2305802+08:00;True|2023-09-22T09:02:22.5400635+08:00;True|2023-09-20T17:20:27.9780370+08:00;True|2023-09-19T09:20:00.1269897+08:00;True|2023-09-19T09:10:18.4900723+08:00;True|2023-09-19T08:30:20.1709390+08:00;True|2023-09-18T15:43:28.1580264+08:00;True|2023-09-15T10:08:50.6367258+08:00;True|2023-09-14T17:17:10.7002185+08:00;True|2023-09-14T16:55:47.7782477+08:00;True|2023-09-14T14:05:25.9485449+08:00;False|2023-09-14T14:04:51.9423918+08:00;True|2023-09-12T09:37:17.5430590+08:00;True|2023-09-11T16:38:00.9834961+08:00;True|2023-09-11T13:04:08.1338596+08:00;True|2023-09-11T09:33:03.5400174+08:00;True|2023-09-08T15:34:46.6427039+08:00;True|2023-09-08T15:32:26.7896155+08:00;True|2023-09-08T14:07:16.6283055+08:00;True|2023-09-08T08:21:08.8368055+08:00;True|2023-09-08T08:07:29.5992984+08:00;True|2023-09-07T13:03:24.6924914+08:00;True|2023-09-07T11:02:02.9462467+08:00;True|2023-09-07T08:57:36.4913496+08:00;True|2023-09-07T08:55:57.3245545+08:00;True|2023-09-06T13:47:04.0563026+08:00;True|2023-09-06T13:42:27.3031938+08:00;True|2023-09-05T08:28:44.6193871+08:00;True|2023-09-04T20:42:09.4672710+08:00;True|2023-09-03T14:06:37.5079909+08:00;True|2023-09-02T18:58:24.1492192+08:00;True|2023-09-01T13:19:28.2779978+08:00;True|2023-09-01T08:40:54.0577358+08:00;True|2023-08-31T16:47:34.8462721+08:00;True|2023-08-31T14:49:39.9056564+08:00;True|2023-08-31T14:20:01.4071384+08:00;True|2023-08-31T11:25:29.0233052+08:00;True|2023-08-31T10:28:13.4933678+08:00;True|2023-08-31T10:21:52.6638820+08:00;True|2023-08-31T08:46:57.8782261+08:00;True|2023-08-31T08:46:08.4791004+08:00;True|2023-08-30T09:06:17.4001684+08:00;True|2023-08-30T08:52:06.9481657+08:00;True|2023-08-29T17:11:33.7851914+08:00;True|2023-08-29T16:58:52.7298807+08:00;True|2023-08-29T15:58:23.4205277+08:00;True|2023-08-29T15:56:40.3534593+08:00;True|2023-08-29T15:54:29.1188567+08:00;True|2023-08-29T15:53:27.9719983+08:00;True|2023-08-29T15:52:38.7670005+08:00;True|2023-08-29T15:51:32.3703092+08:00;True|2023-08-29T15:47:38.5198946+08:00;True|2023-08-29T15:46:17.4698017+08:00;True|2023-08-29T15:42:04.1853400+08:00;True|2023-08-29T15:29:28.1098681+08:00;True|2023-08-29T15:18:40.8587286+08:00;True|2023-08-29T14:47:50.3088948+08:00;True|2023-08-29T14:47:27.6552611+08:00;False|2023-08-28T13:59:37.8725670+08:00;True|2023-08-18T13:23:38.9937084+08:00;True|2023-08-18T10:09:51.5247737+08:00;True|2023-08-18T08:26:21.8473123+08:00;True|2023-08-17T08:31:37.8696349+08:00;True|2023-08-17T08:23:59.5658185+08:00;True|2023-08-17T08:07:38.2174684+08:00;True|2023-08-16T16:49:44.2549852+08:00;True|2023-08-16T16:33:59.9298792+08:00;True|2023-08-16T15:35:29.6092783+08:00;True|2023-08-16T11:17:28.1086751+08:00;True|2023-08-16T11:17:22.3814672+08:00;True|2023-08-16T08:44:16.0941179+08:00;True|2023-08-15T15:29:15.8118269+08:00;True|2023-08-15T14:47:06.4963591+08:00;True|2023-08-11T16:49:35.8718314+08:00;True|2023-08-11T14:22:59.9440967+08:00;True|2023-08-11T14:16:25.0940743+08:00;True|2023-08-11T13:27:25.4148450+08:00;True|2023-08-11T09:08:31.5437265+08:00;True|2023-08-11T09:04:38.4540336+08:00;True|2023-08-10T14:11:07.0042283+08:00;True|2023-08-08T13:48:19.2402267+08:00;True|2023-08-08T13:44:15.6796969+08:00;True|2023-07-27T09:46:14.1491814+08:00;True|2023-07-21T11:13:10.0843656+08:00;True|2023-07-21T10:56:47.5835580+08:00;True|2023-07-21T10:30:33.0113443+08:00;True|2023-07-20T19:16:37.4936135+08:00;True|2023-07-20T19:00:41.0636578+08:00;True|2023-07-19T13:28:27.8671371+08:00;True|2023-07-19T13:23:42.1880500+08:00;True|2023-07-19T13:19:18.7201227+08:00;True|2023-07-19T13:06:38.9897249+08:00;True|2023-07-19T12:13:11.2061059+08:00;True|2023-07-19T11:45:20.0391356+08:00;True|2023-07-19T11:24:02.5425841+08:00;True|2023-07-19T10:32:06.7915754+08:00;True|2023-07-19T09:51:08.4553434+08:00;True|2023-07-19T09:48:11.2977426+08:00;True|2023-07-18T08:47:44.1724897+08:00;True|2023-07-17T16:25:10.8982872+08:00;True|2023-07-17T14:50:44.3708198+08:00;True|2023-07-17T14:20:26.4686898+08:00;True|2023-07-17T14:18:16.6127136+08:00;True|2023-07-17T14:16:34.9116950+08:00;True|2023-07-17T14:14:44.7988846+08:00;True|2023-07-17T14:06:18.1123806+08:00;True|2023-07-17T14:03:38.5290433+08:00;True|2023-07-17T13:48:54.3096778+08:00;True|2023-07-17T13:23:13.6097762+08:00;True|2023-07-17T09:54:25.9375716+08:00;True|2023-07-17T09:40:22.2531559+08:00;True|2023-07-17T09:21:15.0786649+08:00;True|2023-07-17T09:03:37.2081513+08:00;True|2023-07-16T21:20:45.3036514+08:00;True|2023-07-16T21:09:16.1559694+08:00;True|2023-07-16T21:05:22.2504644+08:00;True|2023-07-16T20:41:26.5956030+08:00;True|2023-07-16T20:19:33.5726613+08:00;True|2023-07-16T19:46:38.6493518+08:00;True|2023-07-14T10:33:17.6270692+08:00;True|2023-07-11T14:34:22.8852169+08:00;True|2023-07-11T14:27:22.7851108+08:00;True|2023-07-11T14:13:21.6512172+08:00;True|2023-07-11T14:06:33.9865646+08:00;True|2023-07-11T13:52:46.2830836+08:00;True|2023-07-11T13:38:56.3165889+08:00;True|2023-07-11T13:29:40.9636697+08:00;True|2023-07-11T13:25:23.0633788+08:00;True|2023-07-11T10:17:40.8002359+08:00;True|2023-07-11T10:15:47.5472709+08:00;True|2023-07-11T10:12:25.6440547+08:00;True|2023-07-11T10:07:39.3716167+08:00;True|2023-07-11T09:22:07.4191357+08:00;True|2023-07-04T13:07:10.1209516+08:00;True|2023-06-30T16:11:25.7541580+08:00;True|2023-06-30T15:39:26.6678989+08:00;True|2023-06-30T15:26:40.6581344+08:00;True|2023-06-30T15:12:57.9906312+08:00;True|2023-06-29T16:39:15.6477820+08:00;True|2023-06-28T17:01:51.9542466+08:00;True|2023-06-27T15:03:28.1320450+08:00;True|2023-06-27T13:36:39.6707848+08:00;True|2023-06-26T09:40:01.1754706+08:00;True|2023-06-25T12:16:28.9080024+08:00;True|2023-06-25T11:51:59.9238461+08:00;True|2023-06-25T11:50:29.3100358+08:00;True|2023-06-25T11:29:28.5338563+08:00;True|2023-06-25T09:10:26.2420288+08:00;True|2023-06-25T09:08:15.0702872+08:00;True|2023-06-25T08:43:15.0806611+08:00;True|2023-06-25T08:41:41.8156616+08:00;True|2023-06-25T08:39:30.6818013+08:00;True|2023-06-25T08:38:18.5996529+08:00;True|2023-06-25T08:36:34.1479706+08:00;True|2023-06-25T08:34:53.9856289+08:00;True|2023-06-25T08:31:24.0298080+08:00;True|2023-06-25T08:15:45.7453280+08:00;True|2023-06-25T08:01:52.7609075+08:00;True|2023-06-24T21:25:23.8938665+08:00;True|2023-06-22T03:02:26.7305758+08:00;True|2023-06-22T02:10:48.8222890+08:00;True|2023-06-22T01:57:41.7875184+08:00;True|2023-06-22T01:52:19.4217362+08:00;True|2023-06-21T16:27:15.1464129+08:00;True|2023-06-21T16:11:46.6111817+08:00;True|2023-06-21T13:14:00.6869253+08:00;True|2023-06-21T13:09:28.2689225+08:00;True|2023-06-21T12:24:02.6762426+08:00;True|2023-06-21T12:18:06.2748924+08:00;True|2023-06-21T11:18:02.6754143+08:00;True|2023-06-21T11:08:34.2149469+08:00;True|2023-06-21T08:20:50.0079906+08:00;True|2023-06-20T15:56:03.2638713+08:00;True|2023-06-20T15:48:38.2419545+08:00;True|2023-06-20T15:35:26.6615171+08:00;True|2023-06-20T15:20:31.9284860+08:00;True|2023-06-20T15:18:39.8265469+08:00;True|2023-06-20T15:09:16.7617272+08:00;True|2023-06-20T09:53:23.2658672+08:00;True|2023-06-16T10:00:58.0337616+08:00;True|2023-06-16T09:47:58.8912904+08:00;True|2023-06-16T09:26:36.4914832+08:00;True|2023-06-15T16:22:21.4509393+08:00;True|2023-06-12T13:21:12.0491357+08:00;True|2023-06-12T10:18:32.9287587+08:00;True|2023-06-09T16:22:24.1132267+08:00;True|2023-06-08T18:12:42.4814009+08:00;True|2023-06-08T11:08:48.0533571+08:00;True|2023-06-08T10:41:43.0121701+08:00;False|2023-06-08T10:40:19.2093235+08:00;True|2023-06-06T13:03:50.8124200+08:00;True|2023-06-05T10:12:24.1858209+08:00;True|2023-06-02T17:02:57.5817094+08:00;True|2023-05-26T13:54:40.2272218+08:00;True|2023-05-24T12:43:50.2427994+08:00;True|2023-05-24T12:34:24.3922836+08:00;True|2023-05-24T10:07:19.4995219+08:00;True|2023-05-24T09:21:29.1960080+08:00;True|2023-05-23T22:34:23.3220912+08:00;True|2023-05-23T22:01:14.4175449+08:00;True|2023-05-23T17:02:53.0308400+08:00;True|2023-05-23T16:30:11.7138623+08:00;True|2023-05-23T15:51:50.0152484+08:00;True|2023-05-23T15:50:52.0657433+08:00;True|2023-05-23T15:28:25.5802377+08:00;True|2023-05-23T15:25:56.4633020+08:00;True|2023-05-23T14:52:29.8759921+08:00;True|2023-05-23T14:48:44.6519763+08:00;True|2023-05-20T04:28:10.3108871+08:00;True|2023-05-20T03:56:22.7233820+08:00;True|2023-05-20T03:47:38.4405026+08:00;True|2023-05-20T03:46:40.6056451+08:00;True|2023-05-20T03:44:25.0883888+08:00;True|2023-05-20T03:41:10.1148691+08:00;True|2023-05-20T02:34:14.3757035+08:00;True|2023-05-20T02:27:50.5595075+08:00;True|2023-05-20T02:23:04.2256041+08:00;True|2023-05-20T01:46:59.9534021+08:00;True|2023-05-20T01:42:33.5106065+08:00;True|2023-05-20T01:40:39.6918060+08:00;True|2023-05-20T01:11:47.7436847+08:00;True|2023-05-20T01:03:58.9476094+08:00;True|2023-05-19T22:59:47.4591129+08:00;True|2023-05-19T22:34:44.7988447+08:00;True|2023-05-19T22:24:55.2320279+08:00;True|2023-05-19T21:40:19.5285575+08:00;True|2023-05-19T21:38:21.2073338+08:00;True|2023-05-19T20:54:59.2058809+08:00;True|2023-05-19T16:08:15.0151080+08:00;True|2023-05-19T15:26:16.2836301+08:00;True|2023-05-19T13:09:06.1592914+08:00;True|2023-05-19T12:24:23.6252771+08:00;True|2023-05-19T11:50:53.8948740+08:00;True|2023-05-19T11:43:57.9296933+08:00;True|2023-05-19T10:44:34.9904463+08:00;True|2023-05-19T09:32:02.1216663+08:00;False|2023-05-19T09:31:06.4251757+08:00;True|2023-05-18T22:34:36.5292968+08:00;True|2023-05-18T20:37:59.7940567+08:00;True|2023-05-18T20:36:35.2790349+08:00;True|2023-05-18T20:34:10.7400457+08:00;True|2023-05-18T20:32:43.8790879+08:00;True|2023-05-18T20:31:13.5389643+08:00;True|2023-05-18T20:29:19.6206139+08:00;True|2023-05-18T20:07:25.5074263+08:00;True|2023-05-18T18:19:43.5324315+08:00;True|2023-05-18T18:15:36.4290026+08:00;True|2023-05-18T18:12:31.8703551+08:00;True|2023-05-18T18:10:52.9289531+08:00;True|2023-05-18T18:09:23.9118797+08:00;True|2023-05-18T17:58:30.8068228+08:00;True|2023-05-18T17:56:55.8055382+08:00;False|2023-05-18T17:54:54.7950789+08:00;False|2023-05-18T17:11:18.2325105+08:00;True|2023-05-18T17:09:24.4186482+08:00;True|2023-05-18T17:06:32.0699130+08:00;False|2023-05-18T17:01:41.8164925+08:00;False|2023-05-18T16:59:32.1112741+08:00;True|2023-05-18T16:58:34.1784100+08:00;True|2023-05-18T16:56:36.9460541+08:00;True|2023-05-18T16:55:00.9843495+08:00;True|2023-05-18T16:49:04.0161640+08:00;True|2023-05-18T16:48:28.9011382+08:00;True|2023-05-18T16:44:52.0675900+08:00;False|2023-05-18T16:44:37.3514214+08:00;False|2023-05-18T16:43:23.3343369+08:00;True|2023-05-18T16:41:35.8818611+08:00;True|2023-05-18T16:25:43.5167900+08:00;False|2023-05-18T16:24:46.6646890+08:00;False|2023-05-18T16:19:55.4153618+08:00;False|2023-05-18T16:16:18.0052881+08:00;False|2023-05-18T16:14:32.3377278+08:00;True|2023-05-17T15:43:45.1868569+08:00;True|2023-05-17T15:35:42.2476880+08:00;True|2023-05-17T14:23:28.2390957+08:00;True|2023-05-17T13:54:00.6756387+08:00;True|2023-05-17T13:45:46.1115068+08:00;True|2023-05-17T07:57:34.7129429+08:00;True|2023-05-16T16:04:20.3198005+08:00;False|2023-05-16T16:03:52.0737233+08:00;True|2023-05-16T15:28:45.4945726+08:00;True|2023-05-16T15:14:10.4952128+08:00;True|2023-05-16T15:04:46.5706346+08:00;True|2023-05-16T14:46:48.7034492+08:00;True|2023-05-16T14:45:29.4047499+08:00;True|2023-05-16T14:42:47.3507679+08:00;True|2023-05-16T14:30:47.9199224+08:00;True|2023-05-16T14:29:10.9147184+08:00;True|2023-05-16T14:27:48.3632687+08:00;True|2023-05-16T14:24:44.6240034+08:00;True|2023-05-16T14:19:41.2962188+08:00;True|2023-05-16T13:41:13.3366211+08:00;True|2023-05-16T13:26:44.1532655+08:00;True|2023-05-16T13:23:40.2882422+08:00;True|2023-05-16T13:11:41.5416792+08:00;True|2023-05-16T13:08:41.6341863+08:00;True|2023-05-16T13:04:35.6916867+08:00;True|2023-05-16T13:00:34.6889598+08:00;True|2023-05-16T12:57:48.4561274+08:00;True|2023-05-16T12:50:57.7405833+08:00;True|2023-05-16T12:49:33.8394829+08:00;True|2023-05-16T12:44:28.6906226+08:00;True|2023-05-16T12:41:08.3554032+08:00;True|2023-05-16T12:32:32.3448036+08:00;True|2023-05-16T11:32:04.4504376+08:00;True|2023-05-15T18:39:28.9172042+08:00;True|2023-05-15T18:35:41.5268755+08:00;True|2023-05-15T18:16:16.2900985+08:00;True|2023-04-28T16:24:40.7430596+08:00;False|2023-04-28T16:21:34.8499384+08:00;True|2023-04-28T15:43:40.3023318+08:00;True|2023-04-28T15:41:18.8228620+08:00;True|2023-04-28T14:16:21.1595325+08:00;True|2023-04-28T10:27:55.2150739+08:00;True|2023-04-12T16:25:26.5218825+08:00;True|2023-04-12T15:45:29.3993255+08:00;True|2023-04-12T14:00:18.1960878+08:00;True|2023-04-12T13:16:39.0804178+08:00;True|2023-04-11T11:02:27.5200402+08:00;True|2023-04-11T09:57:11.5903829+08:00;True|2023-04-10T09:58:01.1775220+08:00;True|2023-03-13T11:19:32.0927720+08:00;True|2023-03-13T10:39:50.9250037+08:00;True|2023-03-13T08:54:57.5891390+08:00;True|2023-03-10T09:00:31.2441735+08:00;True|2023-03-08T08:25:11.1877416+08:00;True|2023-03-06T09:18:03.5502956+08:00;True|2023-03-06T09:14:57.8192971+08:00;True|2023-01-11T13:30:27.8190489+08:00;True|2023-01-06T14:29:14.6067256+08:00;True|2022-12-23T17:06:52.0688439+08:00;True|2022-12-23T16:12:04.4155951+08:00;True|2022-12-23T13:35:44.6439326+08:00;True|2022-11-30T08:24:02.9999976+08:00;True|2022-11-30T08:01:51.4579972+08:00;True|2022-11-29T21:32:14.4359673+08:00;True|2022-11-29T19:30:22.9466023+08:00;True|2022-11-29T19:24:30.1630119+08:00;True|2022-11-29T17:31:43.1926801+08:00;True|2022-11-29T17:14:32.5869985+08:00;True|2022-11-29T10:42:57.1877576+08:00;True|2022-11-27T14:40:28.4784748+08:00;True|2022-11-26T20:49:34.2789400+08:00;True|2022-11-26T19:24:58.9988205+08:00;True|2022-11-26T15:33:08.6274944+08:00;True|2022-11-26T14:37:46.3953592+08:00;True|2022-11-26T09:16:41.7487240+08:00;True|2022-11-24T09:49:50.7302637+08:00;True|2022-11-23T16:24:56.5946914+08:00;True|2022-11-23T16:19:57.5570583+08:00;True|2022-11-23T15:05:13.8032246+08:00;True|2022-11-22T20:24:39.7324815+08:00;True|2022-11-22T13:18:16.2143925+08:00;False|2022-11-22T13:12:53.0448580+08:00;True|2022-11-22T11:03:01.7571733+08:00;True|2022-11-21T13:20:11.1961237+08:00;True|2022-11-21T13:13:52.0360749+08:00;True|2022-11-18T15:48:13.0747365+08:00;True|2022-11-18T14:15:54.5626901+08:00;True|2022-11-17T18:41:26.5464503+08:00;True|2022-11-15T13:55:35.3496366+08:00;True|2022-11-15T11:03:23.6773297+08:00;True|2022-11-15T10:58:47.9703720+08:00;True|2022-11-15T10:12:27.8305782+08:00;True|2022-11-15T09:47:26.7480777+08:00;True|2022-11-15T08:55:44.0275263+08:00;True|2022-11-15T08:54:06.6396851+08:00;True|2022-11-15T08:44:18.2013404+08:00;True|2022-11-15T01:16:19.8154538+08:00;True|2022-11-15T01:15:03.7846810+08:00;True|2022-11-15T01:01:11.0318599+08:00;True|2022-11-15T00:30:33.7148460+08:00;True|2022-11-15T00:15:26.5178283+08:00;True|2022-11-14T23:54:32.6128172+08:00;True|2022-11-14T23:26:52.0335380+08:00;True|2022-11-14T22:21:28.0622050+08:00;True|2022-11-14T21:47:43.6964619+08:00;True|2022-11-14T21:41:42.3128804+08:00;True|2022-11-14T21:31:17.2784203+08:00;True|2022-11-14T20:48:20.0380343+08:00;True|2022-11-11T17:24:44.7029993+08:00;True|2022-11-11T16:47:29.3444029+08:00;True|2022-11-11T16:07:26.4718473+08:00;True|2022-11-11T15:52:41.7235701+08:00;True|2022-11-10T15:58:10.8883176+08:00;True|2022-11-10T15:29:59.3113740+08:00;True|2022-11-10T13:34:14.7380132+08:00;True|2022-11-10T10:28:02.1166569+08:00;True|2022-11-09T23:28:25.6401971+08:00;True|2022-11-09T16:20:53.2757536+08:00;True|2022-11-09T16:16:41.3169214+08:00;True|2022-11-09T14:02:55.1802832+08:00;True|2022-11-09T13:57:55.2726154+08:00;True|2022-11-09T13:28:53.2022669+08:00;True|2022-11-09T13:10:58.0740163+08:00;True|2022-11-09T12:59:42.2328933+08:00;True|2022-11-09T11:54:08.0187924+08:00;True|2022-11-09T11:49:32.4296758+08:00;True|2022-11-09T11:34:32.6613370+08:00;True|2022-11-09T11:06:56.9443306+08:00;True|2022-11-06T23:43:44.0833657+08:00;True|2022-11-06T23:29:52.0088244+08:00;True|2022-11-06T22:06:14.7091464+08:00;True|2022-11-06T22:03:25.2696951+08:00;True|2022-11-06T21:58:50.1055520+08:00;True|2022-11-06T21:54:14.0075395+08:00;True|2022-11-06T21:39:30.2652105+08:00;True|2022-11-04T15:54:37.9813194+08:00;True|2022-11-04T15:43:59.7702621+08:00;True|2022-11-04T13:59:29.3941234+08:00;True|2022-11-04T13:44:18.1212719+08:00;True|2022-11-04T13:42:06.1010393+08:00;True|2022-11-04T13:37:01.7814703+08:00;True|2022-11-04T13:35:43.1121709+08:00;True|2022-11-04T13:33:05.1362535+08:00;True|2022-11-04T13:30:11.1113703+08:00;True|2022-11-04T13:28:53.7185382+08:00;True|2022-11-04T13:27:08.0691684+08:00;True|2022-11-04T13:20:46.2297633+08:00;True|2022-11-04T13:17:57.1564250+08:00;True|2022-11-04T13:15:36.3651019+08:00;True|2022-11-04T13:13:44.6635701+08:00;True|2022-11-04T13:12:02.3968306+08:00;True|2022-11-04T13:08:07.7653927+08:00;True|2022-11-04T11:37:44.1975649+08:00;True|2022-11-04T11:36:20.3813848+08:00;True|2022-11-04T11:26:40.9713465+08:00;True|2022-11-04T10:17:36.4269558+08:00;True|2022-11-04T09:47:05.4607111+08:00;True|2022-11-04T09:28:27.9347785+08:00;True|2022-11-04T08:38:38.5253737+08:00;True|2022-11-03T13:31:32.7883545+08:00;False|2022-11-03T13:27:07.8579021+08:00;True|2022-11-03T11:07:07.3903101+08:00;True|2022-11-03T10:54:26.7818816+08:00;True|2022-11-03T10:35:59.1956262+08:00;True|2022-11-03T10:30:07.0651285+08:00;True|2022-11-03T10:01:20.8467911+08:00;True|2022-08-22T11:13:33.9211829+08:00;True|2022-06-17T11:19:24.4893458+08:00;True|2022-06-07T14:44:51.5702202+08:00;True|2022-06-07T14:42:44.8351600+08:00;True|2022-05-17T14:19:55.1158182+08:00;True|2022-05-17T13:25:44.2886247+08:00;True|2022-05-17T10:29:26.6813564+08:00;True|2022-05-17T09:02:49.1742018+08:00;True|2022-05-06T15:13:12.2438900+08:00;True|2022-05-06T14:49:39.8536594+08:00;True|2022-04-22T17:07:44.8823529+08:00;True|2022-04-19T19:13:40.8312746+08:00;True|2022-04-19T15:40:16.0022040+08:00;True|2022-04-19T15:13:32.9767736+08:00;False|2022-04-19T15:08:33.6507639+08:00;True|2022-04-19T15:02:51.9580210+08:00;True|2022-04-19T13:54:18.7579131+08:00;True|2022-04-12T10:36:02.1779173+08:00;True|2022-04-12T10:05:31.0222037+08:00;True|2022-04-12T09:47:49.3724819+08:00;True|2022-04-09T15:08:54.5697468+08:00;True|2022-04-08T17:31:31.0046258+08:00;True|2022-04-08T16:50:41.3018422+08:00;True|2022-04-08T10:35:36.5029980+08:00;True|2022-03-31T09:38:37.3646053+08:00;True|2022-03-29T13:57:45.4410942+08:00;True|2022-03-10T18:59:23.7994337+08:00;True|2022-03-10T18:52:39.5019082+08:00;True|2022-03-10T18:51:12.7949284+08:00;True|2022-03-10T18:50:47.2024177+08:00;True|2022-03-10T18:45:08.8409380+08:00;True|2022-03-10T18:41:17.0102564+08:00;True|2022-03-10T18:35:49.0742353+08:00;True|2022-03-10T17:57:47.4196965+08:00;True|2022-03-10T17:34:27.5723245+08:00;True|2022-03-10T16:13:59.3829164+08:00;True|2022-03-09T14:50:49.1222033+08:00;True|2022-03-09T11:21:03.0073651+08:00;False|2022-03-09T11:16:56.1792896+08:00;False|2022-03-09T11:16:49.7923320+08:00;True|2022-03-08T15:47:47.4722336+08:00;True|2022-03-08T15:47:28.5397115+08:00;True|2022-03-08T15:37:08.7379870+08:00;True|2022-03-02T17:37:54.4659976+08:00;True|2022-03-02T17:34:12.2949726+08:00;True|2022-03-02T17:26:38.7070673+08:00;True|2022-03-02T17:07:49.7024316+08:00;True|2022-03-02T17:05:22.4177336+08:00;True|2022-03-02T16:14:57.9880587+08:00;True|2022-03-01T17:52:52.6766959+08:00;True|2022-02-28T14:36:22.6449303+08:00;True|2022-02-24T15:43:36.8244163+08:00;True|2022-02-23T17:57:14.3693224+08:00;True|2022-02-23T17:46:42.1078183+08:00;False|2022-02-23T17:41:06.5886724+08:00;True|2022-02-23T16:59:45.5533581+08:00;True|2022-02-23T16:57:43.3328895+08:00;True|2022-02-21T09:09:37.2601134+08:00;True|2022-02-21T09:03:32.4071009+08:00;True|2022-02-21T08:59:59.0172082+08:00;True|2022-02-18T14:05:39.1358825+08:00;True|2022-02-18T10:23:02.4391239+08:00;True|2022-02-18T10:21:31.0559267+08:00;True|2022-02-17T16:50:11.7192509+08:00;True|2022-02-17T13:19:13.7697894+08:00;True|2022-02-11T10:36:12.7757100+08:00;True|2022-02-10T10:54:25.2685040+08:00;True|2022-02-10T10:37:02.1034768+08:00;True|2022-02-09T17:32:45.6511283+08:00;True|2022-02-09T17:24:32.5115193+08:00;True|2022-02-09T17:00:24.0662114+08:00;True|2022-02-09T16:56:42.3364622+08:00;True|2022-02-09T14:17:25.8688855+08:00;True|2022-02-09T14:11:51.6149822+08:00;True|2022-02-07T23:29:26.2842648+08:00;True|2022-02-07T23:28:58.8242274+08:00;False|2022-02-07T23:25:29.0647793+08:00;True|2022-02-07T13:06:37.5515985+08:00;True|2022-02-07T12:42:19.5220491+08:00;True|2022-02-07T09:52:59.6728595+08:00;True|2022-02-01T11:32:10.5831557+08:00;True|2022-01-29T14:09:02.9178986+08:00;True|2022-01-28T12:01:45.1416438+08:00;True|2022-01-28T11:03:41.6361866+08:00;True|2022-01-28T10:44:53.5367862+08:00;True|2022-01-28T10:40:41.6697563+08:00;True|2022-01-28T10:25:56.7093616+08:00;True|2022-01-28T09:58:13.0733060+08:00;True|2022-01-27T09:26:29.6568807+08:00;True|2022-01-27T00:47:57.9102528+08:00;True|2022-01-27T00:46:52.8845001+08:00;True|2022-01-27T00:36:34.5330938+08:00;True|2022-01-27T00:35:19.5439329+08:00;True|2022-01-27T00:33:38.5701950+08:00;True|2022-01-27T00:32:00.9028982+08:00;True|2022-01-27T00:30:13.2390921+08:00;True|2022-01-27T00:28:23.2989144+08:00;True|2022-01-27T00:16:01.3789455+08:00;True|2022-01-27T00:09:58.8112352+08:00;True|2022-01-27T00:00:40.8353538+08:00;True|2022-01-26T23:37:50.9494735+08:00;True|2022-01-26T23:29:39.8647473+08:00;True|2022-01-26T23:20:49.3274392+08:00;True|2022-01-26T23:15:53.7037293+08:00;True|2022-01-26T23:06:28.8595953+08:00;True|2022-01-26T23:02:12.9882299+08:00;True|2022-01-26T22:55:33.2535730+08:00;True|2022-01-26T22:51:01.8427947+08:00;True|2022-01-26T22:47:44.0715387+08:00;True|2022-01-26T22:20:21.7217039+08:00;True|2022-01-26T22:13:39.5372069+08:00;True|2022-01-26T22:01:31.2113177+08:00;True|2022-01-26T21:55:26.5478921+08:00;True|2022-01-26T21:50:18.2700369+08:00;True|2022-01-26T21:48:52.0020233+08:00;True|2022-01-26T19:19:29.4530523+08:00;True|2022-01-26T19:07:21.6474231+08:00;True|2022-01-26T18:25:42.2933291+08:00;True|2022-01-26T12:39:02.0149050+08:00;True|2022-01-26T12:13:43.9149452+08:00;True|2022-01-26T11:24:33.5742248+08:00;True|2022-01-26T08:51:10.8105076+08:00;True|2022-01-25T21:07:32.9069261+08:00;True|2022-01-24T01:35:12.3309466+08:00;True|2022-01-23T23:19:15.9702821+08:00;True|2022-01-23T21:50:41.6903353+08:00;True|2022-01-23T21:25:57.6084267+08:00;True|2022-01-23T21:16:10.1516535+08:00;True|2022-01-23T20:52:08.3745284+08:00;True|2022-01-23T18:19:32.2386502+08:00;True|2022-01-23T18:11:42.0830325+08:00;True|2022-01-23T18:00:01.3239547+08:00;True|2022-01-23T12:18:48.2466943+08:00;True|2022-01-22T00:48:50.4531647+08:00;True|2022-01-21T13:10:32.8173598+08:00;True|2022-01-21T13:04:01.6388059+08:00;True|2022-01-21T12:51:40.5304103+08:00;True|2022-01-21T12:44:06.3059885+08:00;True|2022-01-21T12:34:33.9314010+08:00;True|2022-01-21T11:39:20.1088577+08:00;True|2022-01-20T11:33:49.0516846+08:00;True|2022-01-20T10:02:12.0295471+08:00;True|2022-01-20T10:02:03.3535503+08:00;True|2022-01-19T23:56:18.7293193+08:00;True|2022-01-19T22:30:14.6986228+08:00;True|2022-01-19T22:15:08.8608795+08:00;True|2022-01-19T21:57:55.2295030+08:00;True|2022-01-19T13:50:37.8588759+08:00;True|2022-01-19T13:42:52.9761531+08:00;True|2022-01-19T00:26:36.9722917+08:00;True|2022-01-19T00:15:30.8583143+08:00;True|2022-01-18T21:19:30.6193048+08:00;True|2022-01-18T21:12:07.1453825+08:00;True|2022-01-18T20:35:27.3779956+08:00;True|2022-01-18T17:44:45.2318570+08:00;True|2022-01-18T14:45:29.0299640+08:00;True|2022-01-17T22:23:20.8214203+08:00;True|2022-01-17T21:49:15.7740045+08:00;True|2022-01-17T21:47:24.6997598+08:00;True|2022-01-17T21:44:00.1942787+08:00;True|2022-01-17T21:43:15.5992687+08:00;True|2022-01-17T21:33:16.8034756+08:00;True|2022-01-17T21:25:39.9909343+08:00;True|2022-01-17T21:13:03.9659338+08:00;True|2022-01-17T20:32:14.8869091+08:00;True|2022-01-17T19:01:46.5753686+08:00;True|2022-01-17T18:31:24.1032169+08:00;True|2022-01-17T18:21:39.2918684+08:00;True|2022-01-17T18:12:07.4859038+08:00;True|2022-01-17T18:09:26.6989718+08:00;True|2022-01-17T18:04:36.7564997+08:00;True|2022-01-17T17:57:44.7814863+08:00;True|2022-01-17T17:51:50.1516107+08:00;True|2022-01-17T17:39:29.2918799+08:00;True|2022-01-17T14:55:21.5859341+08:00;True|2022-01-17T14:38:06.5091500+08:00;True|2022-01-17T14:30:25.5378436+08:00;True|2022-01-16T19:15:24.5874858+08:00;True|2022-01-16T19:07:49.0613424+08:00;True|2022-01-16T16:10:47.3112741+08:00;False|2022-01-14T19:09:41.9296709+08:00;False|2022-01-14T18:56:11.0569808+08:00;False|2022-01-14T18:28:20.1376762+08:00;False|2022-01-14T18:27:30.8678130+08:00;False|2022-01-14T18:22:45.4436504+08:00;False|2022-01-14T18:19:37.0374753+08:00;False|2022-01-14T18:18:48.5868254+08:00;False|2022-01-14T18:14:02.5810257+08:00;False|2022-01-14T18:09:51.1730754+08:00;False|2022-01-14T18:09:17.8940754+08:00;True|2022-01-13T20:08:16.2937608+08:00;True|2022-01-13T20:07:30.1505466+08:00;True|2022-01-13T13:39:42.0146294+08:00;True|2022-01-13T13:38:07.5062471+08:00;True|2022-01-13T11:29:49.3751232+08:00;True|2022-01-13T11:05:43.9574142+08:00;True|2022-01-13T10:33:23.1921058+08:00;True|2022-01-12T20:38:16.9165651+08:00;True|2022-01-12T20:24:46.3779264+08:00;True|2022-01-12T20:03:06.5030626+08:00;True|2022-01-12T19:44:55.4294326+08:00;True|2022-01-12T12:58:45.9548600+08:00;True|2022-01-12T11:28:44.7797749+08:00;True|2022-01-11T18:07:30.9151356+08:00;True|2022-01-11T15:06:32.7301609+08:00;True|2022-01-11T09:27:00.1766442+08:00;True|2021-12-30T14:41:56.8541015+08:00;True|2021-12-30T13:45:00.6130694+08:00;True|2021-12-30T13:44:18.7370780+08:00;True|2021-12-30T13:36:52.8171136+08:00;True|2021-12-28T19:14:22.5979649+08:00;True|2021-12-28T13:13:39.3543252+08:00;True|2021-12-27T15:31:26.6037782+08:00;True|2021-12-27T15:28:54.4824480+08:00;True|2021-12-27T15:22:47.8436108+08:00;True|2021-12-27T15:04:37.0711590+08:00;True|2021-12-27T15:03:52.0932499+08:00;True|2021-12-27T15:03:33.0172733+08:00;True|2021-12-27T13:28:27.4252747+08:00;True|2021-12-25T19:38:33.6784042+08:00;True|2021-12-24T20:47:43.3471563+08:00;True|2021-12-24T20:14:57.6946814+08:00;True|2021-12-24T19:55:21.1843105+08:00;True|2021-12-24T19:49:54.6719726+08:00;True|2021-12-24T19:38:14.1180741+08:00;True|2021-12-22T13:51:37.1082523+08:00;True|2021-12-21T15:38:59.8015096+08:00;True|2021-12-21T15:29:54.8095063+08:00;False|2021-12-21T15:29:21.7006531+08:00;False|2021-12-21T15:16:18.2218025+08:00;False|2021-12-21T15:11:38.1215841+08:00;False|2021-12-21T15:08:27.0590078+08:00;True|2021-12-10T14:12:36.4065298+08:00;True|2021-12-10T13:54:03.4921778+08:00;True|2021-12-10T13:25:49.0439086+08:00;True|2021-12-10T13:19:58.9494477+08:00;True|2021-12-10T13:10:45.3929017+08:00;True|2021-12-10T11:06:53.2416794+08:00;True|2021-12-07T17:23:28.9380484+08:00;True|2021-12-07T17:13:52.4384814+08:00;True|2021-12-07T16:39:49.2020208+08:00;True|2021-12-07T15:18:20.9024533+08:00;True|2021-12-07T15:07:35.4428035+08:00;True|2021-12-07T15:01:02.0445043+08:00;True|2021-12-07T14:50:08.9019705+08:00;True|2021-12-07T14:34:50.4993666+08:00;False|2021-12-07T14:32:56.0408332+08:00;True|2021-12-06T17:11:41.4004606+08:00;True|2021-12-06T16:48:07.6029757+08:00;True|2021-12-06T13:46:35.9437718+08:00;True|2021-12-06T13:45:07.6622615+08:00;True|2021-12-06T11:25:04.3483155+08:00;True|2021-12-06T11:18:24.5804187+08:00;True|2021-11-22T16:27:05.4241947+08:00;True|2021-11-22T13:40:17.6768280+08:00;True|2021-11-19T16:15:19.9085104+08:00;True|2021-11-09T10:34:21.1623512+08:00;True|2021-11-07T16:57:59.7380254+08:00;True|2021-11-07T16:53:47.4198852+08:00;True|2021-11-07T16:42:05.5096826+08:00;True|2021-11-07T16:37:21.0729013+08:00;True|2021-11-05T20:51:17.6170717+08:00;True|2021-11-05T20:35:14.6250333+08:00;True|2021-11-05T19:30:19.8374158+08:00;True|2021-11-05T19:22:46.2276569+08:00;True|2021-11-05T19:20:30.8253213+08:00;True|2021-11-05T19:16:45.7553310+08:00;True|2021-11-05T19:16:00.4532689+08:00;True|2021-11-05T19:12:25.9022478+08:00;False|2021-11-05T19:11:26.5753529+08:00;True|2021-11-05T19:09:30.0085433+08:00;True|2021-11-05T18:48:19.9395153+08:00;True|2021-11-05T18:45:34.3437897+08:00;True|2021-11-05T18:43:43.4558159+08:00;True|2021-11-05T18:40:40.9948500+08:00;True|2021-11-05T18:34:18.4440455+08:00;True|2021-11-05T15:54:51.6037132+08:00;True|2021-10-28T16:27:53.9728270+08:00;True|2021-10-28T16:03:59.5629998+08:00;True|2021-10-28T08:51:04.2549186+08:00;True|2021-10-27T15:14:53.5506098+08:00;True|2021-10-27T15:00:44.9100320+08:00;True|2021-10-27T13:14:46.7921647+08:00;True|2021-10-27T11:24:49.4550753+08:00;True|2021-10-27T10:10:10.3545125+08:00;True|2021-10-27T10:02:24.9248610+08:00;True|2021-10-27T09:59:40.3795897+08:00;True|2021-10-27T09:56:30.6629207+08:00;True|2021-10-27T09:10:48.3883432+08:00;True|2021-10-27T09:03:31.9191991+08:00;True|2021-10-27T08:59:59.7651159+08:00;True|2021-10-27T08:36:11.8620997+08:00;True|2021-10-27T08:26:40.2533014+08:00;True|2021-10-26T09:19:35.5674748+08:00;True|2021-10-26T09:17:17.6900747+08:00;True|2021-10-26T09:14:32.3999220+08:00;True|2021-10-25T15:08:21.2581763+08:00;True|2021-10-25T10:01:57.8524903+08:00;True|2021-10-25T09:28:51.6294879+08:00;True|2021-10-25T09:25:50.3373336+08:00;True|2021-10-25T09:23:37.0203978+08:00;True|2021-10-25T09:18:23.3380608+08:00;True|2021-10-25T09:15:10.5292071+08:00;True|2021-10-25T08:56:30.4632027+08:00;True|2021-10-25T08:50:11.4697392+08:00;True|2021-10-22T13:46:49.7207066+08:00;True|2021-10-22T10:06:33.3130089+08:00;True|2021-10-20T14:32:10.1235516+08:00;True|2021-10-20T14:16:18.6496291+08:00;True|2021-10-20T14:08:49.2443715+08:00;True|2021-10-20T14:05:14.6847950+08:00;True|2021-10-20T13:30:21.6057636+08:00;True|2021-10-20T10:55:22.2151716+08:00;True|2021-10-19T10:42:13.4198267+08:00;True|2021-10-19T10:01:41.0018108+08:00;True|2021-10-19T09:59:11.2127619+08:00;True|2021-10-19T09:54:04.8472874+08:00;True|2021-10-15T11:19:15.5327495+08:00;True|2021-10-15T11:17:41.0686485+08:00;True|2021-10-15T11:12:11.8295042+08:00;True|2021-10-15T10:33:31.5670079+08:00;True|2021-10-15T10:27:45.0815146+08:00;True|2021-10-14T14:51:28.5331025+08:00;True|2021-10-14T14:37:28.3276051+08:00;True|2021-10-14T14:23:39.0606792+08:00;True|2021-10-14T14:21:03.8140347+08:00;True|2021-10-13T10:31:10.6628977+08:00;True|2021-10-13T10:12:24.4238027+08:00;True|2021-10-13T08:47:43.9314486+08:00;True|2021-10-12T14:07:18.6065183+08:00;True|2021-10-12T10:34:10.1682362+08:00;True|2021-10-12T10:27:14.3073332+08:00;True|2021-10-12T10:22:08.0004619+08:00;True|2021-10-12T10:21:03.0275378+08:00;True|2021-10-12T10:11:54.9812692+08:00;True|2021-10-11T16:59:07.3568342+08:00;True|2021-10-11T16:53:14.2016138+08:00;True|2021-10-11T16:21:35.0133775+08:00;True|2021-10-11T15:34:19.5731935+08:00;True|2021-10-11T15:31:07.5780983+08:00;True|2021-10-11T15:06:47.1145237+08:00;True|2021-10-11T15:03:25.5000280+08:00;True|2021-10-11T10:12:57.6416898+08:00;True|2021-10-09T10:15:17.9235165+08:00;True|2021-10-09T10:13:51.3318441+08:00;True|2021-10-09T10:01:21.6661542+08:00;True|2021-10-09T09:58:41.9225837+08:00;True|2021-10-08T14:56:49.7935800+08:00;True|2021-10-08T14:35:41.4490063+08:00;True|2021-10-08T14:02:42.6990656+08:00;True|2021-09-29T15:48:55.1547397+08:00;True|2021-09-29T15:48:23.5567191+08:00;True|2021-09-27T16:17:35.7180978+08:00;True|2021-09-27T15:51:50.4240134+08:00;True|2021-09-23T20:55:27.3554447+08:00;True|2021-09-23T14:14:44.0572017+08:00;True|2021-09-23T13:51:56.2344673+08:00;True|2021-09-23T10:46:16.7417007+08:00;True|2021-09-23T10:42:23.2117537+08:00;True|2021-09-22T15:21:22.9615672+08:00;True|2021-09-22T14:23:32.7907754+08:00;True|2021-09-22T13:48:03.4780947+08:00;True|2021-09-22T11:05:24.5249356+08:00;True|2021-09-22T10:00:19.0962943+08:00;True|2021-09-22T09:30:26.2686514+08:00;True|2021-09-17T11:22:34.5692792+08:00;True|2021-09-16T16:11:27.5372277+08:00;True|2021-09-16T14:53:40.8396557+08:00;True|2021-09-16T14:32:29.7905500+08:00;True|2021-09-16T14:26:46.2224219+08:00;True|2021-09-16T10:32:24.4244440+08:00;True|2021-09-15T11:10:35.3529360+08:00;True|2021-09-15T11:08:30.0857376+08:00;True|2021-09-15T11:05:56.7191571+08:00;True|2021-09-14T01:24:39.8041136+08:00;True|2021-09-14T01:05:01.1593327+08:00;True|2021-09-14T00:44:14.7233198+08:00;True|2021-09-13T23:48:19.4506233+08:00;True|2021-09-13T20:30:31.3243872+08:00;True|2021-09-13T19:45:35.9108911+08:00;False|2021-09-13T19:44:59.2779092+08:00;True|2021-09-13T18:09:22.4994381+08:00;True|2021-09-10T14:18:27.5788854+08:00;True|2021-09-09T15:57:01.7407207+08:00;True|2021-09-09T15:49:34.2598998+08:00;True|2021-09-09T11:32:10.7853024+08:00;True|2021-09-09T11:10:48.6840025+08:00;True|2021-09-09T10:35:37.3883078+08:00;True|2021-09-07T14:11:49.8497588+08:00;True|2021-09-07T13:34:48.4693349+08:00;True|2021-09-06T14:33:48.7549675+08:00;True|2021-09-03T16:27:51.1888520+08:00;True|2021-09-03T16:19:35.9003465+08:00;True|2021-09-03T15:46:28.1828032+08:00;True|2021-09-03T15:34:21.9362871+08:00;True|2021-09-03T11:24:49.8749819+08:00;True|2021-09-03T11:21:17.8373159+08:00;True|2021-09-03T11:16:53.2208136+08:00;True|2021-09-03T11:12:23.9063804+08:00;True|2021-09-03T09:11:09.2435721+08:00;True|2021-09-02T11:16:15.1370453+08:00;True|2021-09-02T10:35:39.1171879+08:00;True|2021-09-01T10:17:09.4536285+08:00;True|2021-09-01T09:46:28.4581776+08:00;True|2021-08-31T08:54:26.8588887+08:00;True|2021-08-31T08:39:08.3685693+08:00;True|2021-08-30T17:11:56.8438985+08:00;True|2021-08-30T15:59:42.0820292+08:00;True|2021-08-30T15:45:18.1868510+08:00;True|2021-08-30T14:56:08.3958863+08:00;True|2021-08-30T14:37:11.5379830+08:00;True|2021-08-30T14:35:34.8775934+08:00;True|2021-08-30T14:24:36.5111821+08:00;True|2021-08-30T10:05:49.6945200+08:00;True|2021-08-30T10:03:28.4064538+08:00;True|2021-08-30T10:00:16.8360929+08:00;True|2021-08-30T09:56:09.4434379+08:00;True|2021-08-30T09:55:36.1725334+08:00;True|2021-08-30T09:52:04.8600054+08:00;True|2021-08-30T09:47:46.4225655+08:00;True|2021-08-30T09:45:20.4894962+08:00;False|2021-08-27T17:17:34.2646751+08:00;False|2021-08-27T16:01:21.2791979+08:00;False|2021-08-27T15:58:06.9667160+08:00;False|2021-08-27T15:38:37.4818036+08:00;False|2021-08-27T15:21:02.8863114+08:00;False|2021-08-27T15:20:28.6828668+08:00;True|2021-08-26T16:00:44.3162145+08:00;True|2021-08-26T08:57:31.3842587+08:00;True|2021-08-23T08:43:41.1549775+08:00;True|2021-08-22T09:24:12.7210871+08:00;True|2021-08-22T09:19:53.8300229+08:00;True|2021-08-20T20:00:52.0140407+08:00;True|2021-08-20T19:40:14.7712765+08:00;True|2021-08-19T17:37:54.9748049+08:00;True|2021-08-19T17:20:11.0515687+08:00;True|2021-08-19T16:12:35.4392809+08:00;True|2021-08-19T16:06:50.6204587+08:00;True|2021-08-19T16:03:53.0824286+08:00;True|2021-08-19T15:56:01.3498791+08:00;True|2021-08-19T10:18:50.8113630+08:00;True|2021-08-19T09:58:06.2784035+08:00;True|2021-08-19T09:56:54.0619777+08:00;True|2021-08-19T00:32:08.3503093+08:00;True|2021-08-19T00:11:18.3150227+08:00;True|2021-08-19T00:02:49.4827718+08:00;True|2021-08-18T23:54:45.4845900+08:00;True|2021-08-18T23:39:51.6147977+08:00;True|2021-08-18T23:16:42.7214379+08:00;True|2021-08-18T22:38:57.4681929+08:00;True|2021-08-18T21:41:58.7560707+08:00;True|2021-08-18T21:11:52.2369249+08:00;True|2021-08-18T21:01:49.5669106+08:00;True|2021-08-18T20:47:46.5352688+08:00;False|2021-08-18T20:46:36.7956141+08:00;False|2021-08-18T20:46:01.0502138+08:00;True|2021-08-18T19:39:12.8186242+08:00;False|2021-08-18T19:38:12.6839708+08:00;True|2021-08-18T19:15:51.4626694+08:00;True|2021-08-18T16:07:20.4350886+08:00;True|2021-08-18T14:29:41.7171934+08:00;True|2021-08-18T14:20:36.3647361+08:00;True|2021-08-16T09:08:58.3617662+08:00;True|2021-08-15T20:44:29.9214083+08:00;True|2021-08-15T20:36:17.0958549+08:00;True|2021-08-15T20:29:34.3879773+08:00;True|2021-08-15T20:23:47.4052038+08:00;True|2021-08-15T15:01:19.7830862+08:00;True|2021-08-15T12:15:18.3433782+08:00;True|2021-08-13T20:59:11.3947130+08:00;True|2021-08-06T22:49:09.9538339+08:00;True|2021-08-06T22:35:19.0418168+08:00;True|2021-08-06T20:29:47.4241975+08:00;True|2021-08-06T14:08:16.4791827+08:00;True|2021-08-06T13:59:28.9874611+08:00;True|2021-08-06T13:57:34.3723977+08:00;True|2021-08-06T13:36:03.4816652+08:00;True|2021-08-06T12:22:52.5055221+08:00;True|2021-08-06T09:31:58.1272499+08:00;True|2021-08-06T09:26:51.6310039+08:00;True|2021-08-06T09:24:22.2899244+08:00;True|2021-08-06T09:06:30.6477912+08:00;True|2021-08-06T09:00:55.5101612+08:00;True|2021-08-06T08:49:59.9616490+08:00;True|2021-08-06T08:45:18.8586902+08:00;True|2021-08-05T20:09:25.8861998+08:00;True|2021-08-04T19:14:27.2396953+08:00;True|2021-08-04T19:11:47.5849093+08:00;True|2021-08-04T16:42:54.0149043+08:00;True|2021-08-04T15:02:11.5056561+08:00;True|2021-08-04T14:58:37.1435509+08:00;True|2021-08-04T14:55:34.7380132+08:00;True|2021-08-04T14:47:42.5933921+08:00;True|2021-08-04T14:45:17.9911874+08:00;True|2021-08-04T13:52:20.9601351+08:00;True|2021-08-04T09:48:28.8796992+08:00;True|2021-08-03T18:14:13.1894998+08:00;True|2021-08-03T17:45:35.1349721+08:00;True|2021-08-03T17:21:52.6028977+08:00;True|2021-08-03T17:20:35.4423020+08:00;True|2021-08-03T17:03:33.1667669+08:00;True|2021-08-03T17:01:54.2656787+08:00;True|2021-08-03T17:00:22.2778374+08:00;True|2021-08-03T16:56:58.8902582+08:00;True|2021-08-03T15:02:21.8601533+08:00;True|2021-08-03T14:57:34.0186758+08:00;True|2021-08-03T14:28:47.2242515+08:00;True|2021-08-03T14:22:22.4554236+08:00;True|2021-08-03T14:21:51.1339715+08:00;True|2021-08-03T13:37:33.9697131+08:00;True|2021-08-03T13:28:29.7591095+08:00;True|2021-08-03T11:35:09.5118324+08:00;True|2021-08-03T11:11:23.3051573+08:00;True|2021-08-02T13:14:42.3663755+08:00;True|2021-07-30T22:50:19.9749878+08:00;True|2021-07-30T22:49:31.2150970+08:00;True|2021-07-28T19:12:05.8381075+08:00;True|2021-07-28T18:59:45.4808797+08:00;True|2021-07-28T18:15:58.8301509+08:00;True|2021-07-28T18:04:54.8613546+08:00;True|2021-07-28T17:53:48.6225611+08:00;True|2021-07-28T17:42:50.9171563+08:00;True|2021-07-28T17:17:16.3137677+08:00;True|2021-07-28T17:11:46.8925200+08:00;True|2021-07-28T16:28:27.6823943+08:00;True|2021-07-28T16:23:00.3385836+08:00;True|2021-07-28T09:57:55.4237411+08:00;True|2021-07-28T08:38:29.6691541+08:00;True|2021-07-27T23:16:32.0331671+08:00;True|2021-07-27T23:06:08.1947249+08:00;True|2021-07-27T23:05:58.4619176+08:00;True|2021-07-27T18:42:09.5358261+08:00;True|2021-07-27T18:30:04.8532823+08:00;True|2021-07-27T18:29:43.5775092+08:00;True|2021-07-27T15:16:49.8356224+08:00;True|2021-07-27T15:05:27.8453220+08:00;True|2021-07-27T14:59:15.9519440+08:00;True|2021-07-27T09:23:32.6111337+08:00;True|2021-07-27T08:27:41.6395353+08:00;True|2021-07-27T08:25:56.7378296+08:00;True|2021-07-26T11:18:46.0856966+08:00;True|2021-07-26T11:18:02.0751924+08:00;True|2021-07-26T11:13:49.6285395+08:00;True|2021-07-21T21:08:25.9898902+08:00;True|2021-07-21T20:09:26.2258104+08:00;True|2021-07-13T16:17:25.8407435+08:00;True|2021-07-13T13:46:13.4309531+08:00;True|2021-07-13T12:29:04.5082461+08:00;True|2021-06-29T13:55:01.6864637+08:00;True|2021-06-29T10:38:52.2206472+08:00;True|2021-06-29T10:10:13.1540749+08:00;True|2021-06-28T14:37:56.3853273+08:00;False|2021-06-28T14:36:57.5726124+08:00;True|2021-06-25T14:17:57.5196108+08:00;True|2021-06-25T13:56:38.9522535+08:00;True|2021-06-24T19:38:32.8766933+08:00;True|2021-06-24T18:26:35.6118833+08:00;True|2021-06-24T18:02:52.8136877+08:00;True|2021-06-24T17:48:49.5851948+08:00;True|2021-06-24T17:45:46.7527572+08:00;True|2021-06-24T15:05:20.1592723+08:00;True|2021-06-23T16:18:15.6814625+08:00;True|2021-06-23T16:05:24.6112343+08:00;True|2021-06-23T15:14:08.2489658+08:00;True|2021-06-23T13:52:58.6029788+08:00;True|2021-06-22T16:11:20.4726923+08:00;True|2021-06-22T16:04:53.7231389+08:00;True|2021-06-22T15:50:59.2583262+08:00;True|2021-06-22T15:38:15.3016140+08:00;True|2021-06-22T15:34:42.9185543+08:00;True|2021-06-22T15:21:55.1419108+08:00;True|2021-06-22T15:07:21.5357494+08:00;True|2021-06-22T15:03:35.0535733+08:00;True|2021-06-22T14:54:47.8802969+08:00;True|2021-06-22T11:19:38.7303011+08:00;True|2021-06-22T08:53:49.2882695+08:00;True|2021-06-22T08:47:54.8286530+08:00;True|2021-06-21T16:27:19.3017700+08:00;True|2021-06-21T15:32:28.7237952+08:00;True|2021-06-21T12:34:02.6329555+08:00;True|2021-06-21T12:24:17.5427495+08:00;True|2021-06-21T10:47:30.6423502+08:00;True|2021-06-21T08:43:20.3026558+08:00;True|2021-06-19T15:10:06.8335499+08:00;True|2021-06-18T15:37:29.5009930+08:00;True|2021-06-18T13:46:35.6283432+08:00;True|2021-06-18T10:00:37.1474954+08:00;True|2021-06-18T09:55:21.8551780+08:00;True|2021-06-18T09:22:27.8432927+08:00;True|2021-06-17T11:17:43.2166430+08:00;True|2021-06-17T09:24:09.8350403+08:00;True|2021-06-16T16:10:47.8564888+08:00;True|2021-06-16T16:04:09.8286582+08:00;True|2021-06-16T15:12:29.9427169+08:00;True|2021-06-16T14:58:45.6801892+08:00;True|2021-06-16T14:46:01.6873221+08:00;True|2021-06-16T11:02:06.1272477+08:00;True|2021-06-16T09:33:56.0223915+08:00;True|2021-06-16T08:50:07.6995413+08:00;True|2021-06-16T08:28:38.7692635+08:00;True|2021-06-16T01:04:19.6282474+08:00;True|2021-06-16T01:03:50.5058323+08:00;False|2021-06-16T01:02:15.3819672+08:00;False|2021-06-16T01:01:38.6171098+08:00;True|2021-06-16T00:34:54.9902044+08:00;True|2021-06-15T23:55:36.2003828+08:00;True|2021-06-15T22:47:17.2192750+08:00;True|2021-06-15T22:42:41.1512585+08:00;True|2021-06-15T22:38:01.7390462+08:00;True|2021-06-15T22:14:11.2060782+08:00;True|2021-06-15T22:12:27.0615357+08:00;True|2021-06-15T22:07:59.9280871+08:00;True|2021-06-15T22:04:21.5051427+08:00;True|2021-06-15T21:25:55.0099814+08:00;True|2021-06-15T19:13:51.3494172+08:00;True|2021-06-15T19:02:17.6844742+08:00;True|2021-06-15T18:47:37.1629411+08:00;False|2021-06-15T18:47:11.0828111+08:00;True|2021-06-15T18:38:26.6620668+08:00;True|2021-06-15T18:33:45.2069831+08:00;True|2021-06-15T18:24:52.0550838+08:00;True|2021-06-15T18:19:43.6999796+08:00;True|2021-06-15T18:08:17.2464506+08:00;True|2021-06-15T18:03:51.3952624+08:00;True|2021-06-15T18:01:20.6141766+08:00;True|2021-06-15T17:59:04.4479416+08:00;True|2021-06-15T17:41:44.6389379+08:00;True|2021-06-15T17:39:03.1565124+08:00;True|2021-06-15T17:34:41.0634638+08:00;True|2021-06-15T17:33:50.4853178+08:00;True|2021-06-15T17:25:38.5914037+08:00;True|2021-06-15T17:22:21.3611360+08:00;True|2021-06-15T17:16:49.4970813+08:00;True|2021-06-15T17:05:28.9389484+08:00;True|2021-06-15T16:52:54.6372199+08:00;True|2021-06-15T16:51:23.9081030+08:00;True|2021-06-15T16:45:40.6017997+08:00;True|2021-06-15T16:41:05.0218887+08:00;True|2021-06-15T16:38:02.8541862+08:00;True|2021-06-15T16:22:10.3118721+08:00;True|2021-06-15T16:12:11.1552506+08:00;True|2021-06-15T15:33:42.0100494+08:00;True|2021-06-15T15:28:39.7145659+08:00;True|2021-06-15T15:15:02.7939125+08:00;True|2021-06-15T14:49:14.2300396+08:00;True|2021-06-15T14:42:28.1198064+08:00;True|2021-06-15T13:30:12.7997686+08:00;True|2021-06-15T13:25:37.7284670+08:00;True|2021-06-15T13:23:43.6207813+08:00;False|2021-06-15T13:23:19.4190232+08:00;True|2021-06-15T13:16:38.5062674+08:00;True|2021-06-15T13:03:31.2055635+08:00;True|2021-06-15T12:58:43.1653215+08:00;True|2021-06-15T12:39:22.8442109+08:00;True|2021-06-15T12:35:09.1288556+08:00;False|2021-06-15T12:33:50.0723143+08:00;True|2021-06-15T11:28:01.9733727+08:00;True|2021-06-15T11:26:26.6569392+08:00;True|2021-06-15T11:22:43.0366435+08:00;True|2021-06-15T11:07:50.1610580+08:00;True|2021-06-15T10:32:59.1925931+08:00;True|2021-06-10T17:16:57.9552310+08:00;True|2021-06-10T16:44:42.2731836+08:00;True|2021-06-10T14:39:27.6745737+08:00;True|2021-06-10T12:15:05.1524413+08:00;True|2021-06-09T18:19:24.1005606+08:00;True|2021-06-09T17:56:09.5646288+08:00;True|2021-06-09T13:34:06.1882292+08:00;True|2021-06-09T13:29:54.5924933+08:00;True|2021-06-09T13:25:55.7520662+08:00;True|2021-06-09T13:07:47.6686811+08:00;True|2021-06-09T12:59:41.2595048+08:00;True|2021-06-09T12:45:27.1305548+08:00;True|2021-06-09T12:29:52.1418191+08:00;True|2021-06-09T12:24:12.7610588+08:00;True|2021-06-09T11:31:25.3409568+08:00;True|2021-06-09T09:57:44.4387175+08:00;True|2021-06-09T09:54:26.5161307+08:00;True|2021-06-09T09:14:14.7288045+08:00;True|2021-06-09T09:10:25.1812139+08:00;True|2021-06-09T08:46:21.6585123+08:00;True|2021-06-08T19:56:55.7192062+08:00;True|2021-06-08T19:52:59.0326821+08:00;True|2021-06-08T19:49:13.6274217+08:00;True|2021-06-08T19:09:22.1038939+08:00;True|2021-06-08T15:28:41.3716247+08:00;True|2021-06-08T15:26:47.2621178+08:00;True|2021-06-08T13:49:45.8936617+08:00;True|2021-06-08T13:43:18.8115502+08:00;True|2021-06-08T10:04:06.2200731+08:00;True|2021-06-08T09:17:10.0470792+08:00;True|2021-06-08T08:44:37.4395849+08:00;True|2021-06-08T00:01:09.3745613+08:00;True|2021-06-07T23:49:31.5196888+08:00;True|2021-06-07T23:41:00.8017855+08:00;True|2021-06-07T23:21:53.1371134+08:00;True|2021-06-07T23:01:27.5712153+08:00;True|2021-06-07T22:36:12.9274014+08:00;True|2021-06-07T22:23:00.6545134+08:00;True|2021-06-07T17:44:47.5686346+08:00;True|2021-06-07T17:17:01.3431233+08:00;True|2021-06-07T16:53:28.9989587+08:00;True|2021-06-07T16:41:10.4975607+08:00;True|2021-06-07T14:21:06.8176477+08:00;True|2021-06-07T14:10:39.0355659+08:00;True|2021-06-07T12:34:31.4562732+08:00;True|2021-06-07T12:28:44.9629488+08:00;True|2021-06-07T10:30:26.9387988+08:00;True|2021-06-07T09:12:14.7658099+08:00;True|2021-06-07T08:37:19.6353792+08:00;True|2021-06-07T08:35:25.2031954+08:00;True|2021-06-05T07:07:32.0541266+08:00;True|2021-06-05T06:44:35.9475270+08:00;True|2021-06-05T06:37:27.4595197+08:00;True|2021-06-05T06:26:59.7663998+08:00;True|2021-06-05T05:43:12.8699318+08:00;True|2021-06-04T17:00:41.2426007+08:00;True|2021-06-04T16:08:03.8078072+08:00;True|2021-06-04T15:47:21.6412616+08:00;True|2021-06-04T15:21:02.4239800+08:00;True|2021-06-04T15:20:37.8641854+08:00;True|2021-06-04T13:38:51.5088395+08:00;True|2021-06-04T10:20:01.7784282+08:00;True|2021-06-04T10:13:50.3548857+08:00;True|2021-06-04T10:11:25.5017821+08:00;True|2021-06-04T10:09:51.6792228+08:00;True|2021-06-04T10:02:39.5851057+08:00;True|2021-06-04T09:30:40.4495494+08:00;True|2021-06-03T13:16:36.0317546+08:00;True|2021-06-03T13:12:47.0402047+08:00;True|2021-06-02T14:37:08.9683351+08:00;True|2021-06-02T14:10:15.7439829+08:00;True|2021-06-02T13:59:46.5841931+08:00;True|2021-06-02T13:25:18.7962660+08:00;True|2021-06-02T13:23:16.2261980+08:00;True|2021-06-01T15:37:32.2495085+08:00;True|2021-06-01T15:21:01.2856122+08:00;True|2021-06-01T15:13:36.7262365+08:00;True|2021-06-01T15:10:26.8905629+08:00;True|2021-06-01T14:56:17.5231551+08:00;True|2021-06-01T14:38:39.7895927+08:00;True|2021-06-01T14:23:12.3265287+08:00;True|2021-03-01T09:11:31.3226422+08:00;True|2021-05-26T14:54:56.9426462+08:00;True|2021-05-26T13:57:33.7780451+08:00;True|2021-05-26T13:39:02.8043358+08:00;True|2021-02-25T16:01:40.2917200+08:00;True|2021-02-25T15:49:46.6681205+08:00;True|2021-02-25T15:16:30.9372640+08:00;True|2021-05-25T13:10:21.7831921+08:00;True|2021-05-25T11:21:38.5224475+08:00;True|2021-05-25T11:12:52.0637175+08:00;True|2021-05-25T11:02:18.4164663+08:00;True|2021-05-25T10:52:06.8998521+08:00;True|2021-05-25T10:50:45.0929606+08:00;True|2021-05-25T10:45:54.1498313+08:00;True|2021-05-25T10:39:27.8602249+08:00;True|2021-05-25T10:34:49.5771162+08:00;True|2021-05-25T10:17:30.3009163+08:00;True|2021-05-25T10:14:03.8512581+08:00;True|2021-05-25T10:05:33.4343836+08:00;True|2021-05-24T17:01:23.3221168+08:00;True|2021-05-24T10:11:24.0197347+08:00;False|2021-05-24T10:11:07.6338995+08:00;</History> </PropertyGroup> <ItemGroup> <File Include="apiapp.json"> - <publishTime>04/06/2023 15:57:02</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> + <publishTime>04/15/2024 12:55:47</publishTime> </File> <File Include="bin/Antlr3.Runtime.dll"> <publishTime>02/22/2013 16:43:40</publishTime> @@ -47,12 +20,12 @@ <File Include="bin/BLL.dll"> <publishTime>11/09/2022 16:02:08</publishTime> <publishTime>11/02/2022 22:03:01</publishTime> - <publishTime>07/03/2024 15:33:33</publishTime> + <publishTime>07/04/2024 15:50:43</publishTime> </File> <File Include="bin/BLL.pdb"> <publishTime>11/09/2022 16:02:08</publishTime> <publishTime>11/02/2022 22:03:01</publishTime> - <publishTime>07/03/2024 15:33:33</publishTime> + <publishTime>07/04/2024 15:50:43</publishTime> </File> <File Include="bin/BouncyCastle.Crypto.dll"> <publishTime>12/18/2020 05:32:28</publishTime> @@ -60,12 +33,12 @@ <File Include="bin/DAL.dll"> <publishTime>11/09/2022 16:02:06</publishTime> <publishTime>11/02/2022 22:02:58</publishTime> - <publishTime>07/03/2024 15:33:31</publishTime> + <publishTime>07/04/2024 15:50:41</publishTime> </File> <File Include="bin/DAL.pdb"> <publishTime>11/09/2022 16:02:06</publishTime> <publishTime>11/02/2022 22:02:58</publishTime> - <publishTime>07/03/2024 15:33:31</publishTime> + <publishTime>07/04/2024 15:50:41</publishTime> </File> <File Include="bin/Dapper.dll"> <publishTime>07/22/2016 22:52:40</publishTime> @@ -73,12 +46,12 @@ <File Include="bin/DBUtility.dll"> <publishTime>11/02/2022 22:02:56</publishTime> <publishTime>11/15/2022 13:55:23</publishTime> - <publishTime>07/03/2024 15:33:27</publishTime> + <publishTime>07/04/2024 15:50:37</publishTime> </File> <File Include="bin/DBUtility.pdb"> <publishTime>11/09/2022 16:01:58</publishTime> <publishTime>11/02/2022 22:02:56</publishTime> - <publishTime>07/03/2024 15:33:27</publishTime> + <publishTime>07/04/2024 15:50:37</publishTime> </File> <File Include="bin/Grpc.Core.Api.dll"> <publishTime>03/22/2022 13:17:26</publishTime> @@ -108,7 +81,7 @@ <publishTime>08/25/2021 10:28:25</publishTime> </File> <File Include="bin/Kingdee.BOS.WebApi.Client.dll"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:44</publishTime> </File> <File Include="bin/Kingdee.BOS.WebApi.FormService.dll"> <publishTime>09/20/2018 19:23:20</publishTime> @@ -134,15 +107,15 @@ <File Include="bin/Model.dll"> <publishTime>11/09/2022 16:02:01</publishTime> <publishTime>11/02/2022 22:02:56</publishTime> - <publishTime>07/03/2024 15:33:28</publishTime> + <publishTime>07/04/2024 15:50:37</publishTime> </File> <File Include="bin/Model.pdb"> <publishTime>11/09/2022 16:02:01</publishTime> <publishTime>11/02/2022 22:02:56</publishTime> - <publishTime>07/03/2024 15:33:28</publishTime> + <publishTime>07/04/2024 15:50:37</publishTime> </File> <File Include="bin/Models/ClsSc_MouldScrapOutBillMain.cs"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:45</publishTime> </File> <File Include="bin/Newtonsoft.Json.dll"> <publishTime>09/07/2014 18:39:38</publishTime> @@ -174,33 +147,33 @@ <File Include="bin/Pub_Class.dll"> <publishTime>11/09/2022 16:01:56</publishTime> <publishTime>11/02/2022 22:02:54</publishTime> - <publishTime>07/03/2024 15:33:26</publishTime> + <publishTime>07/04/2024 15:50:35</publishTime> </File> <File Include="bin/Pub_Class.pdb"> <publishTime>11/09/2022 16:01:56</publishTime> <publishTime>11/02/2022 22:02:54</publishTime> - <publishTime>07/03/2024 15:33:26</publishTime> + <publishTime>07/04/2024 15:50:35</publishTime> </File> <File Include="bin/Pub_Control.dll"> <publishTime>11/09/2022 16:01:57</publishTime> <publishTime>11/02/2022 22:02:55</publishTime> - <publishTime>07/03/2024 15:33:26</publishTime> + <publishTime>07/04/2024 15:50:36</publishTime> </File> <File Include="bin/Pub_Control.pdb"> <publishTime>11/09/2022 16:01:57</publishTime> <publishTime>11/02/2022 22:02:55</publishTime> - <publishTime>07/03/2024 15:33:26</publishTime> + <publishTime>07/04/2024 15:50:36</publishTime> </File> <File Include="bin/RestSharp.dll"> <publishTime>08/31/2012 06:22:50</publishTime> </File> <File Include="bin/SQLHelper.dll"> - <publishTime>07/03/2024 15:33:27</publishTime> + <publishTime>07/04/2024 15:50:36</publishTime> </File> <File Include="bin/SQLHelper.pdb"> <publishTime>11/09/2022 16:01:57</publishTime> <publishTime>11/02/2022 22:02:55</publishTime> - <publishTime>07/03/2024 15:33:27</publishTime> + <publishTime>07/04/2024 15:50:36</publishTime> </File> <File Include="bin/stdole.dll"> <publishTime>05/09/2021 13:35:37</publishTime> @@ -241,14 +214,8 @@ <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> @@ -284,7 +251,7 @@ <publishTime>11/28/2018 21:01:00</publishTime> </File> <File Include="bin/System.Web.Http.WebHost.dll"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:45</publishTime> </File> <File Include="bin/System.Web.Mvc.dll"> <publishTime>01/28/2015 12:02:18</publishTime> @@ -313,16 +280,13 @@ <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>11/14/2022 11:23:59</publishTime> <publishTime>11/02/2022 22:03:04</publishTime> - <publishTime>07/03/2024 15:33:40</publishTime> + <publishTime>07/04/2024 15:50:49</publishTime> </File> <File Include="bin/WebAPI.dll.config"> <publishTime>12/15/2021 17:59:43</publishTime> @@ -330,7 +294,7 @@ <File Include="bin/WebAPI.pdb"> <publishTime>11/14/2022 11:23:59</publishTime> <publishTime>11/02/2022 22:03:04</publishTime> - <publishTime>07/03/2024 15:33:40</publishTime> + <publishTime>07/04/2024 15:50:49</publishTime> </File> <File Include="bin/WebGrease.dll"> <publishTime>07/18/2013 01:03:52</publishTime> @@ -342,58 +306,58 @@ <publishTime>11/29/2018 21:26:30</publishTime> </File> <File Include="Config/kdapi.config"> - <publishTime>04/06/2023 15:57:01</publishTime> + <publishTime>04/15/2024 12:55:43</publishTime> </File> <File Include="Content/bootstrap.css"> - <publishTime>04/06/2023 15:57:01</publishTime> + <publishTime>04/15/2024 12:55:43</publishTime> </File> <File Include="Content/bootstrap.min.css"> - <publishTime>04/06/2023 15:57:01</publishTime> + <publishTime>04/15/2024 12:55:43</publishTime> </File> <File Include="Content/Site.css"> - <publishTime>04/06/2023 15:57:01</publishTime> + <publishTime>04/15/2024 12:55:43</publishTime> </File> <File Include="DLL/BLL.dll"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:44</publishTime> </File> <File Include="DLL/DAL.dll"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:44</publishTime> </File> <File Include="DLL/DBUtility.dll"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:44</publishTime> </File> <File Include="DLL/Kingdee.BOS.WebApi.Client.dll"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:44</publishTime> </File> <File Include="DLL/Model.dll"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:44</publishTime> </File> <File Include="DLL/Newtonsoft.Json.Net35.dll"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:44</publishTime> </File> <File Include="DLL/Pub_Class.dll"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:45</publishTime> </File> <File Include="DLL/Pub_Control.dll"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:45</publishTime> </File> <File Include="DLL/SQLHelper.dll"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:45</publishTime> </File> <File Include="fonts/glyphicons-halflings-regular.eot"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:47</publishTime> </File> <File Include="fonts/glyphicons-halflings-regular.svg"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:47</publishTime> </File> <File Include="fonts/glyphicons-halflings-regular.ttf"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:47</publishTime> </File> <File Include="fonts/glyphicons-halflings-regular.woff"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:47</publishTime> </File> <File Include="Global.asax"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:45</publishTime> </File> <File Include="grpc_csharp_ext.x64.dll"> <publishTime>03/22/2022 13:17:22</publishTime> @@ -402,7 +366,7 @@ <publishTime>03/22/2022 13:17:22</publishTime> </File> <File Include="Index.html"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:45</publishTime> </File> <File Include="libgrpc_csharp_ext.x64.dylib"> <publishTime>03/19/2022 07:38:44</publishTime> @@ -411,121 +375,121 @@ <publishTime>03/19/2022 07:38:42</publishTime> </File> <File Include="libman.json"> - <publishTime>07/12/2023 08:14:21</publishTime> + <publishTime>04/15/2024 12:55:47</publishTime> </File> <File Include="Metadata/deploymentTemplates/apiappconfig.azureresource.json"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:45</publishTime> </File> <File Include="packages.config"> - <publishTime>06/25/2024 13:29:13</publishTime> + <publishTime>06/25/2024 12:46:38</publishTime> </File> <File Include="Views/Scripts/bootstrap.js"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Views/Scripts/bootstrap.min.js"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Views/Scripts/jquery-1.10.2.js"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Views/Scripts/jquery-1.10.2.min.js"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Views/Scripts/jquery-1.10.2.min.map"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Views/Scripts/jquery.validate.js"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Views/Scripts/jquery.validate.min.js"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Views/Scripts/jquery.validate.unobtrusive.js"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Views/Scripts/jquery.validate.unobtrusive.min.js"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Views/Scripts/modernizr-2.6.2.js"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Views/Shared/Error.cshtml"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Views/Shared/_Layout.cshtml"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Views/web.config"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Views/_ViewStart.cshtml"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Web References/WebS/ClsCLD_Customer_Model.datasource"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Web References/WebS/ClsCLD_Department_Model.datasource"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Web References/WebS/ClsCLD_Employee_Model.datasource"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Web References/WebS/ClsCLD_StockPlace_Model.datasource"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Web References/WebS/ClsCLD_Supplier_Model.datasource"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Web References/WebS/ClsCLD_Warehouse_Model.datasource"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Web References/WebS/ClsGy_BadReason_Model.datasource"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Web References/WebS/ClsGy_BarCodeBill_WMS_Model.datasource"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Web References/WebS/ClsGy_BarCodeBill_WMS_Model_View.datasource"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Web References/WebS/ClsGy_Customer_Model.datasource"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Web References/WebS/ClsGy_Department_Model.datasource"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Web References/WebS/ClsGy_Employee_Model.datasource"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Web References/WebS/ClsGy_Group_Model.datasource"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Web References/WebS/ClsGy_Item30JiTai_Model.datasource"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Web References/WebS/ClsGy_Source_Model.datasource"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Web References/WebS/ClsGy_StockPlace_Model.datasource"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Web References/WebS/ClsGy_Supplier_Model.datasource"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Web References/WebS/ClsGy_Warehouse_Model.datasource"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Web References/WebS/ClsKf_ICStockBill_Mould.datasource"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Web References/WebS/ClsKf_ICStockBill_WMS.datasource"> - <publishTime>04/06/2023 15:57:02</publishTime> + <publishTime>04/15/2024 12:55:46</publishTime> </File> <File Include="Web References/WebS/Reference.cs"> <publishTime>12/20/2021 13:19:56</publishTime> </File> <File Include="Web References/WebS/Reference.map"> - <publishTime>05/06/2024 13:47:57</publishTime> + <publishTime>04/29/2024 08:30:03</publishTime> </File> <File Include="Web References/WebS/WebService1.disco"> <publishTime>12/20/2021 13:19:56</publishTime> @@ -539,7 +503,7 @@ <File Include="Web.config"> <publishTime>11/14/2022 11:24:08</publishTime> <publishTime>11/02/2022 22:03:20</publishTime> - <publishTime>07/03/2024 15:34:29</publishTime> + <publishTime>07/04/2024 15:51:47</publishTime> </File> </ItemGroup> </Project> \ No newline at end of file diff --git a/WebAPI/Properties/PublishProfiles/FolderProfile12.pubxml.user b/WebAPI/Properties/PublishProfiles/FolderProfile12.pubxml.user index a5b0053..977ef42 100644 --- a/WebAPI/Properties/PublishProfiles/FolderProfile12.pubxml.user +++ b/WebAPI/Properties/PublishProfiles/FolderProfile12.pubxml.user @@ -4,7 +4,7 @@ --> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> - <History>True|2024-06-25T04:30:32.4272933Z;True|2024-06-25T09:53:35.8089888+08:00;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> + <History>True|2024-06-25T04:33:00.3560503Z;True|2024-06-25T12:30:32.4272933+08:00;True|2024-06-25T09:53:35.8089888+08:00;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> @@ -45,28 +45,28 @@ <publishTime>02/22/2013 16:43:40</publishTime> </File> <File Include="bin/BLL.dll"> - <publishTime>06/25/2024 12:30:16</publishTime> + <publishTime>06/25/2024 12:32:51</publishTime> </File> <File Include="bin/BLL.pdb"> - <publishTime>06/25/2024 12:30:16</publishTime> + <publishTime>06/25/2024 12:32:51</publishTime> </File> <File Include="bin/BouncyCastle.Crypto.dll"> <publishTime>12/18/2020 05:32:28</publishTime> </File> <File Include="bin/DAL.dll"> - <publishTime>06/25/2024 12:30:15</publishTime> + <publishTime>06/25/2024 12:32:50</publishTime> </File> <File Include="bin/DAL.pdb"> - <publishTime>06/25/2024 12:30:15</publishTime> + <publishTime>06/25/2024 12:32:50</publishTime> </File> <File Include="bin/Dapper.dll"> <publishTime>07/22/2016 22:52:40</publishTime> </File> <File Include="bin/DBUtility.dll"> - <publishTime>06/25/2024 12:30:13</publishTime> + <publishTime>06/25/2024 12:32:48</publishTime> </File> <File Include="bin/DBUtility.pdb"> - <publishTime>06/25/2024 12:30:13</publishTime> + <publishTime>06/25/2024 12:32:48</publishTime> </File> <File Include="bin/Grpc.Core.Api.dll"> <publishTime>03/22/2022 13:17:26</publishTime> @@ -111,10 +111,10 @@ <publishTime>07/25/2012 19:48:56</publishTime> </File> <File Include="bin/Model.dll"> - <publishTime>06/25/2024 12:30:13</publishTime> + <publishTime>06/25/2024 12:32:48</publishTime> </File> <File Include="bin/Model.pdb"> - <publishTime>06/25/2024 12:30:13</publishTime> + <publishTime>06/25/2024 12:32:48</publishTime> </File> <File Include="bin/Models/ClsSc_MouldScrapOutBillMain.cs"> <publishTime>05/25/2024 09:46:41</publishTime> @@ -147,25 +147,25 @@ <publishTime>10/23/2021 17:07:54</publishTime> </File> <File Include="bin/Pub_Class.dll"> - <publishTime>06/25/2024 12:30:11</publishTime> + <publishTime>06/25/2024 12:32:47</publishTime> </File> <File Include="bin/Pub_Class.pdb"> - <publishTime>06/25/2024 12:30:11</publishTime> + <publishTime>06/25/2024 12:32:47</publishTime> </File> <File Include="bin/Pub_Control.dll"> - <publishTime>06/25/2024 12:30:12</publishTime> + <publishTime>06/25/2024 12:32:47</publishTime> </File> <File Include="bin/Pub_Control.pdb"> - <publishTime>06/25/2024 12:30:12</publishTime> + <publishTime>06/25/2024 12:32:47</publishTime> </File> <File Include="bin/RestSharp.dll"> <publishTime>08/31/2012 06:22:50</publishTime> </File> <File Include="bin/SQLHelper.dll"> - <publishTime>06/25/2024 12:30:12</publishTime> + <publishTime>06/25/2024 12:32:47</publishTime> </File> <File Include="bin/SQLHelper.pdb"> - <publishTime>06/25/2024 12:30:12</publishTime> + <publishTime>06/25/2024 12:32:47</publishTime> </File> <File Include="bin/Swashbuckle.Core.dll"> <publishTime>02/16/2015 01:57:08</publishTime> @@ -282,10 +282,10 @@ <publishTime>11/24/2014 19:18:48</publishTime> </File> <File Include="bin/WebAPI.dll"> - <publishTime>06/25/2024 12:30:22</publishTime> + <publishTime>06/25/2024 12:32:55</publishTime> </File> <File Include="bin/WebAPI.pdb"> - <publishTime>06/25/2024 12:30:22</publishTime> + <publishTime>06/25/2024 12:32:55</publishTime> </File> <File Include="bin/WebGrease.dll"> <publishTime>07/18/2013 01:03:52</publishTime> @@ -480,7 +480,7 @@ <publishTime>05/25/2024 09:46:41</publishTime> </File> <File Include="Web.config"> - <publishTime>06/25/2024 12:30:31</publishTime> + <publishTime>06/25/2024 12:32:59</publishTime> </File> </ItemGroup> </Project> \ No newline at end of file diff --git a/WebAPI/Properties/PublishProfiles/FolderProfile13.pubxml b/WebAPI/Properties/PublishProfiles/FolderProfile13.pubxml new file mode 100644 index 0000000..cb89d73 --- /dev/null +++ b/WebAPI/Properties/PublishProfiles/FolderProfile13.pubxml @@ -0,0 +1,17 @@ +锘�<?xml version="1.0" encoding="utf-8"?> +<!-- +https://go.microsoft.com/fwlink/?LinkID=208121. +--> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <DeleteExistingFiles>True</DeleteExistingFiles> + <ExcludeApp_Data>False</ExcludeApp_Data> + <LaunchSiteAfterPublish>True</LaunchSiteAfterPublish> + <LastUsedBuildConfiguration>Debug</LastUsedBuildConfiguration> + <LastUsedPlatform>Any CPU</LastUsedPlatform> + <PublishProvider>FileSystem</PublishProvider> + <PublishUrl>D:\缃戠珯鍙戝竷\鏅轰簯MESWMS\API</PublishUrl> + <WebPublishMethod>FileSystem</WebPublishMethod> + <SiteUrlToLaunchAfterPublish /> + </PropertyGroup> +</Project> \ No newline at end of file diff --git a/WebAPI/Properties/PublishProfiles/FolderProfile13.pubxml.user b/WebAPI/Properties/PublishProfiles/FolderProfile13.pubxml.user new file mode 100644 index 0000000..13db681 --- /dev/null +++ b/WebAPI/Properties/PublishProfiles/FolderProfile13.pubxml.user @@ -0,0 +1,459 @@ +锘�<?xml version="1.0" encoding="utf-8"?> +<!-- +https://go.microsoft.com/fwlink/?LinkID=208121. +--> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <_PublishTargetUrl>D:\缃戠珯鍙戝竷\鏅轰簯MESWMS\API</_PublishTargetUrl> + <History>True|2024-07-04T07:54:07.5079800Z;True|2024-07-04T15:29:18.5601220+08:00;True|2024-07-04T15:13:03.0520363+08:00;True|2024-07-04T15:11:48.2967597+08:00;True|2024-07-04T15:03:40.2339623+08:00;True|2024-07-04T14:57:52.6819091+08:00;True|2024-07-04T14:56:34.4857369+08:00;True|2024-07-03T23:16:51.6607473+08:00;True|2024-07-02T17:25:00.7598414+08:00;True|2024-07-02T16:28:16.3173719+08:00;True|2024-07-02T15:30:13.0080212+08:00;True|2024-07-02T15:24:33.5742376+08:00;True|2024-07-02T15:20:38.4269558+08:00;True|2024-07-02T15:17:35.2560555+08:00;True|2024-07-02T15:04:07.6778856+08:00;True|2024-07-02T14:52:23.2500105+08:00;True|2024-07-02T14:44:10.5580566+08:00;True|2024-07-02T09:10:05.9974988+08:00;True|2024-07-02T08:52:20.9683250+08:00;True|2024-07-01T15:34:19.0810024+08:00;True|2024-07-01T15:29:41.8587401+08:00;True|2024-07-01T15:06:46.7127992+08:00;True|2024-07-01T14:45:31.0703303+08:00;True|2024-07-01T14:13:18.0986061+08:00;True|2024-07-01T14:11:15.8643251+08:00;True|2024-07-01T13:29:59.6069813+08:00;True|2024-07-01T11:12:59.9147877+08:00;True|2024-07-01T10:22:37.9929084+08:00;True|2024-07-01T10:20:59.0844221+08:00;True|2024-07-01T10:17:38.9582335+08:00;True|2024-07-01T10:09:18.2084318+08:00;True|2024-07-01T10:08:49.4427785+08:00;True|2024-07-01T10:05:38.5373813+08:00;True|2024-07-01T09:47:53.4738455+08:00;</History> + </PropertyGroup> + <ItemGroup> + <File Include="apiapp.json"> + <publishTime>05/25/2024 09:46:41</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> + </File> + <File Include="bin/Antlr3.Runtime.pdb"> + <publishTime>02/22/2013 16:43:40</publishTime> + </File> + <File Include="bin/BLL.dll"> + <publishTime>07/04/2024 15:53:55</publishTime> + </File> + <File Include="bin/BLL.pdb"> + <publishTime>07/04/2024 15:53:55</publishTime> + </File> + <File Include="bin/BouncyCastle.Crypto.dll"> + <publishTime>12/18/2020 05:32:28</publishTime> + </File> + <File Include="bin/DAL.dll"> + <publishTime>07/04/2024 15:53:53</publishTime> + </File> + <File Include="bin/DAL.pdb"> + <publishTime>07/04/2024 15:53:53</publishTime> + </File> + <File Include="bin/Dapper.dll"> + <publishTime>07/22/2016 22:52:40</publishTime> + </File> + <File Include="bin/DBUtility.dll"> + <publishTime>07/04/2024 15:53:51</publishTime> + </File> + <File Include="bin/DBUtility.pdb"> + <publishTime>07/04/2024 15:53:51</publishTime> + </File> + <File Include="bin/Grpc.Core.Api.dll"> + <publishTime>03/22/2022 13:17:26</publishTime> + </File> + <File Include="bin/Grpc.Core.Api.pdb"> + <publishTime>03/19/2022 07:39:42</publishTime> + </File> + <File Include="bin/Grpc.Core.dll"> + <publishTime>03/22/2022 13:17:20</publishTime> + </File> + <File Include="bin/Grpc.Core.pdb"> + <publishTime>03/19/2022 07:39:48</publishTime> + </File> + <File Include="bin/grpc_csharp_ext.x64.dll"> + <publishTime>03/22/2022 13:17:22</publishTime> + </File> + <File Include="bin/grpc_csharp_ext.x86.dll"> + <publishTime>03/22/2022 13:17:22</publishTime> + </File> + <File Include="bin/ICSharpCode.SharpZipLib.dll"> + <publishTime>05/09/2021 01:08:30</publishTime> + </File> + <File Include="bin/ICSharpCode.SharpZipLib.pdb"> + <publishTime>05/09/2021 01:08:30</publishTime> + </File> + <File Include="bin/Kingdee.BOS.WebApi.Client.dll"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="bin/libgrpc_csharp_ext.x64.dylib"> + <publishTime>03/19/2022 07:38:44</publishTime> + </File> + <File Include="bin/libgrpc_csharp_ext.x64.so"> + <publishTime>03/19/2022 07:38:42</publishTime> + </File> + <File Include="bin/Microsoft.Azure.AppService.ApiApps.Service.dll"> + <publishTime>03/19/2015 01:02:50</publishTime> + </File> + <File Include="bin/Microsoft.CSharp.dll"> + <publishTime>09/26/2012 03:16:08</publishTime> + </File> + <File Include="bin/Microsoft.Web.Infrastructure.dll"> + <publishTime>07/25/2012 19:48:56</publishTime> + </File> + <File Include="bin/Model.dll"> + <publishTime>07/04/2024 15:53:51</publishTime> + </File> + <File Include="bin/Model.pdb"> + <publishTime>07/04/2024 15:53:51</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>09/07/2014 18:39:38</publishTime> + </File> + <File Include="bin/NPOI.dll"> + <publishTime>10/23/2021 09:07:54</publishTime> + </File> + <File Include="bin/NPOI.OOXML.dll"> + <publishTime>10/23/2021 09:07:56</publishTime> + </File> + <File Include="bin/NPOI.OOXML.pdb"> + <publishTime>10/23/2021 17:07:56</publishTime> + </File> + <File Include="bin/NPOI.OpenXml4Net.dll"> + <publishTime>10/23/2021 09:07:54</publishTime> + </File> + <File Include="bin/NPOI.OpenXml4Net.pdb"> + <publishTime>10/23/2021 17:07:54</publishTime> + </File> + <File Include="bin/NPOI.OpenXmlFormats.dll"> + <publishTime>10/23/2021 09:07:54</publishTime> + </File> + <File Include="bin/NPOI.OpenXmlFormats.pdb"> + <publishTime>10/23/2021 17:07:54</publishTime> + </File> + <File Include="bin/NPOI.pdb"> + <publishTime>10/23/2021 17:07:54</publishTime> + </File> + <File Include="bin/Pub_Class.dll"> + <publishTime>07/04/2024 15:53:49</publishTime> + </File> + <File Include="bin/Pub_Class.pdb"> + <publishTime>07/04/2024 15:53:49</publishTime> + </File> + <File Include="bin/Pub_Control.dll"> + <publishTime>07/04/2024 15:53:50</publishTime> + </File> + <File Include="bin/Pub_Control.pdb"> + <publishTime>07/04/2024 15:53:50</publishTime> + </File> + <File Include="bin/RestSharp.dll"> + <publishTime>08/31/2012 06:22:50</publishTime> + </File> + <File Include="bin/SQLHelper.dll"> + <publishTime>07/04/2024 15:53:50</publishTime> + </File> + <File Include="bin/SQLHelper.pdb"> + <publishTime>07/04/2024 15:53:50</publishTime> + </File> + <File Include="bin/Swashbuckle.Core.dll"> + <publishTime>02/16/2015 01:57:08</publishTime> + </File> + <File Include="bin/System.Buffers.dll"> + <publishTime>07/19/2017 18:01:28</publishTime> + </File> + <File Include="bin/System.ComponentModel.DataAnnotations.dll"> + <publishTime>09/26/2012 03:16:08</publishTime> + </File> + <File Include="bin/System.Configuration.dll"> + <publishTime>09/26/2012 03:16:08</publishTime> + </File> + <File Include="bin/System.Data.DataSetExtensions.dll"> + <publishTime>09/26/2012 03:16:08</publishTime> + </File> + <File Include="bin/System.Data.dll"> + <publishTime>09/26/2012 03:16:08</publishTime> + </File> + <File Include="bin/System.dll"> + <publishTime>09/26/2012 03:16:08</publishTime> + </File> + <File Include="bin/System.Drawing.dll"> + <publishTime>09/26/2012 03:16:08</publishTime> + </File> + <File Include="bin/System.EnterpriseServices.dll"> + <publishTime>09/26/2012 03:16:08</publishTime> + </File> + <File Include="bin/System.IdentityModel.Tokens.Jwt.dll"> + <publishTime>08/19/2014 18:03:34</publishTime> + </File> + <File Include="bin/System.Memory.dll"> + <publishTime>04/18/2019 00:24:34</publishTime> + </File> + <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> + <File Include="bin/System.Runtime.Serialization.dll"> + <publishTime>09/26/2012 03:16:08</publishTime> + </File> + <File Include="bin/System.Web.ApplicationServices.dll"> + <publishTime>09/26/2012 03:16:08</publishTime> + </File> + <File Include="bin/System.Web.Cors.dll"> + <publishTime>11/28/2018 20:58:44</publishTime> + </File> + <File Include="bin/System.Web.dll"> + <publishTime>09/26/2012 03:16:08</publishTime> + </File> + <File Include="bin/System.Web.DynamicData.dll"> + <publishTime>09/26/2012 03:16:08</publishTime> + </File> + <File Include="bin/System.Web.Entity.dll"> + <publishTime>09/26/2012 03:16:08</publishTime> + </File> + <File Include="bin/System.Web.Extensions.dll"> + <publishTime>09/26/2012 03:16:08</publishTime> + </File> + <File Include="bin/System.Web.Helpers.dll"> + <publishTime>01/28/2015 12:04:30</publishTime> + </File> + <File Include="bin/System.Web.Http.Cors.dll"> + <publishTime>11/28/2018 21:01:26</publishTime> + </File> + <File Include="bin/System.Web.Http.dll"> + <publishTime>11/28/2018 21:01:00</publishTime> + </File> + <File Include="bin/System.Web.Http.WebHost.dll"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="bin/System.Web.Mvc.dll"> + <publishTime>01/28/2015 12:02:18</publishTime> + </File> + <File Include="bin/System.Web.Optimization.dll"> + <publishTime>02/11/2014 23:26:04</publishTime> + </File> + <File Include="bin/System.Web.Razor.dll"> + <publishTime>01/28/2015 12:02:32</publishTime> + </File> + <File Include="bin/System.Web.Services.dll"> + <publishTime>09/26/2012 03:16:08</publishTime> + </File> + <File Include="bin/System.Web.WebPages.Deployment.dll"> + <publishTime>01/28/2015 12:04:30</publishTime> + </File> + <File Include="bin/System.Web.WebPages.dll"> + <publishTime>01/28/2015 12:04:30</publishTime> + </File> + <File Include="bin/System.Web.WebPages.Razor.dll"> + <publishTime>01/28/2015 12:04:30</publishTime> + </File> + <File Include="bin/System.Xml.dll"> + <publishTime>09/26/2012 03:16:08</publishTime> + </File> + <File Include="bin/System.Xml.Linq.dll"> + <publishTime>09/26/2012 03:16:08</publishTime> + </File> + <File Include="bin/WebActivatorEx.dll"> + <publishTime>11/24/2014 19:18:48</publishTime> + </File> + <File Include="bin/WebAPI.dll"> + <publishTime>07/04/2024 15:54:00</publishTime> + </File> + <File Include="bin/WebAPI.pdb"> + <publishTime>07/04/2024 15:54:00</publishTime> + </File> + <File Include="bin/WebGrease.dll"> + <publishTime>07/18/2013 01:03:52</publishTime> + </File> + <File Include="bin/zh-Hans/System.Net.Http.Formatting.resources.dll"> + <publishTime>11/29/2018 21:26:02</publishTime> + </File> + <File Include="bin/zh-Hans/System.Web.Http.resources.dll"> + <publishTime>11/29/2018 21:26:30</publishTime> + </File> + <File Include="Config/kdapi.config"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Content/bootstrap.css"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Content/bootstrap.min.css"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Content/Site.css"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="DLL/BLL.dll"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="DLL/DAL.dll"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="DLL/DBUtility.dll"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="DLL/Kingdee.BOS.WebApi.Client.dll"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="DLL/Model.dll"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="DLL/Newtonsoft.Json.Net35.dll"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="DLL/Pub_Class.dll"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="DLL/Pub_Control.dll"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="DLL/SQLHelper.dll"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="fonts/glyphicons-halflings-regular.eot"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="fonts/glyphicons-halflings-regular.svg"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="fonts/glyphicons-halflings-regular.ttf"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="fonts/glyphicons-halflings-regular.woff"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Global.asax"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="grpc_csharp_ext.x64.dll"> + <publishTime>03/22/2022 13:17:22</publishTime> + </File> + <File Include="grpc_csharp_ext.x86.dll"> + <publishTime>03/22/2022 13:17:22</publishTime> + </File> + <File Include="Index.html"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="libgrpc_csharp_ext.x64.dylib"> + <publishTime>03/19/2022 07:38:44</publishTime> + </File> + <File Include="libgrpc_csharp_ext.x64.so"> + <publishTime>03/19/2022 07:38:42</publishTime> + </File> + <File Include="libman.json"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Metadata/deploymentTemplates/apiappconfig.azureresource.json"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="packages.config"> + <publishTime>06/25/2024 09:50:21</publishTime> + </File> + <File Include="Views/Scripts/bootstrap.js"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Views/Scripts/bootstrap.min.js"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Views/Scripts/jquery-1.10.2.js"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Views/Scripts/jquery-1.10.2.min.js"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Views/Scripts/jquery-1.10.2.min.map"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Views/Scripts/jquery.validate.js"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Views/Scripts/jquery.validate.min.js"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Views/Scripts/jquery.validate.unobtrusive.js"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Views/Scripts/jquery.validate.unobtrusive.min.js"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Views/Scripts/modernizr-2.6.2.js"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Views/Shared/Error.cshtml"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Views/Shared/_Layout.cshtml"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Views/web.config"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Views/_ViewStart.cshtml"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web References/WebS/ClsCLD_Customer_Model.datasource"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web References/WebS/ClsCLD_Department_Model.datasource"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web References/WebS/ClsCLD_Employee_Model.datasource"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web References/WebS/ClsCLD_StockPlace_Model.datasource"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web References/WebS/ClsCLD_Supplier_Model.datasource"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web References/WebS/ClsCLD_Warehouse_Model.datasource"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web References/WebS/ClsGy_BadReason_Model.datasource"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web References/WebS/ClsGy_BarCodeBill_WMS_Model.datasource"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web References/WebS/ClsGy_BarCodeBill_WMS_Model_View.datasource"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web References/WebS/ClsGy_Customer_Model.datasource"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web References/WebS/ClsGy_Department_Model.datasource"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web References/WebS/ClsGy_Employee_Model.datasource"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web References/WebS/ClsGy_Group_Model.datasource"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web References/WebS/ClsGy_Item30JiTai_Model.datasource"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web References/WebS/ClsGy_Source_Model.datasource"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web References/WebS/ClsGy_StockPlace_Model.datasource"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web References/WebS/ClsGy_Supplier_Model.datasource"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web References/WebS/ClsGy_Warehouse_Model.datasource"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web References/WebS/ClsKf_ICStockBill_Mould.datasource"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web References/WebS/ClsKf_ICStockBill_WMS.datasource"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web References/WebS/Reference.map"> + <publishTime>05/25/2024 09:46:41</publishTime> + </File> + <File Include="Web.config"> + <publishTime>07/04/2024 15:54:06</publishTime> + </File> + </ItemGroup> +</Project> \ No newline at end of file diff --git a/WebAPI/Web.config b/WebAPI/Web.config index 6ef8bf3..9a55b72 100644 --- a/WebAPI/Web.config +++ b/WebAPI/Web.config @@ -8,10 +8,10 @@ - <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" /> @@ -32,17 +32,13 @@ <!--<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" /> @@ -57,7 +53,7 @@ </system.Web> --> <system.web> - <customErrors mode="Off" /> + <customErrors mode="Off"/> <compilation debug="true" targetFramework="4.5" /> <httpRuntime maxQueryStringLength="102400" /> <pages controlRenderingCompatibilityVersion="4.0" /> @@ -92,8 +88,8 @@ <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> @@ -110,15 +106,17 @@ </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> \ No newline at end of file diff --git a/WebAPI/WebAPI.csproj b/WebAPI/WebAPI.csproj index 889f322..dbc4db2 100644 --- a/WebAPI/WebAPI.csproj +++ b/WebAPI/WebAPI.csproj @@ -746,8 +746,12 @@ <Compile Include="HttpClient.cs" /> <Compile Include="InvokeHelper.cs" /> <Compile Include="Log.cs" /> + <Compile Include="Models\ClsGy_MouldFileBillSub_DotCheckRule.cs" /> + <Compile Include="Models\ClsGy_MouldFileBillSub_MaintainRule.cs" /> <Compile Include="Models\ClsGy_MateMould.cs" /> <Compile Include="Models\ClsGy_SupMaterial.cs" /> + <Compile Include="Models\ClsGy_EquipFileBillSub_DotCheckRule.cs" /> + <Compile Include="Models\ClsGy_EquipFileBillSub_MaintainRule.cs" /> <Compile Include="Models\ClsSc_AssemblyBillMain.cs" /> <Compile Include="Models\ClsSc_AssemblyBillSub.cs" /> <Compile Include="Models\Gy_MouldFileSub_SubMater.cs" /> @@ -1236,17 +1240,17 @@ </VisualStudio> </ProjectExtensions> <Import Project="..\packages\Grpc.Core.2.45.0\build\net45\Grpc.Core.targets" Condition="Exists('..\packages\Grpc.Core.2.45.0\build\net45\Grpc.Core.targets')" /> - <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> + <!--<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> <PropertyGroup> <ErrorText>杩欏彴璁$畻鏈轰笂缂哄皯姝ら」鐩紩鐢ㄧ殑 NuGet 绋嬪簭鍖呫�備娇鐢ㄢ�淣uGet 绋嬪簭鍖呰繕鍘熲�濆彲涓嬭浇杩欎簺绋嬪簭鍖呫�傛湁鍏虫洿澶氫俊鎭紝璇峰弬瑙� http://go.microsoft.com/fwlink/?LinkID=322105銆傜己灏戠殑鏂囦欢鏄� {0}銆�</ErrorText> </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> + </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)' == ''"> + <!--<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> + </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"> diff --git a/WebAPI/WebAPI.csproj.user b/WebAPI/WebAPI.csproj.user index 88fad74..048da48 100644 --- a/WebAPI/WebAPI.csproj.user +++ b/WebAPI/WebAPI.csproj.user @@ -9,7 +9,7 @@ <WebStackScaffolding_IsAsyncSelected>False</WebStackScaffolding_IsAsyncSelected> <NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile> <NameOfLastUsedPublishProfile>D:\Git\houduan\WebAPI\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile> - <NameOfLastUsedPublishProfile>D:\缃戠珯鍙戝竷\鍚庣浠g爜\MES-WEB-API\MES-WEB-API\WebAPI\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile> + <NameOfLastUsedPublishProfile>C:\Users\86130\Desktop\鏅轰簯杩堟�漒MES-WEB-API\WebAPI\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile> <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig> <UseIISExpress>true</UseIISExpress> <Use64BitIISExpress /> @@ -26,8 +26,9 @@ <VisualStudio> <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}"> <WebProjectProperties> - <StartPageUrl>Index.html</StartPageUrl> - <StartAction>SpecificPage</StartAction> + <StartPageUrl> + </StartPageUrl> + <StartAction>CurrentPage</StartAction> <AspNetDebugging>True</AspNetDebugging> <SilverlightDebugging>False</SilverlightDebugging> <NativeDebugging>False</NativeDebugging> @@ -41,7 +42,7 @@ <StartWorkingDirectory> </StartWorkingDirectory> <EnableENC>True</EnableENC> - <AlwaysStartWebServerOnDebug>True</AlwaysStartWebServerOnDebug> + <AlwaysStartWebServerOnDebug>False</AlwaysStartWebServerOnDebug> </WebProjectProperties> </FlavorProperties> </VisualStudio> -- Gitblit v1.9.1