|
|
@@ -267,4 +267,13 @@ public class ComponentController {
|
|
|
return goodsService.pageGoodsByKeyword(pageInfo, original, keyword);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 根据批次号获取器件信息
|
|
|
+ * @param batchIds
|
|
|
+ * @return 器件信息
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/batchId", method = RequestMethod.POST, produces = "application/json")
|
|
|
+ public List<ComponentInfo> getBatchBrands(@RequestBody List<Long> batchIds) {
|
|
|
+ return componentService.getBatchComponents(batchIds);
|
|
|
+ }
|
|
|
}
|