public RoleInfo saveRoleInfo(RoleInfo roleInfo) { RoleInfo reRoleInfo = null; roleInfo.Uuid = Auxiliary.Get_UUID(); roleInfo.Opuser = Auxiliary.loginName; roleInfo.Createtime = Auxiliary.Get_CurrentTime(); if (roleDao.saveRoleInfo(roleInfo)) { reRoleInfo = roleDao.queryMenuInfoById(roleInfo.Uuid); } return(reRoleInfo); }