package com.gkhy.safePlatform.emergency.service; import com.gkhy.safePlatform.commons.co.ContextCacheUser; import com.gkhy.safePlatform.commons.query.PageQuery; import com.gkhy.safePlatform.commons.vo.ResultVO; import com.gkhy.safePlatform.commons.vo.SearchResultVO; import com.gkhy.safePlatform.emergency.model.dto.req.EmergencySuppliesReqDTO; import com.gkhy.safePlatform.emergency.model.dto.resp.*; import com.gkhy.safePlatform.emergency.query.EmergencySuppliesQuery; import java.util.List; public interface EmergencySuppliesService { SearchResultVO> selectEmergencySuppliesList(PageQuery query); ResultVO addEmergencySupplies(Long uid, EmergencySuppliesReqDTO emergencySuppliesReqDTO); ResultVO getEmergencySuppliesById(Long id); ResultVO updateEmergencySupplies(Long uid, EmergencySuppliesReqDTO emergencySuppliesReqDTO); ResultVO batchDeleteEmergencySupplies( Long[] ids); /** * 应急物资-列表(为特殊作业提供数据) */ List emergencySuppliesList(ContextCacheUser currentUser); List listCountByIds(ContextCacheUser currentUser, List ids); List getEmergencySupplies(); }