package com.yuchen.saas.park.api.feign.imspect;

import com.yuchen.saas.park.api.dto.fire.inspect.plan.ClosePlanTaskReqDTO;
import org.nest.springwrap.core.launch.app.AppNameConstant;
import org.nest.springwrap.core.tool.api.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author zhouhanwei
 * @create 2024/4/9 16:16
 */
@FeignClient(
        value = AppNameConstant.SAAS_PARK,
        fallbackFactory = AdminPlanTaskFallback.class
)
public interface AdminPlanTaskFeign {

    @PostMapping("/inspectPlanTask/closePlanTask")
    R closePlanTask(@Validated @RequestBody ClosePlanTaskReqDTO reqDTO);


}
