TPlanInfoMapper.java 1.62 KB
Newer Older
1 2 3 4 5 6
package com.zehong.system.mapper;

import java.util.List;
import java.util.Map;

import com.zehong.system.domain.TPlanInfo;
7
import org.apache.ibatis.annotations.Param;
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68

/**
 * 应急预案Mapper接口
 * 
 * @author zehong
 * @date 2022-02-11
 */
public interface TPlanInfoMapper 
{
    /**
     * 查询应急预案
     * 
     * @param planId 应急预案ID
     * @return 应急预案
     */
    public TPlanInfo selectTPlanInfoById(Long planId);

    /**
     * 查询应急预案列表
     * 
     * @param tPlanInfo 应急预案
     * @return 应急预案集合
     */
    public List<TPlanInfo> selectTPlanInfoList(TPlanInfo tPlanInfo);

    /**
     * 新增应急预案
     * 
     * @param tPlanInfo 应急预案
     * @return 结果
     */
    public int insertTPlanInfo(TPlanInfo tPlanInfo);

    /**
     * 修改应急预案
     * 
     * @param tPlanInfo 应急预案
     * @return 结果
     */
    public int updateTPlanInfo(TPlanInfo tPlanInfo);

    /**
     * 删除应急预案
     * 
     * @param planId 应急预案ID
     * @return 结果
     */
    public int deleteTPlanInfoById(Long planId);

    /**
     * 批量删除应急预案
     * 
     * @param planIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteTPlanInfoByIds(Long[] planIds);

    /**
     * 公司列表
     */
    public List<Map<String,Object>> selectEnterprise();
69 70 71 72 73 74

    /**
     * 公司列表 - 转办时使用 - 排除了一些之前派发的公司
     * @return
     */
    public List<Map<String,Object>> transferEnterpriseList(@Param(value = "excludeEnterpriseIdList") List<String> excludeEnterpriseIdList);
75
}