From b541b4b3aed0ae5efcf9bf60eb8deb07b2ee944e Mon Sep 17 00:00:00 2001 From: wtt <1985833171@qq.com> Date: 星期四, 05 十二月 2024 15:03:29 +0800 Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API --- WebAPI/Controllers/项目管理/工作任务/PM_WorkTaskBillController.cs | 70 +++++++++++++++++----------------- 1 files changed, 35 insertions(+), 35 deletions(-) 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 67c8f86..fb72f18 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" @@ -4097,42 +4097,42 @@ - #region 鑷姩鍔犺浇椤甸潰琛ㄥご - /// <summary> - /// 杩斿洖椤圭洰闃舵鍒楄〃 - ///鍙傛暟锛歴tring sql銆� - ///杩斿洖鍊硷細object銆� - /// </summary> - [Route("Xt_DefineBillMainSet/getDefineBillMainSet")] - [HttpGet] - public object getDefineBillMainSet(string HModName, string user) - { - try - { - string sql = "select * from h_v_Xt_DefineBillMainSet_AutoLoadList where HModName ='" + HModName + "' and HUser ='" + user + "' order by HArrangeOrder,HArrangeOrderSub"; - ds = oCN.RunProcReturn(sql, "Xt_DefineBillMainSet"); + //#region 鑷姩鍔犺浇椤甸潰琛ㄥご + ///// <summary> + ///// 杩斿洖椤圭洰闃舵鍒楄〃 + /////鍙傛暟锛歴tring sql銆� + /////杩斿洖鍊硷細object銆� + ///// </summary> + //[Route("Xt_DefineBillMainSet/getDefineBillMainSet")] + //[HttpGet] + //public object getDefineBillMainSet(string HModName, string user) + //{ + // try + // { + // string sql = "select * from h_v_Xt_DefineBillMainSet_AutoLoadList where HModName ='" + HModName + "' and HUser ='" + user + "' order by HArrangeOrder,HArrangeOrderSub"; + // ds = oCN.RunProcReturn(sql, "Xt_DefineBillMainSet"); - if(ds!=null && ds.Tables[0].Rows.Count == 0) - { - sql = "select * from h_v_Xt_DefineBillMainSet_AutoLoadList where HModName ='" + HModName + "' and HUser ='admin' order by HArrangeOrder,HArrangeOrderSub"; - ds = oCN.RunProcReturn(sql, "h_v_Xt_DefineBillMainSet_AutoLoadList"); - } + // if(ds!=null && ds.Tables[0].Rows.Count == 0) + // { + // sql = "select * from h_v_Xt_DefineBillMainSet_AutoLoadList where HModName ='" + HModName + "' and HUser ='admin' order by HArrangeOrder,HArrangeOrderSub"; + // ds = oCN.RunProcReturn(sql, "h_v_Xt_DefineBillMainSet_AutoLoadList"); + // } - objJsonResult.code = "1"; - objJsonResult.count = 1; - objJsonResult.Message = "Sucess锛�"; - objJsonResult.data = ds.Tables[0]; - return objJsonResult; - } - catch (Exception e) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "Exception锛�" + e.ToString(); - objJsonResult.data = null; - return objJsonResult; - } - } - #endregion + // objJsonResult.code = "1"; + // objJsonResult.count = 1; + // objJsonResult.Message = "Sucess锛�"; + // objJsonResult.data = ds.Tables[0]; + // return objJsonResult; + // } + // catch (Exception e) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "Exception锛�" + e.ToString(); + // objJsonResult.data = null; + // return objJsonResult; + // } + //} + //#endregion } } \ No newline at end of file -- Gitblit v1.9.1