zhangf
2024-05-08 0414ddb0b2b3a7199ae6181a770f97ac140dbd73
emergency/emergency-service/src/main/java/com/gkhy/safePlatform/emergency/controller/EmergencySuppliesController.java
@@ -67,14 +67,20 @@
    public ResultVO batchDeleteEmergencySupplies(@RequestBody Long[] ids){
        return emergencySuppliesService.batchDeleteEmergencySupplies(ids);
    }
    /**
     * 应急物资-列表(为特殊作业提供数据)
     */
    @RequestMapping(value = "/emergencySuppliesList",method = RequestMethod.POST)
    public ResultVO<List<EmergencySuppliesTypeRespDTO>> emergencySuppliesList(Authentication authentication){
        ContextCacheUser currentUser = (ContextCacheUser) authentication.getPrincipal();
        return emergencySuppliesService.emergencySuppliesList(currentUser);
    }
//    @RequestMapping(value = "/emergencySuppliesList",method = RequestMethod.POST)
//    public List<EmergencySuppliesTypeRespDTO> emergencySuppliesList(Authentication authentication){
//        ContextCacheUser currentUser = (ContextCacheUser) authentication.getPrincipal();
//        return emergencySuppliesService.emergencySuppliesList(currentUser);
//    }
//    /**
//     * 应急物资-根据ids获取数据(为特殊作业提供数据)
//     */
//    @RequestMapping(value = "/listCountByIds",method = RequestMethod.POST)
//    public List<EmergencySuppliesRespDTO> listCountByIds(Authentication authentication,@RequestBody List<Long> ids){
//        ContextCacheUser currentUser = (ContextCacheUser) authentication.getPrincipal();
//        return emergencySuppliesService.listCountByIds(currentUser,ids);
//    }
}