示例#1
0
        /// <summary>
        /// 获取报表数据配置记录
        /// </summary>
        /// <param name="toReportCode"></param>
        /// <returns></returns>
        public static GTXResult GetAHReportDataConfig(string toReportCode)
        {
            string       path     = System.Configuration.ConfigurationManager.AppSettings["Practicepath"];
            publicmethod p        = new publicmethod();
            string       fullpath = path + "/APIPractice/GuiZhou/ReportDataConfigGuiZhou.asmx/GetListByToReportCode?toReportCode=" + toReportCode;
            string       json     = p.Get(fullpath);

            return(JsonConvert.DeserializeObject <GTXResult>(json));
        }
示例#2
0
        /// <summary>
        /// 获取企业信息表记录
        /// </summary>
        /// <returns></returns>
        public static GTXResult GetCompany()
        {
            string       companyId = CurrentUser.GetInstance().GetCurrentCompanyId;
            string       path      = config["appSettings:Practicepath"];
            publicmethod p         = new publicmethod();
            string       fullpath  = path + "/APIPractice/Company.asmx/GetByCompanyId?CompanyId=" + companyId;
            string       json      = p.Get(fullpath);

            return(JsonConvert.DeserializeObject <GTXResult>(json));
        }
示例#3
0
        /// <summary>
        /// 更新英申报清册的申报税额
        /// </summary>
        public static GTXResult UpdateSBSE(string userYSBQCId, string SBSE)
        {
            string       classid  = CurrentUser.GetInstance().GetCurrentClassId;
            string       path     = config["appSettings:tikupath"];
            publicmethod p        = new publicmethod();
            string       fullpath = path + "/GTX/GDTXHuNanUserYSBQC/UpdateSBSE?Id=" + userYSBQCId + "&classid=" + classid + "&SBSE=" + SBSE;
            string       json     = p.Get(fullpath);

            return(JsonConvert.DeserializeObject <GTXResult>(json));
        }
示例#4
0
        /// <summary>
        /// 获取企业联系人
        /// </summary>
        /// <returns></returns>
        public static GTXResult GetCompanyPerson()
        {
            string       companyId = CurrentUser.GetInstance().GetCurrentCompanyId;
            string       path      = System.Configuration.ConfigurationManager.AppSettings["Practicepath"];
            publicmethod p         = new publicmethod();
            string       fullpath  = path + "/APIPractice/CompanyPerson.asmx/GetByCompanyId?CompanyId=" + companyId;
            string       json      = p.Get(fullpath);

            return(JsonConvert.DeserializeObject <GTXResult>(json));
        }
示例#5
0
        /// <summary>
        /// 更新应申报清册的状态,已申报
        /// </summary>
        public static GTXResult UpdateYSBQC(string userYSBQCId, string SBZT)
        {
            string       classid  = CurrentUser.GetInstance().GetCurrentClassId;
            string       path     = System.Configuration.ConfigurationManager.AppSettings["tikupath"];
            publicmethod p        = new publicmethod();
            string       fullpath = path + "/GTX/GDTXGuiZhouUserYSBQC/UpdateSBZT?Id=" + userYSBQCId + "&classid=" + classid + "&SBZT=" + SBZT;
            string       json     = p.Get(fullpath);

            return(JsonConvert.DeserializeObject <GTXResult>(json));
        }
示例#6
0
        /// <summary>
        /// 获取学员题目信息
        /// </summary>
        /// <param name="id">用户题目id</param>
        /// <returns></returns>
        public static GTXResult GetUserQuestion(string id)
        {
            string       userid   = CurrentUser.GetInstance().GetCurrentUserId;
            string       classid  = CurrentUser.GetInstance().GetCurrentClassId;
            string       path     = config["appSettings:tikupath"];
            publicmethod p        = new publicmethod();
            string       fullpath = path + "/GTX/GTXUserQuestion/GetEnter?userid=" + userid + "&questionid=" + id + "&classid=" + classid;
            string       json     = p.Get(fullpath);

            return(JsonConvert.DeserializeObject <GTXResult>(json));
        }
