zrg
2024-01-16 4ac77d109b9245a96e8ff679f2fd8a386b1ca8de
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>();
                //娣诲姞鍒楀悕