|  |  | 
 |  |  | using System.Text; | 
 |  |  | using WebAPI.Code; | 
 |  |  | using Model; | 
 |  |  | using System.Data; | 
 |  |  |  | 
 |  |  | namespace WebAPI | 
 |  |  | { | 
 |  |  | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// 处理新增工序流转卡子表2的json | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         public List<Model.ClsSc_ProcessExchangeBillSub_BatchSplit> getObjectByJson_Sc_ProcessExchangeBillSub_BatchSplit(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsSc_ProcessExchangeBillSub_BatchSplit> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_ProcessExchangeBillSub_BatchSplit>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// 处理新增出站汇报单主表的json | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  | 
 |  |  |             List<Model.ClsSc_MouldMaintainPlanBillSub> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldMaintainPlanBillSub>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// 处理新增模具保养计划单子表_计划的json | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         public List<Model.ClsSc_MouldMaintainPlanBillSub_Plan> getObjectByJson_Sc_MouldMaintainPlanBillSub_Plan(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsSc_MouldMaintainPlanBillSub_Plan> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MouldMaintainPlanBillSub_Plan>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// 处理新增模具保养计划单子表保养信息的json | 
 |  |  | 
 |  |  |             List<Model.ClsGy_CusType_Model> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_CusType_Model>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |          | 
 |  |  |  | 
 |  |  |         /// <summary>   | 
 |  |  |         /// 处理新增工艺参数分类表的json | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         public List<Model.ClsGy_TechnologyParameterType_Model> getObjectByJson_Gy_TechnologyParameterType(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsGy_TechnologyParameterType_Model> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_TechnologyParameterType_Model>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /// <summary>   | 
 |  |  |         /// 处理新增供应商分类表的json | 
 |  |  |         /// </summary> | 
 |  |  | 
 |  |  |             List<Model.ClsGy_ProjectMoney_Model> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_ProjectMoney_Model>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |          | 
 |  |  |         /// <summary>   | 
 |  |  |         /// 处理新增防错装置表的json | 
 |  |  |         /// </summary> | 
 |  |  | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsGy_PreventErrMould_Model> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_PreventErrMould_Model>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |         /// <summary>   | 
 |  |  |         /// 处理新增休息日表的json | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         public List<Model.ClsGy_RestDay_Model> getObjectByJson_Gy_RestDay(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsGy_RestDay_Model> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_RestDay_Model>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /// <summary>   | 
 |  |  |         /// 处理新增休息日表的json | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         public List<Model.ClsGy_RestDay_Model> getObjectByJson_SumGy_RestDay(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsGy_RestDay_Model> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_RestDay_Model>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// 处理新增环境检测项目表的json    | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param>  | 
 |  |  |         /// <returns></returns> | 
 |  |  |         public List<Model.ClsGy_EnvironmentTestItem_Model> getObjectByJson_Gy_EnvironmentTestItem(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsGy_EnvironmentTestItem_Model> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_EnvironmentTestItem_Model>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  | 
 |  |  |             List<Model.ClsOA_AndengFlowRuleBillSub> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsOA_AndengFlowRuleBillSub>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// 处理设备维修签到单主表的json | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         public List<Model.ClsSb_EquipRepairSignBillMain> getObjectByJson_Sb_EquipRepairSignBillMain(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsSb_EquipRepairSignBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSb_EquipRepairSignBillMain>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// 处理设备维修签到单主表的json | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         public List<Models.ClsSb_EquipRepairSignBillMain> getObjectByJson_Sb_EquipRepairSignBill_PDA(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Models.ClsSb_EquipRepairSignBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Models.ClsSb_EquipRepairSignBillMain>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// 处理新员工技能清单主表的json | 
 |  |  | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// 处理新增环境检测方案主表的json | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         public List<Model.ClsGy_EnvironmentTestSchemeBillMain> getObjectByJson_Gy_EnvironmentTestSchemeBillMain(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsGy_EnvironmentTestSchemeBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_EnvironmentTestSchemeBillMain>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// 处理新增环境检测方案子表的json | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         public List<Model.ClsGy_EnvironmentTestSchemeBillSub> getObjectByJson_Gy_EnvironmentTestSchemeBillSub(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsGy_EnvironmentTestSchemeBillSub> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_EnvironmentTestSchemeBillSub>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// 处理新增环境检测单主表的json | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         public List<Model.ClsQC_EnvironmentTestDotCheckBillMain> getObjectByJson_QC_EnvironmentTestDotCheckBillMain(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsQC_EnvironmentTestDotCheckBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsQC_EnvironmentTestDotCheckBillMain>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// 处理新增环境检测单子表的json | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         public List<Model.ClsQC_EnvironmentTestDotCheckBillSub> getObjectByJson_QC_EnvironmentTestDotCheckBillSub(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsQC_EnvironmentTestDotCheckBillSub> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsQC_EnvironmentTestDotCheckBillSub>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// 处理新增防错验证检查主表的json | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  | 
 |  |  |             List<Models.ClsSc_MESBeginWorkBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Models.ClsSc_MESBeginWorkBillMain>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// 处理新增生产完工单的json | 
 |  |  | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// 报工平台开工单子表json | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         public List<Models.ClsSc_MESBeginWorkBillSub> getObjectByJson_Sc_MESBeginWorkBillSub(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Models.ClsSc_MESBeginWorkBillSub> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Models.ClsSc_MESBeginWorkBillSub>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// 报工平台开工单子表json | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         public List<Models.ClsSc_MESBeginWorkBillSub_RelationBill> getObjectByJson_Sc_MESBeginWorkBillSub_RelationBill(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Models.ClsSc_MESBeginWorkBillSub_RelationBill> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Models.ClsSc_MESBeginWorkBillSub_RelationBill>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// 报工平台返工单主表json | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsSc_MaterToSourceBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MaterToSourceBillMain>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// 报工平台检验取样主表json | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         public List<Model.ClsQC_TakeSampleCheckBillMain> getObjectByJson_QC_TakeSampleCheckBillMain(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsQC_TakeSampleCheckBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsQC_TakeSampleCheckBillMain>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// 报工平台检验还样主表json | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         public List<Model.ClsQC_BackSampleCheckBillMain> getObjectByJson_QC_BackSampleCheckBillMain(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsQC_BackSampleCheckBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsQC_BackSampleCheckBillMain>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |         /// <summary> | 
 |  |  |         /// 报工平台检验还样主表json | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         public List<Model.ClsQC_BackSampleCheckBillSub> getObjectByJson_QC_TakeSampleCheckBillSub(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsQC_BackSampleCheckBillSub> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsQC_BackSampleCheckBillSub>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  | 
 |  |  |         } | 
 |  |  |         #endregion | 
 |  |  |  | 
 |  |  |  | 
 |  |  |         #region 客户项目信息 | 
 |  |  |         /// <summary> | 
 |  |  |         /// 客户项目信息主表json | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         public List<Model.ClsPM_CustomerProInfoBillMain> getObjectByJson_ClsPM_CustomerProInfoBillMain(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsPM_CustomerProInfoBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsPM_CustomerProInfoBillMain>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |         /// <summary> | 
 |  |  |         /// 客户项目信息子表json2 | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         public List<Model.ClsPM_CustomerProInfoBillSub> getObjectByJson_ClsPM_CustomerProInfoBillSub(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsPM_CustomerProInfoBillSub> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsPM_CustomerProInfoBillSub>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |         #endregion | 
 |  |  |  | 
 |  |  |         #region 应收单 | 
 |  |  |         /// <summary> | 
 |  |  |         /// 应收单主表json | 
 |  |  | 
 |  |  |         } | 
 |  |  |         #endregion | 
 |  |  |  | 
 |  |  |         #region 出门确认单_新 | 
 |  |  |         public List<Model.ClsXs_OutDoorBillMain> getObjectByJson_Xs_OutDoorBillMain(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsXs_OutDoorBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsXs_OutDoorBillMain>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |         public List<Model.ClsXs_OutDoorBillSub> getObjectByJson_Xs_OutDoorBillSub(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsXs_OutDoorBillSub> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsXs_OutDoorBillSub>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |         #endregion | 
 |  |  |  | 
 |  |  |         #region 应收退款单 | 
 |  |  |         /// <summary> | 
 |  |  |         /// 应收退款单主表json | 
 |  |  | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// 组装追溯-主2 | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         public List<Model.ClsSc_AssemblyBillMain> getObjectByJson_Sc_AssemblyBillMain2(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsSc_AssemblyBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_AssemblyBillMain>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// 组装追溯-子2 | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="jsonString"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         public List<Model.ClsSc_AssemblyBillSub> getObjectByJson_Sc_AssemblyBillSub2(string jsonString) | 
 |  |  |         { | 
 |  |  |             jsonString = "[" + jsonString.ToString() + "]"; | 
 |  |  |             List<Model.ClsSc_AssemblyBillSub> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_AssemblyBillSub>>(jsonString); | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         ///首件检验单 孙表 | 
 |  |  |         ///ClsQC_FirstPieceCheckBillSub_ValueGrid | 
 |  |  |         public List<Model.ClsQC_FirstPieceCheckBillSub_ValueGrid> getObjectByJson_ClsQC_FirstPieceCheckBillSub_ValueGrid(string jsonString) | 
 |  |  | 
 |  |  |             return list; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         public static implicit operator ListModels(DataTable v) | 
 |  |  |         { | 
 |  |  |             throw new NotImplementedException(); | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  | }  |