| | |
| | | import com.moral.common.bean.PageBean; |
| | | import com.moral.common.util.ExampleUtil; |
| | | import com.moral.entity.Menu; |
| | | import com.moral.entity.RoleMenu; |
| | | import com.moral.mapper.MenuMapper; |
| | | import com.moral.mapper.RoleMenuMapper; |
| | | import com.moral.service.MenuService; |
| | |
| | | Example example = new Example(ENTITY_CLASS); |
| | | example.or().andIn("id", Arrays.asList(ids)); |
| | | menuMapper.updateByExampleSelective(menu, example); |
| | | Example roleMenuExample = new Example(RoleMenu.class); |
| | | roleMenuExample.or().andIn("menuId", Arrays.asList(ids)); |
| | | roleMenuMapper.deleteByExample(roleMenuExample); |
| | | } |
| | | |
| | | @Override |