修改一般贸易的详情数据查询
This commit is contained in:
+4
-3
@@ -17,9 +17,10 @@ public class MaterialPushRecordApi {
|
||||
@Resource
|
||||
private MaterialPushRecordService materialPushRecordService;
|
||||
|
||||
@ApiOperation("批量查询物料推送数据(优先查推送快照,没有则调WMS查实时数据)")
|
||||
@ApiOperation("批量查询物料推送数据(先按orderId查单证推送快照,再按物料id查推送快照,最后调WMS)")
|
||||
@GetMapping("/getBatchByIds")
|
||||
public AjaxResult getBatchByIds(@RequestParam("materialBaseInfoIds") List<Long> materialBaseInfoIds) {
|
||||
return AjaxResult.success(materialPushRecordService.getBatchByIds(materialBaseInfoIds));
|
||||
public AjaxResult getBatchByIds(@RequestParam("materialBaseInfoIds") List<Long> materialBaseInfoIds,
|
||||
@RequestParam("orderId") Long orderId) {
|
||||
return AjaxResult.success(materialPushRecordService.getBatchByIds(materialBaseInfoIds, orderId));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user