package com.zjrs.ggfw.rlzysc.bpo;


import org.mohrss.leaf.core.framework.web.controller.AjaxResponse;
import com.zjrs.ggfw.rlzysc.dto.AreaDTO;
import com.zjrs.ggfw.rlzysc.dto.ShUDTO;
import com.zjrs.ggfw.utils.FeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import jakarta.validation.Valid;

@Service
@FeignClient(name="ZJRS-ZWNW-SERVICE",configuration= FeignConfig.class)
public interface JbxxglFeignClientBPO {
    @PostMapping(value = "/api/jbxxgl/jbxxglcommon/getXzqhTree")
    public AjaxResponse getXzqhTree(@RequestBody AreaDTO dto);

    @PostMapping(value = "/api/jbxxgl/jbxxglcommon/getSshyTree")
    public AjaxResponse getSshyTree(@RequestBody AreaDTO dto);

    @PostMapping(value = "/api/rlzysc/qzzpgl/qzxxgl/grqz/grqzsh/doGrqzxxsh")
    public AjaxResponse doGrqzxxsh(@RequestBody @Valid ShUDTO dto);

    @PostMapping(value = "/api/rlzysc/qzzpgl/dwjbxxsh/doDwjbxxsh")
    public AjaxResponse doDwjbxxsh(@RequestBody @Valid ShUDTO dto);
}

