Esempio n. 1
0
        public Dictionary <string, object> GetPlanCheckAndDetail(string TASK_ID)
        {
            Dictionary <string, object> r = new Dictionary <string, object>();

            try
            {
                DataSet ds = db.GetPlanCheckAndDetail(TASK_ID);
                r["message"]   = "成功";
                r["code"]      = 2000;
                r["detail"]    = ds.Tables[0];
                r["checkplan"] = ds.Tables[1];
            }
            catch (Exception e)
            {
                r["code"]    = -1;
                r["message"] = e.Message;
            }
            return(r);
        }