package com.inspect.patrol.service;

import com.alibaba.fastjson.JSONObject;
import com.inspect.base.core.web.domain.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("inspect-metadata")
public interface BasedataPatrolPointPresetService {
    @PostMapping({"/patrolpointmnt/patrolpointpreset"})
    AjaxResult add(@RequestBody JSONObject jsonObject);

    @PostMapping({"/patrolpointmnt/patrolpointpreset/remove/{patrolpointPresetIds}"})
    AjaxResult remove(@PathVariable("patrolpointPresetIds") Long[] presetIds);
}
