修改一般贸易的详情查询数据来源
This commit is contained in:
+25
@@ -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));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user