chen.lin
2 天以前 9140aee230de0ef41de9682a9353fbd372e2bcaa
rsf-server/src/main/java/com/vincent/rsf/server/api/controller/erp/ErpQueryController.java
@@ -10,6 +10,7 @@
import com.vincent.rsf.framework.common.R;
import com.vincent.rsf.server.manager.entity.Loc;
import com.vincent.rsf.server.manager.entity.Transfer;
import com.vincent.rsf.server.manager.service.MatnrGroupService;
import com.vincent.rsf.server.system.controller.BaseController;
import io.swagger.annotations.Api;
@@ -37,6 +38,7 @@
    @Autowired
    private ReceiveMsgService receiveMsgService;
    @Autowired
    private MatnrGroupService matnrGroupService;
@@ -86,5 +88,38 @@
        return receiveMsgService.syncLocsDetl(pageParam, wrapper);
    }
    /**
     * @author Ryan
     * @date 2025/8/21
     * @description: 调拔单信息查询
     * @version 1.0
     */
    @PostMapping("/query/transfer")
    @ApiOperation("查询调拔单及明细")
    @OperationLog("调拔单及明细查询")
    public R queryTransfer(@RequestBody QueryOrderParam queryParams) {
        if (Objects.isNull(queryParams)) {
            throw new CoolException("参数不能为空!!");
        }
        return receiveMsgService.queryTransfer(queryParams);
    }
    /**
     * 对接协议 8.4 库存明细查询
     */
    @PostMapping("/inventory/details")
    @ApiOperation(value = "库存明细查询")
    public R inventoryDetails(@RequestBody(required = false) InventoryDetailsParam param) {
        return receiveMsgService.inventoryDetails(param != null ? param : new InventoryDetailsParam());
    }
    /**
     * 对接协议 8.5 库存汇总查询
     */
    @PostMapping("/inventory/summary")
    @ApiOperation(value = "库存汇总查询")
    public R inventorySummary(@RequestBody(required = false) InventorySummaryParam param) {
        return receiveMsgService.inventorySummary(param != null ? param : new InventorySummaryParam());
    }
}