yangle
2024-06-18 40f60a528ae741f3cf220fd79dbb68450799bf09
WebAPI/Controllers/应收管理/YS_ReceiveReportController.cs
@@ -27,10 +27,20 @@
        /// <returns></returns>
        [Route("YS_ReceiveReportController/GetYS_CusShouldIncomeReport_Json")]
        [HttpGet]
        public object GetYS_CusShouldIncomeReport_Json(string sWhere)
        public object GetYS_CusShouldIncomeReport_Json(string sWhere, string user)
        {
            try
            {
                if (!DBUtility.ClsPub.Security_Log("YS_CusShouldIncomeReport", 1, false, user))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                ds = oCn.RunProcReturn("exec h_p_YS_CusShouldIncomeReport " + sWhere, "h_p_YS_CusShouldIncomeReport");
                List<object> columnNameList = new List<object>();
                //娣诲姞鍒楀悕
@@ -65,10 +75,19 @@
        /// <returns></returns>
        [Route("YS_ReceiveReportController/GetYS_CusShouldIncomeEntryReport_Json")]
        [HttpGet]
        public object GetYS_CusShouldIncomeEntryReport_Json(string sWhere)
        public object GetYS_CusShouldIncomeEntryReport_Json(string sWhere, string user)
        {
            try
            {
                if (!DBUtility.ClsPub.Security_Log("YS_CusShouldIncomeEntryReport", 1, false, user))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                ds = oCn.RunProcReturn("exec h_p_YS_CusShouldIncomeEntryReport " + sWhere, "h_p_YS_CusShouldIncomeEntryReport");
                List<object> columnNameList = new List<object>();
                //娣诲姞鍒楀悕