修改一般贸易的详情数据查询

This commit is contained in:
zhaoqing
2026-06-23 17:12:19 +08:00
parent bc3bdd669e
commit 186d76f9fc
2 changed files with 60 additions and 23 deletions
@@ -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));
}
}