|
|
|
|
@ -19,8 +19,7 @@ import java.util.Map; |
|
|
|
|
* @author Chill |
|
|
|
|
*/ |
|
|
|
|
@FeignClient( |
|
|
|
|
value = LauncherConstant.APPLICATION_ERP_DATA_NAME, |
|
|
|
|
fallback = IErpDataProduceClientFallback.class |
|
|
|
|
value = LauncherConstant.APPLICATION_ERP_DATA_NAME |
|
|
|
|
) |
|
|
|
|
public interface IErpDataProduceClient { |
|
|
|
|
|
|
|
|
|
@ -37,7 +36,7 @@ public interface IErpDataProduceClient { |
|
|
|
|
* 缺件申报-通过零件号获取批次号 |
|
|
|
|
*/ |
|
|
|
|
@GetMapping(QUERY_BATCH) |
|
|
|
|
R<QueryBatchVO> queryBatch(String partCode); |
|
|
|
|
R<QueryBatchVO> queryBatch(@RequestParam("partCode") String partCode); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 返工订单 |
|
|
|
|
@ -49,13 +48,13 @@ public interface IErpDataProduceClient { |
|
|
|
|
* 获取产品区域 |
|
|
|
|
*/ |
|
|
|
|
@GetMapping(PRODUCT_APP_AREA) |
|
|
|
|
R<Map<String, String>> getProductAppareaByPartCode(String partCode); |
|
|
|
|
R<Map<String, String>> getProductAppareaByPartCode(@RequestParam("partCode") String partCode); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 获取产品版本 |
|
|
|
|
*/ |
|
|
|
|
@GetMapping(VERSION) |
|
|
|
|
R<String> getVersionByPartCode(String partCode); |
|
|
|
|
R<String> getVersionByPartCode(@RequestParam("partCode") String partCode); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 获取保管员 |
|
|
|
|
|