2022-11-09 17:31:40 +08:00
|
|
|
package com.rzyc.mapper;
|
|
|
|
|
|
2022-11-11 19:57:18 +08:00
|
|
|
import com.rzyc.model.EntEmExpert;
|
2022-11-09 17:31:40 +08:00
|
|
|
import com.rzyc.model.EntEmReservePlan;
|
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
2022-11-11 19:57:18 +08:00
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
2022-11-09 17:31:40 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* <p>
|
|
|
|
|
* 企业应急预警 Mapper 接口
|
|
|
|
|
* </p>
|
|
|
|
|
*
|
|
|
|
|
* @author
|
|
|
|
|
* @since 2022-11-09
|
|
|
|
|
*/
|
2022-11-11 19:57:18 +08:00
|
|
|
@Repository
|
2022-11-09 17:31:40 +08:00
|
|
|
public interface EntEmReservePlanMapper extends BaseMapper<EntEmReservePlan> {
|
|
|
|
|
|
2022-11-11 19:57:18 +08:00
|
|
|
/**
|
|
|
|
|
* 企业应急预案
|
2022-11-14 17:51:04 +08:00
|
|
|
* @param enterpriseId 公司id
|
|
|
|
|
* @param entEmReservePlanName 预案名
|
2022-11-11 19:57:18 +08:00
|
|
|
* @return list
|
|
|
|
|
* */
|
2022-11-14 17:51:04 +08:00
|
|
|
List<EntEmReservePlan>selectEntEmReservePlanList(@Param("enterpriseId") String enterpriseId,@Param("entEmReservePlanName") String entEmReservePlanName);
|
2022-11-11 19:57:18 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 企业应急预案修改
|
|
|
|
|
* @param entEmReservePlan
|
|
|
|
|
* @return int
|
|
|
|
|
* */
|
|
|
|
|
int updateEntEmReservePlan(EntEmReservePlan entEmReservePlan);
|
|
|
|
|
|
2022-11-14 17:51:04 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 企业应急预案删除
|
|
|
|
|
* @param id 主键
|
|
|
|
|
* @return int
|
|
|
|
|
* */
|
|
|
|
|
int updateDelState(String id);
|
|
|
|
|
|
2022-11-09 17:31:40 +08:00
|
|
|
}
|