Exemplo n.º 1
0
        public ActionResult NextAuditUser()
        {
            string       VerfiyKey      = Request["verfiykey"];
            string       VerfiyNodeCode = Request["NodeCode"];
            Verify_Users model          = atInstance.GetVerifyUser(VerfiyKey, VerfiyNodeCode);

            if (model != null)
            {
                var stuffModel = new Bll_Bse_Employee().GetModel(" AND Emp_Code='" + model.VU_User + "' ");
                //var departModel = new Bll_HR_Department().GetModel(" AND Dept_Code='" + model.VU_Dept + "' ");

                model.VU_User = stuffModel != null ? stuffModel.Emp_Name : "";
                model.VU_Dept = stuffModel != null ? stuffModel.Emp_Dept_Name : "";

                return(Json(model));
            }
            else
            {
                return(Content("fail"));
            }
        }