package cn.com.ty.lift.system.settings.dao.mapper;

import cn.com.ty.lift.system.settings.dao.entity.GlobalSet;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 全局设置 Mapper 接口
 * </p>
 *
 * @author wang-hai-cheng
 * @since 2019-12-13
 */
public interface GlobalSetMapper extends BaseMapper<GlobalSet> {

    @Select("select id from maintenance_company where is_certificated=1")
    List<Long> companyIds();
}
