ZhuDongming
2019-11-28 70830c5b2e96cc1c76d4adb88ddced55e7476547
src/main/java/com/moral/mapper/RoleMenuMapper.java
@@ -2,17 +2,15 @@
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.moral.common.mapper.BaseMapper;
import com.moral.entity.RoleMenu;
import tk.mybatis.mapper.entity.Example;
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {
    List<RoleMenu> getRoleMenuList(Example example);
    List<Integer> getChannels(@Param("roleId") Integer roleId);
    int deleteByPrimaryKeyOwn(Integer id);
    int updateByPrimaryKey(RoleMenu roleMenu);
    List<Integer> getMenus(@Param("roleId") Integer roleId);
}