示例#7
0
        //作废
        public static GTXResult InitDataDF(string UserYSBQCId)
        {
            string       classid        = CurrentUser.GetInstance().GetCurrentClassId;
            string       UserQuestionId = CurrentUser.GetInstance().GetCurrentUserQuestionId;
            string       path           = System.Configuration.ConfigurationManager.AppSettings["tikupath"];
            publicmethod p        = new publicmethod();
            string       fullpath = path + "/GTX/GDTXGuiZhouUserYSBQC/InitDataDF?classid=" + classid + "&UserYSBQCId=" + UserYSBQCId + "&UserQuestionId=" + UserQuestionId;
            string       json     = p.Get(fullpath);

            return(JsonConvert.DeserializeObject <GTXResult>(json));
        }
示例#8
0
        /// <summary>
        /// 根据userYSBQCId获取国地税的的应申报清册记录
        /// </summary>
        /// <returns></returns>
        public static GTXResult GetAHYSBQCByUserYSBQCId(string UserYSBQCId)
        {
            string classid = CurrentUser.GetInstance().GetCurrentClassId;

            string       path     = System.Configuration.ConfigurationManager.AppSettings["tikupath"];
            publicmethod p        = new publicmethod();
            string       fullpath = path + "/GTX/GDTXAHUserYSBQC/GetModel?Id=" + UserYSBQCId + "&classid=" + classid;
            string       json     = p.Get(fullpath);

            return(JsonConvert.DeserializeObject <GTXResult>(json));
        }
示例#9
0
        public static GTXResult GetEnter()
        {
            string       classid    = CurrentUser.GetInstance().GetCurrentClassId;
            string       userid     = CurrentUser.GetInstance().GetCurrentUserId;
            string       QuestionId = CurrentUser.GetInstance().GetCurrentQuestionId;
            string       path       = System.Configuration.ConfigurationManager.AppSettings["tikupath"];
            publicmethod p          = new publicmethod();
            string       fullpath   = path + "/GTX/GTXUserQuestion/GetEnter?userid=" + userid + "&questionid=" + QuestionId + "&classid=" + classid;
            string       json       = p.Get(fullpath);

            return(JsonConvert.DeserializeObject <GTXResult>(json));
        }
示例#10
0
        /// <summary>
        /// 更新应申报清册的填报情况
        /// </summary>
        public static GTXResult UpdateYSBQCxbsz(string userYSBQCId, string reportCode, string xbsz)
        {
            string nowxbsz = xbsz;

            string       classid  = CurrentUser.GetInstance().GetCurrentClassId;
            string       path     = System.Configuration.ConfigurationManager.AppSettings["tikupath"];
            publicmethod p        = new publicmethod();
            string       fullpath = path + "/GTX/GDTXGuangXiUserYSBQC/Updatexbsz?Id=" + userYSBQCId + "&classid=" + classid + "&xbsz=" + nowxbsz;
            string       json     = p.Get(fullpath);

            return(JsonConvert.DeserializeObject <GTXResult>(json));
        }
示例#11
0
        /// <summary>
        /// 获取厦门国税的的应申报清册记录
        /// </summary>
        /// <returns></returns>
        public static GTXResult GetHuNanYSBQC()
        {
            string userid     = CurrentUser.GetInstance().GetCurrentUserId;
            string questionId = CurrentUser.GetInstance().GetCurrentQuestionId;
            string classid    = CurrentUser.GetInstance().GetCurrentClassId;

            string       path     = config["appSettings:tikupath"];
            publicmethod p        = new publicmethod();
            string       fullpath = path + "/GTX/GDTXHuNanUserYSBQC/GetList?userid=" + userid + "&questionId=" + questionId + "&classid=" + classid;
            string       json     = p.Get(fullpath);

            return(JsonConvert.DeserializeObject <GTXResult>(json));
        }
示例#12
0
        /// <summary>
        /// 更新英申报清册的填报情况
        /// </summary>
        public static GTXResult UpdateYSBQCtbzt(string userYSBQCId, string reportCode, string tbzt)
        {
            string nowtbzt = (tbzt + reportCode + ";");

            if (reportCode == "")
            {
                nowtbzt = tbzt;
            }
            string       classid  = CurrentUser.GetInstance().GetCurrentClassId;
            string       path     = config["appSettings:tikupath"];
            publicmethod p        = new publicmethod();
            string       fullpath = path + "/GTX/GDTXHuNanUserYSBQC/Updatetbzt?Id=" + userYSBQCId + "&classid=" + classid + "&tbzt=" + nowtbzt;
            string       json     = p.Get(fullpath);

            return(JsonConvert.DeserializeObject <GTXResult>(json));
        }