Ejemplo n.º 1
0
        public JObject saveSbb(string dm, string tablejsons)
        {
            JObject       re_json = new JObject();
            GDTXUserYSBQC qc      = set.getUserYSBQC(dm);

            set.saveUserYSBQCReportData(tablejsons, qc.Id.ToString(), dm);
            GTXMethod.UpdateYSBQC(qc.Id.ToString(), set.SBZT.DSB);
            string str = System.IO.File.ReadAllText(AppDomain.CurrentDomain.BaseDirectory + "/web-accept/wssb/" + dm + "e/saveSbb.json");

            re_json = JsonConvert.DeserializeObject <JObject>(str);
            return(re_json);
        }
Ejemplo n.º 2
0
        public ActionResult <JObject> saveSbb(string dm, string tablejsons)
        {
            JObject       re_json = new JObject();
            GDTXUserYSBQC qc      = set.getUserYSBQC(dm);

            set.saveUserYSBQCReportData(tablejsons, qc.Id.ToString(), dm);
            GTXMethod.UpdateYSBQC(qc.Id.ToString(), set.SBZT.DSB);
            string str = System.IO.File.ReadAllText(he.WebRootPath + "/web-accept/wssb/" + dm + "e/saveSbb.json");

            re_json = JsonConvert.DeserializeObject <JObject>(str);
            return(re_json);
        }