package com.vci.ubcs.code.webservice.feign;
|
|
/***
|
* @author xiejun
|
* @date 2023-05-26
|
*/
|
|
import com.vci.ubcs.code.webservice.vo.DockingGroupDataVO;
|
import com.vci.ubcs.code.webservice.vo.DockingResultVO;
|
import com.vci.ubcs.starter.exception.VciBaseException;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import javax.validation.constraints.NotNull;
|
|
/****
|
* 集团码申请提供给外部调用接口
|
* @author xiejun
|
* @date 2023-05-26
|
*/
|
@FeignClient(name = "qmsIntegration",
|
url = "${docking.apply.jtInterUrl:http://116.205.176.185:8099}",
|
path = "")
|
public interface MdmApplyGroupCodeProvider {
|
|
/**
|
* mdm向集团申请集团码接口
|
* @param dockingGroupDataVO AO/TO的信息
|
* @return 执行结果
|
*/
|
@PostMapping("/externalMainData/receiveAddApply")
|
DockingResultVO receiveAddApply(@NotNull @RequestBody DockingGroupDataVO dockingGroupDataVO)throws VciBaseException;
|
/**
|
* mdm向集团更新集团码接口
|
* @param dockingGroupDataVO AO/TO的信息
|
* @return 执行结果
|
*/
|
|
@PostMapping("/externalMainData/receiveAddApply")
|
DockingResultVO receiveEditApply(@NotNull @RequestBody DockingGroupDataVO dockingGroupDataVO)throws VciBaseException;
|
}
|