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

This commit is contained in:
zhaoqing
2026-06-23 14:01:41 +08:00
parent 3360e500dc
commit b4f685a25d
8 changed files with 257 additions and 0 deletions
@@ -0,0 +1,25 @@
package com.mhd.oms.interfaces.facade.materialPushRecord;
import com.mhd.common.core.web.domain.AjaxResult;
import com.mhd.oms.domain.materialPushRecord.service.MaterialPushRecordService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import java.util.List;
@Api(tags = "物料推送记录")
@RestController
@RequestMapping("/materialPushRecordApi")
public class MaterialPushRecordApi {
@Resource
private MaterialPushRecordService materialPushRecordService;
@ApiOperation("批量查询物料推送数据(优先查推送快照,没有则调WMS查实时数据)")
@GetMapping("/getBatchByIds")
public AjaxResult getBatchByIds(@RequestParam("materialBaseInfoIds") List<Long> materialBaseInfoIds) {
return AjaxResult.success(materialPushRecordService.getBatchByIds(materialBaseInfoIds));
}
}