| | |
| | | /// <returns></returns> |
| | | [Route("Kf_MoveStockBill/GetMoveStockBillList")] |
| | | [HttpGet] |
| | | public object GetMoveStockBillList(string sWhere) |
| | | public object GetMoveStockBillList(string sWhere,string user) |
| | | { |
| | | try |
| | | { |
| | | //判断是否有查询权限 |
| | | if (!DBUtility.ClsPub.Security_Log("Kf_MoveStockBillQuery", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "无查询权限!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | ds = oCN.RunProcReturn("select * from h_v_IF_MoveStockBillList order by 日期 desc", "h_v_IF_MoveStockBillList"); |
| | |
| | | try |
| | | { |
| | | //判断是否有查询权限 |
| | | if (DBUtility.ClsPub.Security_Log("Kf_EntrustInBillQuery", 1, false, user)) |
| | | if (!DBUtility.ClsPub.Security_Log("Kf_EntrustInBillQuery", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |