chen.lin
昨天 a38d4a8619b886e2544cdefe421f171765ad2229
rsf-server/src/main/java/com/vincent/rsf/server/api/controller/erp/ErpQueryController.java
@@ -121,4 +121,22 @@
        return receiveMsgService.erpQueryInventoryDetails(condition);
    }
    /**
     * ERP库存查询汇总(供open-api模块调用)
     * 对应open-api的 /inventory/summary 接口
     * @param condition 查询条件
     * @return 库存汇总列表
     */
    @PostMapping("/inventory/summary")
    @ApiOperation(value = "ERP库存查询汇总", hidden = true)
    @OperationLog("ERP库存查询汇总")
    public R erpQueryInventorySummary(@RequestBody InventoryQueryConditionParam condition) {
        // 参数验证
        if (condition == null) {
            return R.error("查询条件不能为空");
        }
        return receiveMsgService.erpQueryInventorySummary(condition);
    }
}