chenzx
2024-12-26 bbcf5a65e0aeae3e6a4bae91284ce80ae8d3d5f9
GasolineBlend/Controllers/SubsidyDataController.cs
@@ -57,6 +57,35 @@
            }
        }
        ///获取补贴列表数据
        /// </summary>
        /// <param name="PageNumber"></param>
        /// <param name="PageSize"></param>
        /// <returns></returns>
        [HttpPost]
        public ActionResult GetSubsidyDataFilter( string Keyword, string CompanyName)
        {
            try
            {
                var list = _acc.GetSubsidyDataFilter(Keyword, CompanyName);
                if (list == null)
                {
                    return SuccessNoShow(data: "暂无此公司");
                }
                return SuccessNoShow(data: list);
            }
            catch (Exception e)
            {
                LogHelper.Write(Level.Error, "获取政策列表数据 GetSubsidyDataFilter", e, OperatorProvider.Instance.Current == null ? "GuestEx" : OperatorProvider.Instance.Current.LoginName);
                return Error();
            }
        }
        [HttpPost]
        public ActionResult UploadFile(HttpPostedFileBase file)
        {
@@ -123,7 +152,8 @@
        {
            try
            {
                var id = OperatorProvider.Instance.Current.UserId;
                //var id = OperatorProvider.Instance.Current.UserId;
                var id = 1;
                if (id == 0)
                {
                    return Error(message: "账户未登录!请登录后查询", data: "-1");