| | |
| | | |
| | | [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("WW_PPBomBill_Query", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æ¥è¯¢æé!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | ds = WW_PPBomBillList(sWhere); |
| | | if (ds == null) |
| | | { |
| | |
| | | |
| | | 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"); |