jinpengyong
2020-04-30 d1f1b489eea7730bb1cb78cdae24c626db835298
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);
}