From 1fec2f9ed5f7a8b1c4a6feddc585dba88ed6b3c9 Mon Sep 17 00:00:00 2001 From: 沈泽 <211959439@qq.com> Date: 星期五, 19 十一月 2021 08:22:12 +0800 Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API --- DBUtility/基础资料/ClsGy_Base_Model.cs | 2 LMES/ClsShowMod.cs | 7 WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user | 34 +- WebAPI/Controllers/WebAPIController.cs | 14 Model/基础资料/基础资料/ClsGy_ConkReason_Model.cs | 10 WebAPI/ListModels.cs | 12 WebAPI/Controllers/SBGL/Sb_EquipMaintainRuleBillController.cs | 175 +++++++++++ WebAPI/Models/ClsSb_EquipDotCheckRuleBillMain.cs | 17 + WebAPI/Controllers/SBGL/Sb_EquipDotCheckRuleBillController.cs | 185 ++++++++++++ WebAPI/DLL/ClsSb_EquipMaintainRuleBill.cs | 37 ++ WebAPI/Models/ClsSb_EquipDotCheckRuleBillSub.cs | 16 + WebAPI/Models/ClsSb_EquipMaintainRuleBillSub_Item.cs | 18 + WebAPI/DLL/ClsSb_EquipDotCheckRuleBill.cs | 25 + WebAPI/Models/ClsSb_EquipMaintainRuleBillMain.cs | 15 + WebAPI/WebAPI.csproj | 10 WebAPI/Controllers/基础资料/基础资料/Gy_ConkReasonBillController.cs | 256 +++++++++++++++++ WebAPI/Models/ClsSb_EquipMaintainRuleBillSub.cs | 17 + 17 files changed, 821 insertions(+), 29 deletions(-) diff --git "a/DBUtility/\345\237\272\347\241\200\350\265\204\346\226\231/ClsGy_Base_Model.cs" "b/DBUtility/\345\237\272\347\241\200\350\265\204\346\226\231/ClsGy_Base_Model.cs" index ee9b050..0e84930 100644 --- "a/DBUtility/\345\237\272\347\241\200\350\265\204\346\226\231/ClsGy_Base_Model.cs" +++ "b/DBUtility/\345\237\272\347\241\200\350\265\204\346\226\231/ClsGy_Base_Model.cs" @@ -15,7 +15,7 @@ public bool HStopflag; public string HRemark; public long HLevel; - public long HParentID; + public long HParentID=0; public string HModel; public long HUnitID; public string HUnitNumber; diff --git a/LMES/ClsShowMod.cs b/LMES/ClsShowMod.cs index 8bb07b8..8be3bc3 100644 --- a/LMES/ClsShowMod.cs +++ b/LMES/ClsShowMod.cs @@ -5217,6 +5217,13 @@ oSc_ProdWIPTotalReport.Show(); oMainForm.AddTabPage(oSc_ProdWIPTotalReport); break; + case "mes_wipprocreport_wip": + MES_WIPProcReport_WIP oMES_WIPProcReport_WIP = new MES_WIPProcReport_WIP(); + oMES_WIPProcReport_WIP.MdiParent = oMain; + oMES_WIPProcReport_WIP.ModCaption = gnmc; + oMES_WIPProcReport_WIP.Show(); + oMainForm.AddTabPage(oMES_WIPProcReport_WIP); + break; case "mes_wipprocreport": MES_WIPProcReport oMES_WIPProcReport = new MES_WIPProcReport(); oMES_WIPProcReport.MdiParent = oMain; diff --git "a/Model/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/ClsGy_ConkReason_Model.cs" "b/Model/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/ClsGy_ConkReason_Model.cs" index 38e6e0a..319f784 100644 --- "a/Model/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/ClsGy_ConkReason_Model.cs" +++ "b/Model/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/ClsGy_ConkReason_Model.cs" @@ -8,5 +8,15 @@ { // public string HExplanation; //描述varchar(500) + public DateTime HMakeTime; + public string HMakeEmp; + public int HConkTypeID; + public string HCheckEmp; + public DateTime HCheckTime; + public string HModifyEmp; + public DateTime HModifyTime; + public string HStopEmp; + public DateTime HStopTime; + } } diff --git a/WebAPI/Controllers/SBGL/Sb_EquipDotCheckRuleBillController.cs b/WebAPI/Controllers/SBGL/Sb_EquipDotCheckRuleBillController.cs new file mode 100644 index 0000000..0f5157b --- /dev/null +++ b/WebAPI/Controllers/SBGL/Sb_EquipDotCheckRuleBillController.cs @@ -0,0 +1,185 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Data; +using System.Linq; +using System.Net; +using System.Net.Http; +using System.Web.Http; +using WebAPI.Models; + +namespace WebAPI.Controllers.SBGL +{ + public class Sb_EquipDotCheckRuleBillController : ApiController + { + private json objJsonResult = new json(); + public DataSet ds = new DataSet(); + public DBUtility.ClsPub.Enum_BillStatus BillStatus;//鍗曟嵁鐘舵�侊紙鏂板锛屼慨鏀癸紝娴忚锛屾洿鏂板崟浠凤紝鍙樻洿锛� + SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); + public DLL.ClsSb_EquipDotCheckRuleBill BillNew = new DLL.ClsSb_EquipDotCheckRuleBill(); //瀵瑰簲鍗曟嵁绫� + public DLL.ClsSb_EquipDotCheckRuleBill BillOld = new DLL.ClsSb_EquipDotCheckRuleBill(); //瀵瑰簲鍗曟嵁绫� + + + #region 璁惧鐐规瑙勭▼鍗曞垪琛� + [Route("Sb_EquipDotCheckRuleBill/GetEquipDotCheckRuleList")] + [HttpGet] + public object GetEquipDotCheckRuleList(string sWhere) + { + try + { + if (sWhere == null || sWhere.Equals("")) + { + ds = oCN.RunProcReturn("select * from h_v_Sb_EquipDotCheckRuleList " + sWhere + " order by hmainid desc", "h_v_Sb_EquipDotCheckRuleList"); + } + else + { + string sql1 = "select * from h_v_Sb_EquipDotCheckRuleList where 1 = 1"; + string sql = sql1 + sWhere + " order by hmainid desc"; + ds = oCN.RunProcReturn(sql, "h_v_Sb_EquipDotCheckRuleList"); + } + if (ds == null || ds.Tables[0].Rows.Count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "娌℃湁浣犺鎵剧殑璁板綍锛�"; + objJsonResult.data = null; + return objJsonResult; + } + else + { + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "杩斿洖璁板綍鎴愬姛锛�"; + objJsonResult.data = ds.Tables[0]; + return objJsonResult; + } + } + catch (Exception ex) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "娌℃湁杩斿洖浠讳綍璁板綍锛�" + ex.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + #endregion + + #region 璁惧鐐规瑙勭▼璁板綍鍒犻櫎鍔熻兘 + [Route("Sb_EquipDotCheckRuleBill/DeleteEquipDotCheckRuleBillList")] + [HttpGet] + public object DeleteEquipDotCheckRuleBillList(string HInterID) + { + Int64 lngBillKey = 0; + lngBillKey = DBUtility.ClsPub.isLong(HInterID); + if (lngBillKey == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁ID涓虹┖锛�"; + objJsonResult.data = null; + return objJsonResult; + } + DLL.ClsSb_EquipDotCheckRuleBill oBill = new DLL.ClsSb_EquipDotCheckRuleBill(); + if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) + { + if (oBill.omodel.HBillStatus > 1) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁褰撳墠澶勪簬涓嶈兘鍒犻櫎鐘舵��,涓嶈兘鍒犻櫎锛�"; + objJsonResult.data = null; + return objJsonResult; + } + if (oBill.omodel.HChecker != "") + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁宸茬粡瀹℃牳,涓嶈兘鍒犻櫎锛�"; + objJsonResult.data = null; + return objJsonResult; + } + + bool IsDete = oBill.DeleteBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + if (IsDete) + { + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = DBUtility.ClsPub.sExeReturnInfo; + objJsonResult.data = null; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = DBUtility.ClsPub.sExeReturnInfo; + objJsonResult.data = null; + return objJsonResult; + } + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁鏈壘鍒�"; + objJsonResult.data = null; + return objJsonResult; + } + } + #endregion + + #region[璁惧鐐规瑙勭▼鍗曠紪杈戞椂鑾峰彇琛ㄥご鏁版嵁] + [Route("Sb_EquipDotCheckRuleBill/Sb_EquipDotCheckRuleBillListCheckDetai")] + [HttpGet] + public ApiResult<DataSet> Sb_EquipDotCheckRuleBillListCheckDetai(string HID) + { + if (string.IsNullOrEmpty(HID)) + return new ApiResult<DataSet> { code = -1, msg = "ID涓嶈兘涓虹┖" }; + SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); + var dataSet = oCN.RunProcReturn("select top 1 * from h_v_Sb_EquipDotCheckRuleList where hmainid= " + HID + " ", "h_v_Sb_EquipDotCheckRuleList"); + if (dataSet == null || dataSet.Tables[0].Rows.Count == 0) + return new ApiResult<DataSet> { code = -1, msg = "涓嶅瓨鍦ㄧ偣妫�瑙勭▼琛�" }; + return new ApiResult<DataSet> { code = 1, msg = "鏌ヨ鎴愬姛", data = dataSet }; + } + #endregion + + #region[璁惧鐐规瑙勭▼鍗曠紪杈戞椂鑾峰彇琛ㄤ綋鏁版嵁] + [Route("Sb_EquipDotCheckRuleBill/Sb_EquipDotCheckRuleBillListProjectDetai")] + [HttpGet] + public object Sb_EquipDotCheckRuleBillListProjectDetai(string sqlWhere) + { + DataSet ds; + try + { + SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); + if (sqlWhere == null || sqlWhere.Equals("")) + { + ds = oCN.RunProcReturn("select 鐐规椤圭洰ID,鐐规椤圭洰,鐐规閮ㄤ綅,鍏蜂綋瑕佹眰,璐熻矗浜篒D,璐熻矗浜轰唬鐮�,璐熻矗浜�,瀛愬娉� from h_v_Sb_EquipDotCheckRuleList", "h_v_Sb_EquipDotCheckRuleList"); + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = "鑾峰彇淇℃伅鎴愬姛锛�"; + objJsonResult.data = ds.Tables[0]; + } + else + { + string sql1 = "select 鐐规椤圭洰ID,鐐规椤圭洰,鐐规閮ㄤ綅,鍏蜂綋瑕佹眰,璐熻矗浜篒D,璐熻矗浜轰唬鐮�,璐熻矗浜�,瀛愬娉� from h_v_Sb_EquipDotCheckRuleList where 1 = 1 "; + string sql = sql1 + sqlWhere; + ds = oCN.RunProcReturn(sql, "h_v_Sb_EquipDotCheckRuleList"); + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = "鑾峰彇淇℃伅鎴愬姛锛�"; + objJsonResult.data = ds.Tables[0]; + } + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "娌℃湁杩斿洖浠讳綍璁板綍锛�" + e.ToString(); + objJsonResult.data = null; + } + return objJsonResult; + } + #endregion + } +} diff --git a/WebAPI/Controllers/SBGL/Sb_EquipMaintainRuleBillController.cs b/WebAPI/Controllers/SBGL/Sb_EquipMaintainRuleBillController.cs new file mode 100644 index 0000000..3939dd1 --- /dev/null +++ b/WebAPI/Controllers/SBGL/Sb_EquipMaintainRuleBillController.cs @@ -0,0 +1,175 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Data; +using System.Linq; +using System.Net; +using System.Net.Http; +using System.Web.Http; +using WebAPI.Models; + +namespace WebAPI.Controllers.SBGL +{ + public class Sb_EquipMaintainRuleBillController : ApiController + { + private json objJsonResult = new json(); + public DataSet ds = new DataSet(); + public DBUtility.ClsPub.Enum_BillStatus BillStatus;//鍗曟嵁鐘舵�侊紙鏂板锛屼慨鏀癸紝娴忚锛屾洿鏂板崟浠凤紝鍙樻洿锛� + SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); + public DLL.ClsSb_EquipMaintainRuleBill BillNew = new DLL.ClsSb_EquipMaintainRuleBill(); //瀵瑰簲鍗曟嵁绫� + public DLL.ClsSb_EquipMaintainRuleBill BillOld = new DLL.ClsSb_EquipMaintainRuleBill(); //瀵瑰簲鍗曟嵁绫� + + #region 璁惧淇濆吇瑙勭▼鍗曞垪琛� + [Route("Sb_EquipMaintainRuleBill/GetEquipMaintainRuleList")] + [HttpGet] + public object GetEquipMaintainRuleList(string sWhere) + { + try + { + if (sWhere == null || sWhere.Equals("")) + { + ds = oCN.RunProcReturn("select * from h_v_Sb_EquipMaintainRuleList " + sWhere + " order by hmainid desc", "h_v_Sb_EquipMaintainRuleList"); + } + else + { + string sql1 = "select * from h_v_Sb_EquipMaintainRuleList where 1 = 1"; + string sql = sql1 + sWhere + " order by hmainid desc"; + ds = oCN.RunProcReturn(sql, "h_v_Sb_EquipMaintainRuleList"); + } + if (ds == null || ds.Tables[0].Rows.Count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "娌℃湁浣犺鎵剧殑璁板綍锛�"; + objJsonResult.data = null; + return objJsonResult; + } + else + { + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "杩斿洖璁板綍鎴愬姛锛�"; + objJsonResult.data = ds.Tables[0]; + return objJsonResult; + } + } + catch (Exception ex) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "娌℃湁杩斿洖浠讳綍璁板綍锛�" + ex.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + #endregion + + #region 璁惧淇濆吇瑙勭▼璁板綍鍒犻櫎鍔熻兘 + [Route("Sb_EquipMaintainRuleBill/DeleteEquipMaintainRuleBillList")] + [HttpGet] + public object DeleteEquipMaintainRuleBillList(string HInterID) + { + Int64 lngBillKey = 0; + lngBillKey = DBUtility.ClsPub.isLong(HInterID); + if (lngBillKey == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁ID涓虹┖锛�"; + objJsonResult.data = null; + return objJsonResult; + } + DLL.ClsSb_EquipMaintainRuleBill oBill = new DLL.ClsSb_EquipMaintainRuleBill(); + if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) + { + if (oBill.omodel.HBillStatus > 1) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁褰撳墠澶勪簬涓嶈兘鍒犻櫎鐘舵��,涓嶈兘鍒犻櫎锛�"; + objJsonResult.data = null; + return objJsonResult; + } + if (oBill.omodel.HChecker != "") + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁宸茬粡瀹℃牳,涓嶈兘鍒犻櫎锛�"; + objJsonResult.data = null; + return objJsonResult; + } + + bool IsDete = oBill.DeleteBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + if (IsDete) + { + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = DBUtility.ClsPub.sExeReturnInfo; + objJsonResult.data = null; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = DBUtility.ClsPub.sExeReturnInfo; + objJsonResult.data = null; + return objJsonResult; + } + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁鏈壘鍒�"; + objJsonResult.data = null; + return objJsonResult; + } + } + #endregion + + # region 璁惧淇濆吇瑙勭▼璁板綍鐐瑰嚮涓昏〃鏃惰幏鍙栬〃浣撴暟鎹柊(淇濆吇椤瑰垪琛ㄣ�侀厤浠堕」鍒楄〃) + [Route("Sb_EquipMaintainRuleBill/Sb_EquipMaintainRuleBillListProjectDetaiNew")] + [HttpGet] + public object Sb_EquipMaintainRuleBillListProjectDetaiNew(string HInterID) + { + + DataSet ds, ds1; + List<object> list = new List<object>(); + string Swhere = ""; + try + { + if (HInterID != "" || HInterID != null) + { + Swhere = " and hmainid='" + HInterID + "'"; + } + else + { + Swhere = HInterID; + } + SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); + //鑾峰彇淇濆吇椤圭洰缂栬緫鏁版嵁 + string sql = "select 淇濆吇椤圭洰ID,淇濆吇椤圭洰,淇濆吇閮ㄤ綅,鍏蜂綋瑕佹眰,璐熻矗浜篒D,璐熻矗浜轰唬鐮�,璐熻矗浜哄悕绉�,瀛愬娉�2 from h_v_Sb_EquipMaintainRuleList where 1 = 1 " + Swhere + ""; + ds = oCN.RunProcReturn(sql, "h_v_Sb_EquipMaintainRuleList"); + //鑾峰彇閰嶄欢椤圭洰缂栬緫鏁版嵁 + string sql1 = "select 閰嶄欢ID,閰嶄欢浠g爜,閰嶄欢鍚嶇О,鍗曚綅ID,璁¢噺鍗曚綅浠g爜,璁¢噺鍗曚綅鍚嶇О,鐢ㄩ噺,鏍囧噯鐢ㄩ噺,瀛愬娉�1 from h_v_Sb_EquipMaintainRuleList where 1 = 1 " + Swhere + ""; + ds1 = oCN.RunProcReturn(sql1, "h_v_Sb_EquipMaintainRuleList"); + + list.Add(ds.Tables[0]); + list.Add(ds1.Tables[0]); + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = "鑾峰彇淇℃伅鎴愬姛锛�"; + objJsonResult.list = list; + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "娌℃湁杩斿洖浠讳綍璁板綍锛�" + e.ToString(); + objJsonResult.data = null; + } + return objJsonResult; + } + #endregion + } +} diff --git a/WebAPI/Controllers/WebAPIController.cs b/WebAPI/Controllers/WebAPIController.cs index 03fbe4b..ff11189 100644 --- a/WebAPI/Controllers/WebAPIController.cs +++ b/WebAPI/Controllers/WebAPIController.cs @@ -2144,21 +2144,13 @@ /// <returns></returns> [Route("Sc_MouldDotCheckRuleInter/GetMouldDotCheckRuleInterList")] [HttpGet] - public object GetMouldDotCheckRuleInterList(int MouldProjectID) + public object GetMouldDotCheckRuleInterList(string sWhere) { - if (MouldProjectID <= 0) - { - objjson.code = "0"; - objjson.count = 0; - objjson.Message = "浜у搧鍣ㄥ叿鏈�夋嫨"; - objjson.data = null; - return objjson; - } try { SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); - string sql = string.Format(@"select * from h_v_Sc_MouldDotCheckRuleBillList"); - ds = oCN.RunProcReturn(sql, "h_v_Sc_MouldDotCheckRuleBillList"); + string sql = string.Format(@"select * from h_v_Sc_MouldDotCheckRuleBillList "); + ds = oCN.RunProcReturn(sql+sWhere, "h_v_Sc_MouldDotCheckRuleBillList"); if (ds == null || ds.Tables[0].Rows.Count <= 0) { objjson.code = "0"; 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_ConkReasonBillController.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_ConkReasonBillController.cs" new file mode 100644 index 0000000..442ac6e --- /dev/null +++ "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_ConkReasonBillController.cs" @@ -0,0 +1,256 @@ +锘縰sing Newtonsoft.Json.Linq; +using System; +using System.Collections.Generic; +using System.Data; +using System.Linq; +using System.Net; +using System.Net.Http; +using System.Web.Http; +using WebAPI.Models; + +namespace WebAPI.Controllers.鍩虹璧勬枡.鍩虹璧勬枡 +{ + public class Gy_ConkReasonBillController : ApiController + { + public DBUtility.ClsPub.Enum_BillStatus BillStatus;//鍗曟嵁鐘舵�侊紙鏂板锛屼慨鏀癸紝娴忚锛屾洿鏂板崟浠凤紝鍙樻洿锛� + private json objJsonResult = new json(); + public DataSet ds = new DataSet(); + public SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); + public Model.ClsGy_ConkReason_Model BillNew0 = new Model.ClsGy_ConkReason_Model(); + + + #region 鏁呴殰鍘熷洜鍒楄〃 + [Route("Gy_ConkReasonBill/Get_ConkReasonBillList")] + [HttpGet] + public object Get_ConkReasonBillList(string sWhere) + { + try + { + ds = Sc_GetConkReasonBill(sWhere); + if (ds == null) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鏌ヨ鏁版嵁寮傚父锛岃涓庣鐞嗗憳鑱旂郴锛�"; + objJsonResult.data = null; + return objJsonResult; + } + else + { + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "杩斿洖璁板綍鎴愬姛锛�"; + objJsonResult.data = ds.Tables[0]; + return objJsonResult; + } + } + catch (Exception ex) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鏌ヨ鏁版嵁寮傚父锛岃涓庣鐞嗗憳鑱旂郴锛�" + ex.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + + public static DataSet Sc_GetConkReasonBill(string sWhere) + { + string sql1 = string.Format(@"select * from h_v_Gy_ConkReasonList"); + if (sWhere == null || sWhere.Equals("")) + { + return new SQLHelper.ClsCN().RunProcReturn(sql1 + sWhere + " order by hitemid desc", "h_v_Gy_ConkReasonList"); + } + else + { + string sql = sql1 + sWhere + "order by hitemid desc"; + return new SQLHelper.ClsCN().RunProcReturn(sql, "h_v_Gy_ConkReasonList"); + } + } + #endregion + + #region [鏁呴殰鍘熷洜鍒犻櫎鍔熻兘] + [Route("Gy_ConkReasonBill/set_DeleteBill")] + [HttpGet] + public object set_DeleteBill(string HItemID) + { + Int64 lngBillKey = 0; + lngBillKey = DBUtility.ClsPub.isLong(HItemID); + if (lngBillKey == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁ID涓虹┖锛�"; + objJsonResult.data = null; + return objJsonResult; + } + ds = oCn.RunProcReturn("select * from Gy_ConkReason where HItemID=" + lngBillKey, "Gy_ConkReason"); + if (ds != null) + { + oCn.RunProc("Delete from Gy_ConkReason where HItemID=" + lngBillKey); + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "鍒犻櫎鎴愬姛锛�"; + objJsonResult.data = null; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "姝ゅ崟鎹笉瀛樺湪锛岃鏌ョ湅鏄惁閲嶅鍒犻櫎"; + objJsonResult.data = null; + return objJsonResult; + } + + } + + #endregion + + #region [缂栬緫鏄剧ず琛ㄥご] + [Route("Gy_ConkReasonBill/GetConkReasonByID")] + [HttpGet] + public object GetConkReasonByID(string HID) + { + Int64 lngBillKey = 0; + lngBillKey = DBUtility.ClsPub.isLong(HID); + if (lngBillKey == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁ID涓虹┖锛�"; + objJsonResult.data = null; + return objJsonResult; + } + ds = oCn.RunProcReturn("select * from Gy_ConkReason where HItemID=" + lngBillKey, "Gy_ConkReason"); + if (ds != null) + { + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = ""; + objJsonResult.data = ds.Tables[0]; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "姝ゅ崟鎹笉瀛樺湪"; + objJsonResult.data = null; + return objJsonResult; + } + + } + + #endregion + + #region 淇濆瓨鏁呴殰鍘熷洜 + [Route("Gy_ConkReasonBill/SaveGy_ConkReason")] + [HttpPost] + public object SaveGy_ConkReason([FromBody] JObject msg) + { + var _value = msg["msg"].ToString(); + string msg2 = _value.ToString(); + string[] sArray = msg2.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); + string msg1 = sArray[0].ToString(); + string msg3 = sArray[1].ToString();//褰撳墠浜� + SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); + ListModels oListModels = new ListModels(); + try + { + Model.ClsGy_ConkReason_Model oBill = new Model.ClsGy_ConkReason_Model(); + List<Model.ClsGy_ConkReason_Model> lsmain = new List<Model.ClsGy_ConkReason_Model>(); + msg1 = msg1.Replace("\\", ""); + msg1 = msg1.Replace("\n", ""); //\n + lsmain = oListModels.getObjectByJson_Gy_ConkReason(msg1); + foreach (Model.ClsGy_ConkReason_Model oItem in lsmain) + { + if (oItem.HNumber.Trim() == "") + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "淇濆瓨澶辫触锛佷唬鐮佷笉鑳戒负绌猴紒"; + objJsonResult.data = 1; + return objJsonResult; + } + if (oItem.HName.Trim() == "") + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "淇濆瓨澶辫触锛佸悕绉颁笉鑳戒负绌猴紒"; + objJsonResult.data = 1; + return objJsonResult; + } + + //寰楀埌鐭唬鐮� + string sShortNumber; + sShortNumber = DBUtility.ClsPub.GetShortNumber(oItem.HNumber.Trim()); + if (sShortNumber.Trim() == "") + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "淇濆瓨澶辫触锛佺煭浠g爜涓虹┖锛�"; + objJsonResult.data = 1; + return objJsonResult; + } + oItem.HShortNumber = sShortNumber;//鐭唬鐮� + oItem.HEndFlag = true;//鏈骇鏍囧織 + oItem.HLevel = DBUtility.ClsPub.GetLevel(oItem.HNumber.Trim()); //绛夌骇 + oBill = oItem; + } + + //淇濆瓨 + //淇濆瓨瀹屾瘯鍚庡鐞� + if (oBill.HItemID == 0) + { + oCn.RunProc("Insert into Gy_ConkReason " + + " (HNumber,HName,HHelpCode,HShortNumber,HParentID" + + ",HLevel,HEndFlag,HStopflag,HRemark,HUseFlag,HMakeTime,HMakeEmp,HExplanation,HConkTypeID) " + + " Values('" + oBill.HNumber + "','" + oBill.HName + "','" + oBill.HHelpCode + "','" + oBill.HShortNumber + "'," + oBill.HParentID.ToString() + + "," + oBill.HLevel.ToString() + "," + Convert.ToString(oBill.HEndFlag ? 1 : 0) + "," + Convert.ToString(oBill.HStopflag ? 1 : 0) + ",'" + oBill.HRemark + + "','" + oBill.HUseFlag + "',getdate(),'" + msg3 + "','" + oBill.HExplanation + "',0" + + ")", ref DBUtility.ClsPub.sExeReturnInfo); + //淇敼涓婄骇涓洪潪鏈骇浠g爜 + oCn.RunProc("Update Gy_ConkReason set HEndflag=0 where HItemID=" + oBill.HParentID, ref DBUtility.ClsPub.sExeReturnInfo); + + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; + //WebAPIController.Add_Log("閫佽揣鍗曚笅鎺�", UserName, "鐢熸垚閫佽揣鍗�"); + objJsonResult.data = 1; + return objJsonResult; + } + else + { + oCN.RunProc("UpDate Gy_ConkReason set " + + " HNumber='" + oBill.HNumber + "'" + //鍥哄畾璧嬪��=============== + ",HName='" + oBill.HName + "'" + + ",HShortNumber='" + oBill.HShortNumber + "'" + + ",HHelpCode='" + oBill.HHelpCode + "'" + + ",HUseFlag='" + oBill.HUseFlag + "'" + + ",HRemark='" + oBill.HRemark + "'" + + ",HExplanation='" + oBill.HExplanation + "'" + + ",HModifyTime=getdate()" + + ",HModifyEmp='" + msg3 + "'" + + ",HStopflag=" + Convert.ToString(oBill.HStopflag ? 1 : 0) + + " where HInterID=" + oBill.HItemID.ToString()); + + objJsonResult.code = "1"; + 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; + } + } + #endregion + } +} diff --git a/WebAPI/DLL/ClsSb_EquipDotCheckRuleBill.cs b/WebAPI/DLL/ClsSb_EquipDotCheckRuleBill.cs new file mode 100644 index 0000000..8d0e535 --- /dev/null +++ b/WebAPI/DLL/ClsSb_EquipDotCheckRuleBill.cs @@ -0,0 +1,25 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace WebAPI.DLL +{ + public class ClsSb_EquipDotCheckRuleBill : DBUtility.ClsXt_BaseBill + { + public Models.ClsSb_EquipDotCheckRuleBillMain omodel = new Models.ClsSb_EquipDotCheckRuleBillMain(); + public List<Models.ClsSb_EquipDotCheckRuleBillSub> DetailColl_Mater = new List<Models.ClsSb_EquipDotCheckRuleBillSub>(); + + public ClsSb_EquipDotCheckRuleBill() + { + base.MvarItemKeySub = "ClsSb_EquipDotCheckRuleBillSub"; + base.MvarItemKeySub2 = ""; + base.MvarItemKeySub3 = ""; + base.MvarItemKeySub4 = ""; + base.MvarItemKey = "Sb_EquipDotCheckRuleBillMain"; + base.MvarReportTitle = "璁惧鐐规瑙勭▼"; + base.BillType = "3913"; + } + + } +} \ No newline at end of file diff --git a/WebAPI/DLL/ClsSb_EquipMaintainRuleBill.cs b/WebAPI/DLL/ClsSb_EquipMaintainRuleBill.cs new file mode 100644 index 0000000..9a2ee03 --- /dev/null +++ b/WebAPI/DLL/ClsSb_EquipMaintainRuleBill.cs @@ -0,0 +1,37 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace WebAPI.DLL +{ + public class ClsSb_EquipMaintainRuleBill : DBUtility.ClsXt_BaseBill + { + public Models.ClsSb_EquipMaintainRuleBillMain omodel = new Models.ClsSb_EquipMaintainRuleBillMain(); + public List<Models.ClsSb_EquipMaintainRuleBillSub> DetailColl_Mater = new List<Models.ClsSb_EquipMaintainRuleBillSub>(); + public List<Models.ClsSb_EquipMaintainRuleBillSub_Item> DetailColl_Pay = new List<Models.ClsSb_EquipMaintainRuleBillSub_Item>(); + + public ClsSb_EquipMaintainRuleBill() + { + base.MvarItemKeySub = "Sb_EquipMaintainRuleBillSub"; + base.MvarItemKeySub2 = "Sb_EquipMaintainRuleBillSub_Item"; + base.MvarItemKeySub3 = ""; + base.MvarItemKeySub4 = ""; + base.MvarItemKey = "Sb_EquipMaintainRuleBillMain"; + base.MvarReportTitle = "璁惧淇濆吇瑙勭▼"; + base.BillType = "3912"; + } + + #region 鍥哄畾浠g爜 + + ~ClsSb_EquipMaintainRuleBill() + { + DetailColl_Mater = null; + DetailColl_Pay = null; + //DetailColl_Entrust = null; + //DetailColl_Money = null; + } + + #endregion 鑷畾涔夋柟娉� + } +} \ No newline at end of file diff --git a/WebAPI/ListModels.cs b/WebAPI/ListModels.cs index 4a63f3d..6069b3c 100644 --- a/WebAPI/ListModels.cs +++ b/WebAPI/ListModels.cs @@ -547,6 +547,18 @@ } /// <summary> + /// 澶勭悊鏂板鏁呴殰鍘熷洜琛ㄧ殑json + /// </summary> + /// <param name="jsonString"></param> + /// <returns></returns> + public List<Model.ClsGy_ConkReason_Model> getObjectByJson_Gy_ConkReason(string jsonString) + { + jsonString = "[" + jsonString.ToString() + "]"; + List<Model.ClsGy_ConkReason_Model> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_ConkReason_Model>>(jsonString); + return list; + } + + /// <summary> /// 澶勭悊鏂板妯″叿淇濆吇璁板綍琛ㄤ富琛ㄧ殑json /// </summary> /// <param name="jsonString"></param> diff --git a/WebAPI/Models/ClsSb_EquipDotCheckRuleBillMain.cs b/WebAPI/Models/ClsSb_EquipDotCheckRuleBillMain.cs new file mode 100644 index 0000000..1c9fe42 --- /dev/null +++ b/WebAPI/Models/ClsSb_EquipDotCheckRuleBillMain.cs @@ -0,0 +1,17 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace WebAPI.Models +{ + public class ClsSb_EquipDotCheckRuleBillMain : DBUtility.ClsXt_BaseBillMain + { + public DateTime HBeginDate;// datetime --璁″垝寮�濮嬫棩鏈� + public DateTime HEndDate;// datetime --璁″垝缁撴潫鏃ユ湡 + public string HCycleUnit;// varchar(10) --鍛ㄦ湡鍗曚綅(澶╋紝鏈堬紝鍛�) + public int HCheckCycle;// int --鐐规鍛ㄦ湡 + public string HExplanation;// varchar(500) --鎽樿 + public string HInnerBillNo;// varchar(50) --鍐呴儴鍗曟嵁鍙� + } +} \ No newline at end of file diff --git a/WebAPI/Models/ClsSb_EquipDotCheckRuleBillSub.cs b/WebAPI/Models/ClsSb_EquipDotCheckRuleBillSub.cs new file mode 100644 index 0000000..005d6f0 --- /dev/null +++ b/WebAPI/Models/ClsSb_EquipDotCheckRuleBillSub.cs @@ -0,0 +1,16 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace WebAPI.Models +{ + public class ClsSb_EquipDotCheckRuleBillSub : DBUtility.ClsXt_BaseBillSub + { + public int HDotCheckItemID;// int --鐐规椤圭洰ID + public string HDotCheckItem;// varchar(100) --鐐规椤圭洰 + public string HDotCheckPart;// varchar(100) --鐐规閮ㄤ綅 + public string HClaim;// varchar(100) --鍏蜂綋瑕佹眰 + public int HManagerID;// int --璐熻矗浜篿d(鑱屽憳琛�) + } +} \ No newline at end of file diff --git a/WebAPI/Models/ClsSb_EquipMaintainRuleBillMain.cs b/WebAPI/Models/ClsSb_EquipMaintainRuleBillMain.cs new file mode 100644 index 0000000..f729114 --- /dev/null +++ b/WebAPI/Models/ClsSb_EquipMaintainRuleBillMain.cs @@ -0,0 +1,15 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace WebAPI.Models +{ + public class ClsSb_EquipMaintainRuleBillMain : DBUtility.ClsXt_BaseBillMain + { + public string HCycleUnit; //--鍛ㄦ湡鍗曚綅(澶╋紝鏈堬紝鍛�) + public int HCheckCycle; //--淇濆吇鍛ㄦ湡 + public string HExplanation; // varchar(500) --鎽樿 + public string HInnerBillNo; //varchar(50) --鍐呴儴鍗曟嵁鍙� + } +} \ No newline at end of file diff --git a/WebAPI/Models/ClsSb_EquipMaintainRuleBillSub.cs b/WebAPI/Models/ClsSb_EquipMaintainRuleBillSub.cs new file mode 100644 index 0000000..018b56e --- /dev/null +++ b/WebAPI/Models/ClsSb_EquipMaintainRuleBillSub.cs @@ -0,0 +1,17 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace WebAPI.Models +{ + public class ClsSb_EquipMaintainRuleBillSub : DBUtility.ClsXt_BaseBillSub + { + public string HBillNo_bak; + public int HItemSubID; // --鑷鍒�(GUID) + public int HMaterID; //int --閰嶄欢ID + public int HUnitID;// int --璁¢噺鍗曚綅 + public string HQty;// dec(18,8) --鐢ㄩ噺 + public string HQtyMust;// dec(18,8) --鏍囧噯鐢ㄩ噺(鏆傛椂闅愯棌) + } +} \ No newline at end of file diff --git a/WebAPI/Models/ClsSb_EquipMaintainRuleBillSub_Item.cs b/WebAPI/Models/ClsSb_EquipMaintainRuleBillSub_Item.cs new file mode 100644 index 0000000..97d1c30 --- /dev/null +++ b/WebAPI/Models/ClsSb_EquipMaintainRuleBillSub_Item.cs @@ -0,0 +1,18 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace WebAPI.Models +{ + public class ClsSb_EquipMaintainRuleBillSub_Item : DBUtility.ClsXt_BaseBillSub + { + public string HBillNo_bak; + public int HItemSubID; // --鑷鍒�(GUID) + public int HMaintainItemID;// int --淇濆吇椤圭洰ID + public string HMaintainItem;// varchar(100) --淇濆吇椤圭洰 + public string HMaintainPart; //varchar(100) --淇濆吇閮ㄤ綅 + public string HClaim;// varchar(100) --鍏蜂綋瑕佹眰 + public int HManagerID;// int --璐熻矗浜篿d(鑱屽憳琛�) + } +} \ No newline at end of file diff --git a/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user b/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user index 1e8a616..ce1778f 100644 --- a/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user +++ b/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user @@ -18,25 +18,25 @@ <publishTime>02/22/2013 08:43:40</publishTime> </File> <File Include="bin/BLL.dll"> - <publishTime>11/16/2021 18:46:35</publishTime> + <publishTime>11/17/2021 17:22:47</publishTime> </File> <File Include="bin/BLL.pdb"> - <publishTime>11/16/2021 18:46:35</publishTime> + <publishTime>11/17/2021 17:22:47</publishTime> </File> <File Include="bin/DAL.dll"> - <publishTime>11/16/2021 18:46:33</publishTime> + <publishTime>11/17/2021 17:22:44</publishTime> </File> <File Include="bin/DAL.pdb"> - <publishTime>11/16/2021 18:46:33</publishTime> + <publishTime>11/17/2021 17:22:44</publishTime> </File> <File Include="bin/Dapper.dll"> <publishTime>07/22/2016 14:52:40</publishTime> </File> <File Include="bin/DBUtility.dll"> - <publishTime>11/16/2021 18:46:29</publishTime> + <publishTime>11/17/2021 17:22:38</publishTime> </File> <File Include="bin/DBUtility.pdb"> - <publishTime>11/16/2021 18:46:29</publishTime> + <publishTime>11/17/2021 17:22:38</publishTime> </File> <File Include="bin/Interop.gregn6Lib.dll"> <publishTime>08/25/2021 10:28:25</publishTime> @@ -60,10 +60,10 @@ <publishTime>07/25/2012 11:48:56</publishTime> </File> <File Include="bin/Model.dll"> - <publishTime>11/16/2021 18:46:30</publishTime> + <publishTime>11/17/2021 17:22:39</publishTime> </File> <File Include="bin/Model.pdb"> - <publishTime>11/16/2021 18:46:30</publishTime> + <publishTime>11/17/2021 17:22:39</publishTime> </File> <File Include="bin/Models/ClsSc_MouldScrapOutBillMain.cs"> <publishTime>08/16/2021 17:23:15</publishTime> @@ -72,22 +72,22 @@ <publishTime>08/03/2014 20:33:56</publishTime> </File> <File Include="bin/Pub_Class.dll"> - <publishTime>11/16/2021 18:46:28</publishTime> + <publishTime>11/17/2021 17:22:36</publishTime> </File> <File Include="bin/Pub_Class.pdb"> - <publishTime>11/16/2021 18:46:28</publishTime> + <publishTime>11/17/2021 17:22:36</publishTime> </File> <File Include="bin/Pub_Control.dll"> - <publishTime>11/16/2021 18:46:28</publishTime> + <publishTime>11/17/2021 17:22:37</publishTime> </File> <File Include="bin/Pub_Control.pdb"> - <publishTime>11/16/2021 18:46:28</publishTime> + <publishTime>11/17/2021 17:22:37</publishTime> </File> <File Include="bin/SQLHelper.dll"> - <publishTime>11/16/2021 18:46:29</publishTime> + <publishTime>11/17/2021 17:22:37</publishTime> </File> <File Include="bin/SQLHelper.pdb"> - <publishTime>11/16/2021 18:46:29</publishTime> + <publishTime>11/17/2021 17:22:37</publishTime> </File> <File Include="bin/stdole.dll"> <publishTime>05/09/2021 13:35:37</publishTime> @@ -189,10 +189,10 @@ <publishTime>11/24/2014 11:18:48</publishTime> </File> <File Include="bin/WebAPI.dll"> - <publishTime>11/16/2021 18:46:38</publishTime> + <publishTime>11/17/2021 17:22:52</publishTime> </File> <File Include="bin/WebAPI.pdb"> - <publishTime>11/16/2021 18:46:38</publishTime> + <publishTime>11/17/2021 17:22:52</publishTime> </File> <File Include="bin/WebGrease.dll"> <publishTime>07/17/2013 17:03:52</publishTime> @@ -363,7 +363,7 @@ <publishTime>08/06/2021 22:57:28</publishTime> </File> <File Include="Web.config"> - <publishTime>11/16/2021 18:46:49</publishTime> + <publishTime>11/17/2021 17:23:18</publishTime> </File> </ItemGroup> </Project> \ No newline at end of file diff --git a/WebAPI/WebAPI.csproj b/WebAPI/WebAPI.csproj index 7505380..a65bbd9 100644 --- a/WebAPI/WebAPI.csproj +++ b/WebAPI/WebAPI.csproj @@ -357,6 +357,8 @@ <Compile Include="Controllers\ReportPlatFormController.cs" /> <Compile Include="Controllers\SBGL\Gy_EquipFileMainController.cs" /> <Compile Include="Controllers\SBGL\Gy_EquipTypeController.cs" /> + <Compile Include="Controllers\SBGL\Sb_EquipDotCheckRuleBillController.cs" /> + <Compile Include="Controllers\SBGL\Sb_EquipMaintainRuleBillController.cs" /> <Compile Include="Controllers\SCGL\Sc_MESProductReportBillController.cs" /> <Compile Include="Controllers\Sc_MouldRepairOutBillController.cs" /> <Compile Include="Controllers\Sc_MouldRepairInBillListController - .cs" /> @@ -389,6 +391,7 @@ <Compile Include="Controllers\浠撳瓨绠$悊\Kf_MateOutBillController.cs" /> <Compile Include="Controllers\鍝佽川绠$悊\宸ュ簭妫�楠屽崟\QC_ProcessCheckBillController.cs" /> <Compile Include="Controllers\鍝佽川绠$悊\棣栦欢妫�楠屽崟\QC_FirstPieceCheckBillController.cs" /> + <Compile Include="Controllers\鍩虹璧勬枡\鍩虹璧勬枡\Gy_ConkReasonBillController.cs" /> <Compile Include="Controllers\鍩虹璧勬枡\鍩虹璧勬枡\Gy_DotCheckBillController.cs" /> <Compile Include="Controllers\鍩虹璧勬枡\鍩虹璧勬枡\Gy_MaintainBillController.cs" /> <Compile Include="Controllers\鍩虹璧勬枡\鍩虹璧勬枡\Gy_RepairBillController.cs" /> @@ -415,6 +418,7 @@ <Compile Include="DLL\ClsSb_EquipConkBookBill.cs" /> <Compile Include="DLL\ClsSb_EquipDotCheckBill.cs" /> <Compile Include="DLL\ClsSb_EquipMaintainBill.cs" /> + <Compile Include="DLL\ClsSb_EquipMaintainRuleBill.cs" /> <Compile Include="DLL\ClsSb_EquipRepairCheckBill.cs" /> <Compile Include="DLL\ClsSb_EquipRepairWorkBill.cs" /> <Compile Include="DLL\ClsSc_ICMOBillWorkQtyStatus_Tmp.cs" /> @@ -446,6 +450,7 @@ <Compile Include="DLL\ClsWW_EntrustProcessReportBill.cs" /> <Compile Include="DLL\ClsWW_EntrustProcessSendOutBill.cs" /> <Compile Include="DLL\ClsWW_EntrustWorkOrderBill.cs" /> + <Compile Include="DLL\ClsSb_EquipDotCheckRuleBill.cs" /> <Compile Include="LogService.cs" /> <Compile Include="Models\ApiConfig.cs" /> <Compile Include="Models\ApiResult.cs" /> @@ -462,6 +467,11 @@ <Compile Include="Models\ClsKf_MateOutBillSub.cs" /> <Compile Include="Models\ClsOA_InformBillMain.cs" /> <Compile Include="Models\ClsOA_InformBillSub.cs" /> + <Compile Include="Models\ClsSb_EquipDotCheckRuleBillMain.cs" /> + <Compile Include="Models\ClsSb_EquipDotCheckRuleBillSub.cs" /> + <Compile Include="Models\ClsSb_EquipMaintainRuleBillMain.cs" /> + <Compile Include="Models\ClsSb_EquipMaintainRuleBillSub.cs" /> + <Compile Include="Models\ClsSb_EquipMaintainRuleBillSub_Item.cs" /> <Compile Include="Models\Pay_PeriodInfoSet.cs" /> <Compile Include="Models\Gy_OrderBackInfo.cs" /> <Compile Include="Models\Gy_OrderLevList.cs" /> -- Gitblit v1.9.1