Ejemplo n.º 1
0
        /// <summary>
        /// 登录账号阅卷
        /// </summary>
        /// <returns></returns>
        private string ReadLogin()
        {
            string where = string.Empty;
            string yjxh = Request["yjxh"];

            where += " and YJXH='" + StringPlus.ReplaceSingle(yjxh) + "'";
            object[] values = new object[0];
            EDRS.BLL.YX_DZJZ_LSAJBD          bll       = new EDRS.BLL.YX_DZJZ_LSAJBD(Request);
            List <EDRS.Model.YX_DZJZ_LSAJBD> listmodel = bll.GetModelList(where, values);

            if (listmodel != null && listmodel.Count > 0)
            {
                return(JsonHelper.JsonString(listmodel));
            }
            return(ReturnString.JsonToString(Prompt.error, "请确认阅卷时间是否未开始或者已结束", null));
        }