Exemplo n.º 1
0
        public static GTXResult GetCompanyDetail()
        {
            string       companyId = sm.companyId;
            string       path      = PracticePath;
            publicmethod p         = new publicmethod();
            string       fullpath  = path + "/APIPractice/Company.asmx/GetDetailByCompanyId?CompanyId=" + companyId;
            string       json      = p.Get(fullpath);

            return(JsonConvert.DeserializeObject <GTXResult>(json));
        }
Exemplo n.º 2
0
        /// <summary>
        /// 更新英申报清册的申报税额
        /// </summary>
        public static GTXResult UpdateSBSE(string userYSBQCId, string SBSE)
        {
            string       classid  = sm.classId;
            string       path     = TikuPath;
            publicmethod p        = new publicmethod();
            string       fullpath = path + "/GTX/GDTXGuiZhouUserYSBQC/UpdateSBSE?Id=" + userYSBQCId + "&classid=" + classid + "&SBSE=" + SBSE;
            string       json     = p.Get(fullpath);

            return(JsonConvert.DeserializeObject <GTXResult>(json));
        }
Exemplo n.º 3
0
        /// <summary>
        /// 获取厦门国税通用的已保存的报表数据
        /// </summary>
        /// <returns></returns>
        public static GTXResult GetUserReportData(string userYsbqcId, string reportCode)
        {
            string       classid = sm.classId;
            string       path    = TikuPath;
            publicmethod p       = new publicmethod();
            string       json    = p.HttpPost(path + "/GTX/GDTXGuiZhouUserYSBQCReportData/Get", string.Format("classid={0}&userYsbqcId={1}&reportCode={2}"
                                                                                                              , classid, userYsbqcId, reportCode));

            return(JsonConvert.DeserializeObject <GTXResult>(json));
        }
Exemplo n.º 4
0
        /// <summary>
        /// 获取学员题目信息
        /// </summary>
        /// <param name="id">用户题目id</param>
        /// <returns></returns>
        public static GTXResult GetUserQuestion(string id)
        {
            string       userid   = sm.userId;
            string       classid  = sm.classId;
            string       path     = 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));
        }
Exemplo n.º 5
0
        /// <summary>
        /// 获取国地税应申报清册记录
        /// </summary>
        /// <returns></returns>
        public static GTXResult GetUserYSBQC()
        {
            string userid     = sm.userId;
            string questionId = sm.questionId;
            string classid    = sm.classId;

            string       path     = TikuPath;
            publicmethod p        = new publicmethod();
            string       fullpath = path + "/GTX/GDTXGuiZhouUserYSBQC/GetList?userid=" + userid + "&questionId=" + questionId + "&classid=" + classid;
            string       json     = p.Get(fullpath);

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

            if (reportCode == "")
            {
                nowtbzt = tbzt;
            }
            string       classid  = sm.classId;
            string       path     = TikuPath;
            publicmethod p        = new publicmethod();
            string       fullpath = path + "/GTX/GDTXGuiZhouUserYSBQC/Updatetbzt?Id=" + userYSBQCId + "&classid=" + classid + "&tbzt=" + nowtbzt;
            string       json     = p.Get(fullpath);

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