package com.patzn.lims.sys.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.patzn.lims.sys.entity.SysCompanyRelModule;
import com.patzn.lims.core.web.IBaseService;

/**
 * <p>
 * 公司模块关联表 服务类
 * </p>
 *
 * @author patzn
 * @since 2018-03-07
 */
public interface ISysCompanyRelModuleService extends IBaseService<SysCompanyRelModule> {


    IPage<SysCompanyRelModule> page(Page<SysCompanyRelModule> page, SysCompanyRelModule sysCompanyRelModule);


    boolean save(Long companyId, Long[] moduleIds);


    boolean remove(Long companyId, Long[] moduleIds);
}
