Ejemplo 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));
        }
Ejemplo 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/GDTXBeiJingUserYSBQC/UpdateSBSE?Id=" + userYSBQCId + "&classid=" + classid + "&SBSE=" + SBSE;
            string       json     = p.Get(fullpath);

            return(JsonConvert.DeserializeObject <GTXResult>(json));
        }
Ejemplo n.º 3
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));
        }
Ejemplo n.º 4
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/GDTXBeiJingUserYSBQC/GetList?userid=" + userid + "&questionId=" + questionId + "&classid=" + classid;
            string       json     = p.Get(fullpath);

            return(JsonConvert.DeserializeObject <GTXResult>(json));
        }
Ejemplo n.º 5
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/GDTXBeiJingUserYSBQC/Updatetbzt?Id=" + userYSBQCId + "&classid=" + classid + "&tbzt=" + nowtbzt;
            string       json     = p.Get(fullpath);

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