ganzi-api/inventory-dao/src/main/java/com/rzyc/mapper/EntEmReservePlanMapper.java

47 lines
1.0 KiB
Java

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