TEnterpriseInfoMapper.java 1.69 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
package com.zehong.system.mapper;

import java.util.List;
import com.zehong.system.domain.TEnterpriseInfo;

/**
 * 企业信息Mapper接口
 * 
 * @author zehong
 * @date 2022-01-24
 */
public interface TEnterpriseInfoMapper 
{
    /**
     * 查询企业信息
     * 
     * @param enterpriseId 企业信息ID
     * @return 企业信息
     */
20
    public TEnterpriseInfo selectTEnterpriseInfoById(String enterpriseId);
21

22 23 24 25 26 27 28 29
    /**
     * 查询企业信息
     *
     * @param enterpriseName 企业信息名称
     * @return 企业信息
     */
    public TEnterpriseInfo selectTEnterpriseInfoByName(String enterpriseName);

30 31 32 33 34 35 36 37
    /**
     * 查询企业信息列表
     * 
     * @param tEnterpriseInfo 企业信息
     * @return 企业信息集合
     */
    public List<TEnterpriseInfo> selectTEnterpriseInfoList(TEnterpriseInfo tEnterpriseInfo);

38 39 40 41 42 43
    /**
     * 无条件查询所有企业
     * @return r
     */
    public List<TEnterpriseInfo> queryAllEnterprise();

44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
    /**
     * 新增企业信息
     * 
     * @param tEnterpriseInfo 企业信息
     * @return 结果
     */
    public int insertTEnterpriseInfo(TEnterpriseInfo tEnterpriseInfo);

    /**
     * 修改企业信息
     * 
     * @param tEnterpriseInfo 企业信息
     * @return 结果
     */
    public int updateTEnterpriseInfo(TEnterpriseInfo tEnterpriseInfo);

    /**
     * 删除企业信息
     * 
     * @param enterpriseId 企业信息ID
     * @return 结果
     */
66
    public int deleteTEnterpriseInfoById(String enterpriseId);
67 68 69 70 71 72 73

    /**
     * 批量删除企业信息
     * 
     * @param enterpriseIds 需要删除的数据ID
     * @return 结果
     */
74
    public int deleteTEnterpriseInfoByIds(String[] enterpriseIds);
75
}