| | |
| | | import com.gkhy.safePlatform.commons.co.ContextCacheUser; |
| | | import com.gkhy.safePlatform.commons.vo.ResultVO; |
| | | import com.gkhy.safePlatform.commons.vo.SearchResultVO; |
| | | |
| | | import com.gkhy.safePlatform.emergency.rpc.api.model.dto.req.EmergencyExecuteCountRPCReq; |
| | | import com.gkhy.safePlatform.emergency.rpc.api.model.dto.req.EmergencyExecuteNumRPCReq; |
| | | import com.gkhy.safePlatform.emergency.rpc.api.model.dto.req.EmergencyExecuteTimeRPCReq; |
| | | import com.gkhy.safePlatform.emergency.rpc.api.model.dto.resp.EmergencyExecuteNumRPCResp; |
| | | import com.gkhy.safePlatform.emergency.rpc.api.model.dto.resp.EmergencyExecuteTimeRPCResp; |
| | | import com.gkhy.safePlatform.emergency.rpc.api.model.dto.resp.EmergencySuppliesRPCResp; |
| | | import com.gkhy.safePlatform.emergency.rpc.api.model.dto.resp.EmergencySuppliesTypeRPCResp; |
| | | import com.gkhy.safePlatform.emergency.rpc.api.model.dto.resp.*; |
| | | |
| | | |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | // RPC接口--4、传入部门ID和年份月份,查询该部门及其子部门,在指定的年份,或者指定的月份的应急演练的次数 |
| | | SearchResultVO<List<EmergencyExecuteNumRPCResp>> getNumByDeptIds(EmergencyExecuteNumRPCReq query); |
| | | |
| | | //RPC接口--5、按照物资类型获取列表 |
| | | |
| | | //RPC接口--按照物资类型获取列表 |
| | | ResultVO<List<EmergencySuppliesTypeRPCResp>> emergencySuppliesList(ContextCacheUser currentUser); |
| | | |
| | | //RPC接口--6、根据ids获取库存数量 |
| | | //RPC接口--根据ids获取库存数量 |
| | | ResultVO<List<EmergencySuppliesRPCResp>> listCountByIds(ContextCacheUser currentUser,List<Long> ids); |
| | | |
| | | /*****************************************重构***********************************************************/ |
| | | // RPC接口--1、传入部门ID,查询该部门最后一次完成应急演练的时间 |
| | | ResultVO<EmergencyExecuteLastTimeRPCResp> getExecuteLastTimeByDeptId(Long depId); |
| | | |
| | | // RPC接口--2、传入部门ID,查询该部门以及子级部门中最后一次完成应急演练的时间 |
| | | ResultVO<EmergencyExecuteLastTimeRPCResp> getExecuteLastTimeByDeptIds(Long depId); |
| | | |
| | | // RPC接口--3、传入部门ID,指定月份 ,统计演练次数 |
| | | ResultVO<StatisticsDepLevelMonthEexcuteRPCRespDTO> getExecuteCountByDeptIdAndMonth(EmergencyExecuteCountRPCReq query); |
| | | // RPC接口--4、传入部门ID,指定年份 ,查询部门演练数据,并按月统计演练次数 |
| | | ResultVO<StatisticsDepLevelYearExecuteRPCRespDTO> getExecuteCountByDeptIdAndYear(EmergencyExecuteCountRPCReq query); |
| | | // RPC接口--5、传入部门ID,指定月份 ,查询部门以及子级部门演练数据,统计演练次数 |
| | | ResultVO<List<StatisticsDepLevelMonthEexcuteRPCRespDTO>> getExecuteCountByDeptIdsAndMonth(EmergencyExecuteCountRPCReq query); |
| | | // RPC接口--6、传入部门ID,指定年份 ,查询部门以及子级部门演练数据 并按部门等级,月份,统计演练次数 |
| | | ResultVO<List<StatisticsDepLevelYearExecuteRPCRespDTO>> getExecuteCountByDeptIdsAndYear(EmergencyExecuteCountRPCReq query); |
| | | |
| | | } |