From ff7602c25aea00309c3baba31193a9cb924afb92 Mon Sep 17 00:00:00 2001 From: 杨乐 <yang.le.192@qq.com> Date: 星期二, 25 一月 2022 20:32:51 +0800 Subject: [PATCH] 添加权限 2654,2655 --- WebAPI/Controllers/仓存管理/委外用料/WW_PPBomBillController.cs | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git "a/WebAPI/Controllers/\344\273\223\345\255\230\347\256\241\347\220\206/\345\247\224\345\244\226\347\224\250\346\226\231/WW_PPBomBillController.cs" "b/WebAPI/Controllers/\344\273\223\345\255\230\347\256\241\347\220\206/\345\247\224\345\244\226\347\224\250\346\226\231/WW_PPBomBillController.cs" index f9086a4..9de2e99 100644 --- "a/WebAPI/Controllers/\344\273\223\345\255\230\347\256\241\347\220\206/\345\247\224\345\244\226\347\224\250\346\226\231/WW_PPBomBillController.cs" +++ "b/WebAPI/Controllers/\344\273\223\345\255\230\347\256\241\347\220\206/\345\247\224\345\244\226\347\224\250\346\226\231/WW_PPBomBillController.cs" @@ -22,10 +22,16 @@ [Route("WW_PPBomBillController/Get_WW_PPBomBillList")] [HttpGet] - public object Get_WW_PPBomBillList(string sWhere) + public object Get_WW_PPBomBillList(string sWhere,string user) { try { + + if (!DBUtility.ClsPub.Security_Log("", 1, false, user)) + { + + } + ds = WW_PPBomBillList(sWhere); if (ds == null) { @@ -56,7 +62,7 @@ public static DataSet WW_PPBomBillList(string sWhere) { - string sql1 = string.Format(@"select * from h_v_WW_PPBomBillList"); + string sql1 = string.Format(@"select * from h_v_WW_PPBomBillList where 1=1 "); if (sWhere == null || sWhere.Equals("")) { return new SQLHelper.ClsCN().RunProcReturn(sql1 + sWhere + "order by 鏃ユ湡 desc", "h_v_WW_PPBomBillList"); -- Gitblit v1.9.1