yusijie
2025-02-12 d19fcd70a3b11339eb0c50b5c734eeca855a9a95
WebAPI/Controllers/应收管理/YS_ReceiveReportController.cs
@@ -20,17 +20,27 @@
        Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter();
        #region 瀹㈡埛搴旀敹璐︽鍒嗘瀽鎶ヨ〃
        #region   瀹㈡埛搴旀敹璐︽鍒嗘瀽鎶ヨ〃
        /// <summary>
        /// 瀹㈡埛搴旀敹璐︽鍒嗘瀽鎶ヨ〃
        /// </summary>
        /// <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>();
                //娣诲姞鍒楀悕