package com.vci.ubcs.code.feign; import com.vci.ubcs.code.vo.pagemodel.SearchItemParam; import com.vci.ubcs.code.vo.pagemodel.SearchItemVO; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; import javax.validation.constraints.NotNull; import java.util.Map; /**** * 从外部获取型号代号,或者项目代号 * @author xiejun * @date 2023-05-26 */ @FeignClient(name = "erpIntegration", url = "${erp.item.url:http://127.0.0.1:8080}", path = "") public interface MdmSearchItemCodeProvider { /*** * 查询项目代号或者型号代号 * @param searchDataMap * @return 执行结果 */ @PostMapping("/api/pp/pp/ext/extend/v1.0/getppModelByElem") SearchItemVO getppModelByElem(@RequestParam Map searchDataMap); }