kongzy
2024-09-23 d015cc0b48ca51a2b93b6c60c91dc352a104b1e7
emergency/emergency-service/src/main/java/com/gkhy/safePlatform/emergency/controller/EmergencySuppliesMaintainController.java
@@ -24,7 +24,7 @@
    private EmergencySuppliesMaintainService emergencySuppliesMaintainService;
    /**
     * 应急物资检查列表
     * 应急物资保养列表
     */
    @RequestMapping(value = "/page/list" ,method = RequestMethod.POST)
    private ResultVO<List<EmergencySuppliesMaintainPageRespDTO>> list (@RequestBody PageQuery<EmergencySuppliesMaintainQuery> pageQuery){
@@ -33,7 +33,7 @@
    }
    /**
     * 应急物资检查新增
     * 应急物资保养新增
     */
    @RequestMapping(value = "/add",method = RequestMethod.POST)
    public ResultVO addEmergencySuppliesMaintain(Authentication authentication, @RequestBody EmergencySuppliesMaintainReqDTO emergencySuppliesMaintainReqDTO) {
@@ -42,7 +42,7 @@
    }
    /**
     * 应急物资检查详情
     * 应急物资保养详情
     */
    @RequestMapping(value = "/info/{id}",method = RequestMethod.GET)
    public ResultVO<EmergencySuppliesMaintainDetailRespDTO> getEmergencySuppliesMaintainById(@PathVariable("id")Long id){
@@ -50,7 +50,7 @@
    }
    /**
     * 应急物资检查修改
     * 应急物资保养修改
     */
    @RequestMapping(value = "/update",method = RequestMethod.POST)
    public ResultVO updateEmergencySuppliesMaintain(Authentication authentication, @RequestBody EmergencySuppliesMaintainReqDTO emergencySuppliesMaintainReqDTO) {
@@ -59,10 +59,10 @@
    }
    /**
     * 应急物资检查删除/批量删除
     * 应急物资保养删除/批量删除
     */
    @RequestMapping(value = "/batchDelete/{ids}",method = RequestMethod.GET)
    public ResultVO batchDeleteEmergencySuppliesMaintain(@PathVariable("ids")String ids){
    @RequestMapping(value = "/batchDelete",method = RequestMethod.POST)
    public ResultVO batchDeleteEmergencySuppliesMaintain(@RequestBody Long[] ids){
        return emergencySuppliesMaintainService.batchDeleteEmergencySuppliesMaintain(ids);
    }
}