zhangfeng
2022-09-27 6de6bb0fc1bf4cd5535e33484ad96b0f273b2b9b
emergency/emergency-service/src/main/java/com/gkhy/safePlatform/emergency/controller/EmergencySuppliesController.java
@@ -75,6 +75,14 @@
        ContextCacheUser currentUser = (ContextCacheUser) authentication.getPrincipal();
        return emergencySuppliesService.emergencySuppliesList(currentUser);
    }
    /**
     * 应急物资-根据ids获取数据(为特殊作业提供数据)
     */
    @RequestMapping(value = "/listCountByIds",method = RequestMethod.POST)
    public ResultVO<List<EmergencySuppliesRespDTO>> listCountByIds(Authentication authentication,@RequestBody List<Long> ids){
        ContextCacheUser currentUser = (ContextCacheUser) authentication.getPrincipal();
        return emergencySuppliesService.listCountByIds(currentUser,ids);
    }
}