public ActionResult GetSysUsers() { IGetSystemData _IGetSysData = new GetSystemData(); var UserList = _IGetSysData.GetSysUser(); var dt = ConverttoDataTable(UserList); return(this.SuccessData(dt)); }
public ActionResult AddPerson(string No) { IGetSystemData _IGetSysData = new GetSystemData(); var user = _IGetSysData.GetEmployeeNoInfo(No); if (user == null) { return(this.FailedMsg("工号不存在")); } bool IsSuccess = _IGetSysData.InsertPersonInfo(user, this.CurrentSession.UserId); return(this.SuccessData()); }