stockinoutquery - 库存出入查询
- api/stock/stockinoutquery/get GET 根据id获取
- api/stock/stockinoutquery/getlist GET 获取列表
- api/stock/stockinoutquery/getfulllist GET 获取全部列表
- api/stock/stockinoutquery/getdetaillist GET 获取明细列表
- api/stock/stockinoutquery/gettypelist GET 获取所有类型
- api/stock/stockinoutquery/getstatuslist GET 获取所有状态
- api/stock/stockinoutquery/cancelcheck POST 撤销销售出库单
请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | integer |
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| code | string | 单号 |
| createTime | date | 创建时间 |
| date | date | 单据日期 |
| details | [...] | 订单明细 |
| ┆- boxQty | decimal number | 箱数 |
| ┆- boxSpec | decimal number | 箱规格 |
| ┆- costMoney | decimal number | 成本金额 |
| ┆- costPrice | decimal number | 成本单价 |
| ┆- id | integer | id |
| images | [...] | 图片路径 |
| ┆- mainId | integer | 库存变更Id |
| ┆- money | decimal number | 金额 |
| ┆- price | decimal number | 单价 |
| ┆- productClass | string | 商品分类 |
| ┆- productCode | string | 商品货号 |
| ┆- productId | integer | 商品Id |
| ┆- productName | string | 商品名称 |
| ┆- productUnit | string | 商品单位 |
| ┆- qty | decimal number | 数量 |
| ┆- sort | integer | 排序 |
| details | [...] | 明细 |
| ┆- boxQty | decimal number | 箱数 |
| ┆- boxSpec | decimal number | 箱规格 |
| ┆- costMoney | decimal number | 成本金额 |
| ┆- costPrice | decimal number | 成本单价 |
| ┆- id | integer | id |
| images | [...] | 图片路径 |
| ┆- mainId | integer | 库存变更Id |
| ┆- money | decimal number | 金额 |
| ┆- price | decimal number | 单价 |
| ┆- productId | integer | 商品Id |
| ┆- qty | decimal number | 数量 |
| ┆- sort | integer | 排序 |
| id | integer | id |
| inOrOut | boolean | 入库or出库 |
| log | string | 日志 |
| money | decimal number | 单据金额 |
| plusOrMinus | boolean | 库存数量变更方式(正or负) |
| remark | string | 备注 |
| shopId | integer | 门店Id |
| shopName | string | 门店名称 |
| status | string | 0:未审核; 1:已完成; 2:已作废 |
| statusName | string | 状态名称 |
| supplierId | integer | 供应商id |
| supplierName | string | 供应商名称 |
| type | string | 0:采购; 1:调拨; 2:盘点; 3:销售; 4:损耗; 5:调整 |
| typeName | string | 类型名称 |
| userId | integer | 创建人Id |
| userName | string | 创建人名称 |
响应示例
application/json, text/json
{
"type": 0,
"typeName": "",
"details": [
{
"productCode": "",
"productName": "",
"productClass": "",
"productUnit": "",
"mainId": 5,
"productId": 6,
"qty": 7.0,
"price": 8.0,
"money": 9.0,
"costPrice": 10.0,
"costMoney": 11.0,
"boxQty": 12.0,
"boxSpec": 13.0,
"sort": 14,
"images": [
"",
""
],
"id": 15
},
{
"productCode": "",
"productName": "",
"productClass": "",
"productUnit": "",
"mainId": 5,
"productId": 6,
"qty": 7.0,
"price": 8.0,
"money": 9.0,
"costPrice": 10.0,
"costMoney": 11.0,
"boxQty": 12.0,
"boxSpec": 13.0,
"sort": 14,
"images": [
"",
""
],
"id": 15
}
],
"shopName": "",
"statusName": "",
"money": 4.0,
"createTime": "2026-01-15 10:11:40",
"shopId": 6,
"inOrOut": true,
"plusOrMinus": true,
"status": 0,
"code": "",
"date": "2026-01-15 10:11:40",
"remark": "",
"log": "",
"supplierId": 13,
"supplierName": "",
"userId": 15,
"userName": "",
"id": 17
}
请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| code | string | |
| endDate | date | |
| inOrOut | integer | |
| order | boolean | |
| pageIndex | integer | |
| pageSize | integer | |
| shopId | integer | |
| sort | string | |
| startDate | date | |
| status | integer | |
| type | integer |
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| data | [...] | |
| ┆- code | string | 单号 |
| ┆- createTime | date | 创建时间 |
| ┆- date | date | 单据日期 |
| details | [...] | 订单明细 |
| ┆- boxQty | decimal number | 箱数 |
| ┆- boxSpec | decimal number | 箱规格 |
| ┆- costMoney | decimal number | 成本金额 |
| ┆- costPrice | decimal number | 成本单价 |
| ┆- id | integer | id |
| images | [...] | 图片路径 |
| ┆- mainId | integer | 库存变更Id |
| ┆- money | decimal number | 金额 |
| ┆- price | decimal number | 单价 |
| ┆- productClass | string | 商品分类 |
| ┆- productCode | string | 商品货号 |
| ┆- productId | integer | 商品Id |
| ┆- productName | string | 商品名称 |
| ┆- productUnit | string | 商品单位 |
| ┆- qty | decimal number | 数量 |
| ┆- sort | integer | 排序 |
| details | [...] | 明细 |
| ┆- boxQty | decimal number | 箱数 |
| ┆- boxSpec | decimal number | 箱规格 |
| ┆- costMoney | decimal number | 成本金额 |
| ┆- costPrice | decimal number | 成本单价 |
| ┆- id | integer | id |
| images | [...] | 图片路径 |
| ┆- mainId | integer | 库存变更Id |
| ┆- money | decimal number | 金额 |
| ┆- price | decimal number | 单价 |
| ┆- productId | integer | 商品Id |
| ┆- qty | decimal number | 数量 |
| ┆- sort | integer | 排序 |
| ┆- id | integer | id |
| ┆- inOrOut | boolean | 入库or出库 |
| ┆- log | string | 日志 |
| ┆- money | decimal number | 单据金额 |
| ┆- plusOrMinus | boolean | 库存数量变更方式(正or负) |
| ┆- remark | string | 备注 |
| ┆- shopId | integer | 门店Id |
| ┆- shopName | string | 门店名称 |
| ┆- status | string | 0:未审核; 1:已完成; 2:已作废 |
| ┆- statusName | string | 状态名称 |
| ┆- supplierId | integer | 供应商id |
| ┆- supplierName | string | 供应商名称 |
| ┆- type | string | 0:采购; 1:调拨; 2:盘点; 3:销售; 4:损耗; 5:调整 |
| ┆- typeName | string | 类型名称 |
| ┆- userId | integer | 创建人Id |
| ┆- userName | string | 创建人名称 |
| pageIndex | integer | |
| pageSize | integer | |
| sumData | {...} | |
| ┆- code | string | 单号 |
| ┆- createTime | date | 创建时间 |
| ┆- date | date | 单据日期 |
| details | [...] | 订单明细 |
| ┆- boxQty | decimal number | 箱数 |
| ┆- boxSpec | decimal number | 箱规格 |
| ┆- costMoney | decimal number | 成本金额 |
| ┆- costPrice | decimal number | 成本单价 |
| ┆- id | integer | id |
| images | [...] | 图片路径 |
| ┆- mainId | integer | 库存变更Id |
| ┆- money | decimal number | 金额 |
| ┆- price | decimal number | 单价 |
| ┆- productClass | string | 商品分类 |
| ┆- productCode | string | 商品货号 |
| ┆- productId | integer | 商品Id |
| ┆- productName | string | 商品名称 |
| ┆- productUnit | string | 商品单位 |
| ┆- qty | decimal number | 数量 |
| ┆- sort | integer | 排序 |
| details | [...] | 明细 |
| ┆- boxQty | decimal number | 箱数 |
| ┆- boxSpec | decimal number | 箱规格 |
| ┆- costMoney | decimal number | 成本金额 |
| ┆- costPrice | decimal number | 成本单价 |
| ┆- id | integer | id |
| images | [...] | 图片路径 |
| ┆- mainId | integer | 库存变更Id |
| ┆- money | decimal number | 金额 |
| ┆- price | decimal number | 单价 |
| ┆- productId | integer | 商品Id |
| ┆- qty | decimal number | 数量 |
| ┆- sort | integer | 排序 |
| ┆- id | integer | id |
| ┆- inOrOut | boolean | 入库or出库 |
| ┆- log | string | 日志 |
| ┆- money | decimal number | 单据金额 |
| ┆- plusOrMinus | boolean | 库存数量变更方式(正or负) |
| ┆- remark | string | 备注 |
| ┆- shopId | integer | 门店Id |
| ┆- shopName | string | 门店名称 |
| ┆- status | string | 0:未审核; 1:已完成; 2:已作废 |
| ┆- statusName | string | 状态名称 |
| ┆- supplierId | integer | 供应商id |
| ┆- supplierName | string | 供应商名称 |
| ┆- type | string | 0:采购; 1:调拨; 2:盘点; 3:销售; 4:损耗; 5:调整 |
| ┆- typeName | string | 类型名称 |
| ┆- userId | integer | 创建人Id |
| ┆- userName | string | 创建人名称 |
| totalCount | integer |
响应示例
application/json, text/json
请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| code | string | |
| endDate | date | |
| inOrOut | integer | |
| order | boolean | |
| shopId | integer | |
| sort | string | |
| startDate | date | |
| status | integer | |
| type | integer |
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| code | string | 单号 |
| createTime | date | 创建时间 |
| date | date | 单据日期 |
| details | [...] | 订单明细 |
| ┆- boxQty | decimal number | 箱数 |
| ┆- boxSpec | decimal number | 箱规格 |
| ┆- costMoney | decimal number | 成本金额 |
| ┆- costPrice | decimal number | 成本单价 |
| ┆- id | integer | id |
| images | [...] | 图片路径 |
| ┆- mainId | integer | 库存变更Id |
| ┆- money | decimal number | 金额 |
| ┆- price | decimal number | 单价 |
| ┆- productClass | string | 商品分类 |
| ┆- productCode | string | 商品货号 |
| ┆- productId | integer | 商品Id |
| ┆- productName | string | 商品名称 |
| ┆- productUnit | string | 商品单位 |
| ┆- qty | decimal number | 数量 |
| ┆- sort | integer | 排序 |
| details | [...] | 明细 |
| ┆- boxQty | decimal number | 箱数 |
| ┆- boxSpec | decimal number | 箱规格 |
| ┆- costMoney | decimal number | 成本金额 |
| ┆- costPrice | decimal number | 成本单价 |
| ┆- id | integer | id |
| images | [...] | 图片路径 |
| ┆- mainId | integer | 库存变更Id |
| ┆- money | decimal number | 金额 |
| ┆- price | decimal number | 单价 |
| ┆- productId | integer | 商品Id |
| ┆- qty | decimal number | 数量 |
| ┆- sort | integer | 排序 |
| id | integer | id |
| inOrOut | boolean | 入库or出库 |
| log | string | 日志 |
| money | decimal number | 单据金额 |
| plusOrMinus | boolean | 库存数量变更方式(正or负) |
| remark | string | 备注 |
| shopId | integer | 门店Id |
| shopName | string | 门店名称 |
| status | string | 0:未审核; 1:已完成; 2:已作废 |
| statusName | string | 状态名称 |
| supplierId | integer | 供应商id |
| supplierName | string | 供应商名称 |
| type | string | 0:采购; 1:调拨; 2:盘点; 3:销售; 4:损耗; 5:调整 |
| typeName | string | 类型名称 |
| userId | integer | 创建人Id |
| userName | string | 创建人名称 |
响应示例
application/json, text/json
[
{
"type": 0,
"typeName": "",
"details": [
{
"productCode": "",
"productName": "",
"productClass": "",
"productUnit": "",
"mainId": 5,
"productId": 6,
"qty": 7.0,
"price": 8.0,
"money": 9.0,
"costPrice": 10.0,
"costMoney": 11.0,
"boxQty": 12.0,
"boxSpec": 13.0,
"sort": 14,
"images": [
"",
""
],
"id": 15
},
{
"productCode": "",
"productName": "",
"productClass": "",
"productUnit": "",
"mainId": 5,
"productId": 6,
"qty": 7.0,
"price": 8.0,
"money": 9.0,
"costPrice": 10.0,
"costMoney": 11.0,
"boxQty": 12.0,
"boxSpec": 13.0,
"sort": 14,
"images": [
"",
""
],
"id": 15
}
],
"shopName": "",
"statusName": "",
"money": 4.0,
"createTime": "2026-01-15 10:11:40",
"shopId": 6,
"inOrOut": true,
"plusOrMinus": true,
"status": 0,
"code": "",
"date": "2026-01-15 10:11:40",
"remark": "",
"log": "",
"supplierId": 13,
"supplierName": "",
"userId": 15,
"userName": "",
"id": 17
},
{
"type": 0,
"typeName": "",
"details": [
{
"productCode": "",
"productName": "",
"productClass": "",
"productUnit": "",
"mainId": 5,
"productId": 6,
"qty": 7.0,
"price": 8.0,
"money": 9.0,
"costPrice": 10.0,
"costMoney": 11.0,
"boxQty": 12.0,
"boxSpec": 13.0,
"sort": 14,
"images": [
"",
""
],
"id": 15
},
{
"productCode": "",
"productName": "",
"productClass": "",
"productUnit": "",
"mainId": 5,
"productId": 6,
"qty": 7.0,
"price": 8.0,
"money": 9.0,
"costPrice": 10.0,
"costMoney": 11.0,
"boxQty": 12.0,
"boxSpec": 13.0,
"sort": 14,
"images": [
"",
""
],
"id": 15
}
],
"shopName": "",
"statusName": "",
"money": 4.0,
"createTime": "2026-01-15 10:11:40",
"shopId": 6,
"inOrOut": true,
"plusOrMinus": true,
"status": 0,
"code": "",
"date": "2026-01-15 10:11:40",
"remark": "",
"log": "",
"supplierId": 13,
"supplierName": "",
"userId": 15,
"userName": "",
"id": 17
}
]
请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| endDate | date | |
| inOrOut | integer | |
| keyword | string | |
| order | boolean | |
| pageIndex | integer | |
| pageSize | integer | |
| shopId | integer | |
| sort | string | |
| startDate | date | |
| type | integer |
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| data | [...] | |
| ┆- boxQty | decimal number | 箱数 |
| ┆- boxSpec | decimal number | 箱规格 |
| ┆- code | string | 单号 |
| ┆- costMoney | decimal number | 成本金额 |
| ┆- costPrice | decimal number | 成本单价 |
| ┆- createTime | date | 创建时间 |
| ┆- date | date | 单据日期 |
| ┆- id | integer | id |
| ┆- inOrOut | boolean | 入库or出库 |
| ┆- money | decimal number | 金额 |
| ┆- plusOrMinus | boolean | 库存数量变更方式(正or负) |
| ┆- price | decimal number | 单价 |
| ┆- productCode | string | 商品货号 |
| ┆- productName | string | 商品名称 |
| ┆- qty | decimal number | 数量 |
| ┆- shopId | integer | 门店Id |
| ┆- shopName | string | 门店名称 |
| ┆- type | string | 0:采购; 1:调拨; 2:盘点; 3:销售; 4:损耗; 5:调整 |
| ┆- typeName | string | 类型名称 |
| ┆- userId | integer | 创建人Id |
| ┆- userName | string | 创建人名称 |
| pageIndex | integer | |
| pageSize | integer | |
| sumData | {...} | |
| ┆- boxQty | decimal number | 箱数 |
| ┆- boxSpec | decimal number | 箱规格 |
| ┆- code | string | 单号 |
| ┆- costMoney | decimal number | 成本金额 |
| ┆- costPrice | decimal number | 成本单价 |
| ┆- createTime | date | 创建时间 |
| ┆- date | date | 单据日期 |
| ┆- id | integer | id |
| ┆- inOrOut | boolean | 入库or出库 |
| ┆- money | decimal number | 金额 |
| ┆- plusOrMinus | boolean | 库存数量变更方式(正or负) |
| ┆- price | decimal number | 单价 |
| ┆- productCode | string | 商品货号 |
| ┆- productName | string | 商品名称 |
| ┆- qty | decimal number | 数量 |
| ┆- shopId | integer | 门店Id |
| ┆- shopName | string | 门店名称 |
| ┆- type | string | 0:采购; 1:调拨; 2:盘点; 3:销售; 4:损耗; 5:调整 |
| ┆- typeName | string | 类型名称 |
| ┆- userId | integer | 创建人Id |
| ┆- userName | string | 创建人名称 |
| totalCount | integer |
响应示例
application/json, text/json
请求参数
无.
响应参数
响应示例
application/json, text/json
[
{
"key": 1,
"value": ""
},
{
"key": 1,
"value": ""
}
]
请求参数
无.
响应参数
响应示例
application/json, text/json
[
{
"key": 1,
"value": ""
},
{
"key": 1,
"value": ""
}
]
请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | integer | id |
| password | string | 密码 |
请求示例
application/json, text/json
{
"password": "",
"id": 2
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | 附加信息 |
| status | string | 200:成功; 500:内部错误; 601:卡不可用; 602:卡不存在; 603:卡挂失; 604:卡作废; 605:卡余额不足; 606:卡付款码超时; 607:积分不足; 608:礼品不可用; 701:支付成功; 702:支付确认失败; 703:支付状态未知; 704:付款码超时; 801:流水号重复; 901:未日结; 902:日结进行中; 903:日结中断; 904:日结完成; 905:日结金额发生变化; 1001:无法购买; 1002:已售罄; 1003:支付超时 |
响应示例
application/json, text/json
{
"status": 200,
"message": ""
}