WebAPI/Controllers/XSGL/Kf_SellOutBillController.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WebAPI/Controllers/XSGL/Xs_SeOrderBillController.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
WebAPI/Controllers/XSGL/Kf_SellOutBillController.cs
@@ -1819,5 +1819,39 @@ } } #endregion #region 销售出库单 判断是否具备查看金额权限 [Route("Kf_SellOutBill/CheckRight_Money")] [HttpGet] public object CheckRight_Money(string user) { try { //判断查询权限 if (!DBUtility.ClsPub.Security_Log("Kf_SellOutBill_Money", 1, false, user)) { objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = "无权限查询!"; objJsonResult.data = null; return objJsonResult; } objJsonResult.code = "1"; objJsonResult.count = 1; objJsonResult.Message = "Sucess!"; objJsonResult.data = null; return objJsonResult; } catch (Exception e) { objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = "Exception!" + e.ToString(); objJsonResult.data = null; return objJsonResult; } } #endregion } } WebAPI/Controllers/XSGL/Xs_SeOrderBillController.cs
@@ -3290,5 +3290,39 @@ } } #endregion #region 销售订单 判断是否具备查看金额权限 [Route("Xs_SeOrderBill/CheckRight_Money")] [HttpGet] public object CheckRight_Money(string user) { try { //判断查询权限 if (!DBUtility.ClsPub.Security_Log("Xs_SeOrderBill_Money", 1, false, user)) { objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = "无权限查询!"; objJsonResult.data = null; return objJsonResult; } objJsonResult.code = "1"; objJsonResult.count = 1; objJsonResult.Message = "Sucess!"; objJsonResult.data = null; return objJsonResult; } catch (Exception e) { objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = "Exception!" + e.ToString(); objJsonResult.data = null; return objJsonResult; } } #endregion } }