1
llj
4 天以前 99bcfefdb20187000fc89a8f2654745ad2f0e371
WebAPI/Controllers/XSGL/YS_ReceiveOtherBillController.cs
@@ -8,9 +8,11 @@
using System.Data.SqlClient;
using System.Web.Http;
using WebAPI.Models;
using WebAPI.Utility;
namespace WebAPI.Controllers
{
    [Permission(HModName = "YS_ReceiveOtherBillMain")]
    //其他应收单Controller
    public class YS_ReceiveOtherBillController : ApiController
    {
@@ -33,6 +35,7 @@
        /// </summary>
        [Route("YS_ReceiveOtherBill/YS_ReceiveOtherBillMainList")]
        [HttpGet]
        [Permission(HModName = "YS_ReceiveOtherBillMain_Query")]
        public object YS_ReceiveOtherBillMainList(string sWhere, string user)
        {
            try
@@ -88,6 +91,7 @@
        #region 其他应收单保存 新增/编辑
        [Route("YS_ReceiveOtherBill/SaveYS_ReceiveOtherBillMain")]
        [HttpPost]
        [Permission(HModName = "YS_ReceiveOtherBillMain_Edit")]
        public object SaveYS_ReceiveOtherBillMain([FromBody] JObject msg)
        {
            var _value = msg["msg"].ToString();
@@ -310,6 +314,7 @@
        /// </summary>
        [Route("YS_ReceiveOtherBill/DeleteYS_ReceiveOtherBillMain")]
        [HttpGet]
        [Permission(HModName = "YS_ReceiveOtherBillMain_Drop")]
        public object DeleteYS_ReceiveOtherBillMain(string HInterID, string user)
        {
            try
@@ -457,6 +462,7 @@
        /// <returns></returns>
        [Route("YS_ReceiveOtherBill/AuditYS_ReceiveOtherBillMain")]
        [HttpGet]
        [Permission(HModName = "YS_ReceiveOtherBillMain_Check")]
        public object AuditYS_ReceiveOtherBillMain(int HInterID, int IsAudit, string CurUserName)
        {
            string ModRightNameCheck = "YS_ReceiveOtherBillMain_Check";
@@ -692,6 +698,7 @@
        /// <returns></returns>
        [Route("YS_ReceiveOtherBill/CloseYS_ReceiveOtherBill")]
        [HttpGet]
        [Permission(HModName = "YS_ReceiveOtherBill_Close")]
        public object CloseYS_ReceiveOtherBill(int HInterID, int IsAudit, string CurUserName)
        {
            string ModRightNameCheck = "YS_ReceiveOtherBill_Close";
@@ -837,6 +844,7 @@
        /// <returns></returns>
        [Route("YS_ReceiveOtherBill/DeleteYS_ReceiveOtherBill")]
        [HttpGet]
        [Permission(HModName = "YS_ReceiveOtherBill_Delete")]
        public object DeleteYS_ReceiveOtherBill(int HInterID, int IsAudit, string CurUserName)
        {
            string ModRightNameCheck = "YS_ReceiveOtherBill_Delete";