FieldDictMapper.java 654 Bytes
package com.subsidy.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.subsidy.model.FieldDictDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 行业字典表 Mapper 接口
 * </p>
 *
 * @author Tuyp
 * @since 2024-01-11
 */
@Repository
public interface FieldDictMapper extends BaseMapper<FieldDictDO> {

    IPage<FieldDictDO> queryFields(IPage ipage, String fieldName);


    /**
     * 查看公司所有的行业
     *
     * @param companyId
     * @return
     */
    List<FieldDictDO> queryCompanyFields(Long companyId);

}