| | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.gkhy.safePlatform.emergency.entity.EmergencyPlanInfo; |
| | | import com.gkhy.safePlatform.emergency.entity.EmergencyPlanInfoDetailDO; |
| | | import com.gkhy.safePlatform.emergency.entity.EmergencyPlanInfoPageDO; |
| | | import com.gkhy.safePlatform.emergency.query.db.EmergencyPlanDBQuery; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import java.util.List; |
| | | |
| | | @Repository |
| | | public interface EmergencyPlanInfoRepository extends BaseMapper<EmergencyPlanInfo> { |
| | | |
| | | List<EmergencyPlanInfoPageDO> selectEmergencyPlanList(Page<EmergencyPlanInfoPageDO> page, @Param("query") EmergencyPlanDBQuery emergencyPlanDBQuery); |
| | | |
| | | void addEmergencyPlan(EmergencyPlanInfo emergencyPlanInfo); |
| | | |
| | | EmergencyPlanInfoDetailDO selectEmergencyPlanById(@Param("id") Long id); |
| | | |
| | | void updateEmergencyPlan(EmergencyPlanInfo emergencyPlanInfo); |
| | | |
| | | void deleteEmergencyPlan(@Param("id")Long id); |
| | | |
| | | void updateAbolish(@Param("id")Long id,@Param("abolishStatus") Boolean abolishStatus); |
| | | } |