|
|
## 1、查询入库报表##
|
|
|
|
|
|
查询销售统计报表(/seller/getStorageInRptList)
|
|
|
查询入库报表(/seller/getStorageInRptList)
|
|
|
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 备注 |
|
...
|
...
|
@@ -85,4 +85,94 @@ http://192.168.102.210:8088/platform/seller/getStorageInRptList |
|
|
"message": "getOrdersGoodsRptForApi"
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
## 2、查询出库报表##
|
|
|
|
|
|
查询出库报表(/seller/getStorageOutRptList)
|
|
|
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|----:|
|
|
|
|page|int|是|2|第几页|
|
|
|
|size|int|是|10|每页条数|
|
|
|
|type|int|否|1|1 日 2 周 3 月|
|
|
|
|reqTime|int|type为1或者3必填|日报示例20160521 月报示例 201605|日报或者月报日期, 周报则通过以下两个字段传入|
|
|
|
|beginTime|string|type为2必传|20160521|周报:开始日期|
|
|
|
|endTime|string|type为2必传|20160527|周报:结束日期|
|
|
|
|productSkn|long|是|1222|skn|
|
|
|
|productSkc|long|是|1222|skc|
|
|
|
|productSku|long|是|1222|sku|
|
|
|
|factoryCode|string|是|234234|厂家编号|
|
|
|
|sortId|int|是|12|产品分类 最小的分类ID 如果用户只筛选一级品类传一级品类ID 如果用户筛选到二级品类传入二级品类ID,以此类推 |
|
|
|
|shopsId|int|否|17|店铺ID |
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
http://192.168.102.210:8088/platform/seller/getStorageOutRptList
|
|
|
|
|
|
``` json
|
|
|
请求样例:
|
|
|
{
|
|
|
"beginTime": "20160516",
|
|
|
"endTime": "20160528",
|
|
|
"type":2
|
|
|
}
|
|
|
正常返回:
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"additionInfo": {
|
|
|
"allNumber": 222,
|
|
|
"allAmount": 222.66
|
|
|
},
|
|
|
"total": 1,
|
|
|
"size": 10,
|
|
|
"totalPage": 1,
|
|
|
"page": 1,
|
|
|
"list": [
|
|
|
{
|
|
|
"factoryCode": "厂家编号",
|
|
|
"outFormId": 22,
|
|
|
"colorName": "白色",
|
|
|
"sizeId": 22,
|
|
|
"smallSortId": 299,
|
|
|
"outStorageNums": 222,
|
|
|
"colorId": 1,
|
|
|
"maxSortId": 6,
|
|
|
"shopName": "店铺名称",
|
|
|
"purchasePrice": 22,
|
|
|
"productSku": 2028386,
|
|
|
"sizeName": "XL",
|
|
|
"smallSortName": "厚底鞋",
|
|
|
"imageUrl": "0",
|
|
|
"dateId": 20170611,
|
|
|
"productSkn": 512588578,
|
|
|
"shopId": 224,
|
|
|
"outStorageAmount": 222.66,
|
|
|
"goodsName": "商品名称",
|
|
|
"maxSortName": "鞋靴",
|
|
|
"productSkc": 681266,
|
|
|
"brandName": "品牌名称",
|
|
|
"middleSortId": 298,
|
|
|
"brandId": 22,
|
|
|
"middleSortName": "厚底鞋"
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
"md5": "95f4c0c452aecadd8ac0e3f73042bd43",
|
|
|
"message": "getStorageOutRptList result"
|
|
|
}
|
|
|
|
|
|
|
|
|
异常返回:
|
|
|
{
|
|
|
"code": 405,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "getOrdersGoodsRptForApi"
|
|
|
}
|
|
|
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|