|  |  |  | 
|---|
|  |  |  | import com.moral.api.util.LogUtils; | 
|---|
|  |  |  | import com.moral.constant.Constants; | 
|---|
|  |  |  | import com.moral.constant.ResponseCodeEnum; | 
|---|
|  |  |  | import com.moral.util.TokenUtils; | 
|---|
|  |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
|---|
|  |  |  | import org.springframework.stereotype.Service; | 
|---|
|  |  |  | import org.springframework.transaction.annotation.Transactional; | 
|---|
|  |  |  | 
|---|
|  |  |  | manageRoleMenuMapper.insertBatch(mapList); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | //注销token | 
|---|
|  |  |  | TokenUtils.destoryToken(id); | 
|---|
|  |  |  | List<ManageMenu> manageMenusNew = manageMenuMapper.getManageMenuByRoleId(id); | 
|---|
|  |  |  | List manageMenuOldList = new ArrayList(); | 
|---|
|  |  |  | List manageMenuNewList = new ArrayList(); | 
|---|