package com.gkhy.safePlatform.emergency.repository;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.gkhy.safePlatform.emergency.entity.EmergencyPlanAreaInfo;
|
import com.gkhy.safePlatform.emergency.entity.EmergencyPlanAreaInfoDO;
|
import org.apache.ibatis.annotations.Param;
|
import org.springframework.stereotype.Repository;
|
|
import java.util.List;
|
|
|
@Repository
|
public interface EmergencyPlanAreaInfoRepository extends BaseMapper<EmergencyPlanAreaInfo> {
|
|
void addEmergencyPlanArea(EmergencyPlanAreaInfo emergencyPlanAreaInfo);
|
|
List<EmergencyPlanAreaInfoDO> selectEmergencyPlanAreaByPlanId(@Param("planId") Long planId);
|
|
void deleteEmergencyPlanAreaByIds(List<Long> ids);
|
|
void deleteEmergencyPlanAreaByPlanId(@Param("planId")Long planId);
|
}
|