文档
测试

初盘复盘对比报表-查询

POST
http://172.16.4.219:8181/ampOpenapiService?method=istktake.stktakerptdiffinput.search&token=7093e483-08e9-4e22-a87e-31ab3e79dfda

接口描述

初盘复盘对比报表-查询

请求参数

参数名
类型
描述
params
object
数据字典
shopid
string
机构编码
shopname
string
机构名称
planid
string
盘点计划编号
planname
string
盘点计划名称
placeid
string
存货地编码
placename
string
存货地名称
gdid
string
商品编码
barcode
string
商品条码
inputtype
string
方式
condition
string
示例:shopid = '${shopid}' and shopname like '${shopname}' and planid = '${planid}' and planname like '${planname}' and placeid = '${placeid}' and placename like '${placename}' and gdid = '${gdid}' and barcode = '${barcode}' and inputtype = '${inputtype}'
orderBy
string
示例:planid desc
pageNo
int
页码
pageSize
int
每页数据条数

响应参数

参数名
类型
描述
data
object
数据字典
pageCount
int
总页数
total
int
总条数
pageNo
int
页码
pageSize
int
每页数据条数
pageData
array
数据列表
diffrate
int
差异率
bussgdid
string
商品编码
entid
string
企业ID
bussgdskuid
string
SKUID
pdate
int
盘点日期
gdid
string
商品编码
placeid
string
存货地编码
absdiffqty
int
绝对差异数量
placename
string
存货地名称
absdiffrate
int
绝对差异率
realqty1
int
初盘数量
realqty2
int
复盘数量
gdskuid
string
商品编码
unitname
string
单位
shopname
string
机构名称
diffqty
int
差异数量
planname
string
盘点计划名称
planid
string
盘点计划编号
shopid
string
机构编码
goodsspec
string
销售规格
barcode
string
商品条码
gdname
string
商品名称
returncode
string
示例:0

请求示例

```json { "params": { "shopid": "M025", "shopname": "%绿篮子南山郡店%", "planid": "PD32020112000019", "planname": "%11.20生鲜盘存%", "placeid": "000000", "placename": "%卖场%", "gdid": "10994", "barcode": "6926213558982", "inputtype": "0" }, "condition": "shopid = '${shopid}' and shopname like '${shopname}' and planid = '${planid}' and planname like '${planname}' and placeid = '${placeid}' and placename like '${placename}' and gdid = '${gdid}' and barcode = '${barcode}' and inputtype = '${inputtype}' ", "orderBy": "planid desc", "pageNo": 1, "pageSize": 30 } ```

响应示例

```json { "data": { "pageCount": 1, "total": 1, "pageNo": 1, "pageSize": 30, "pageData": [{ "realqty1": 13, "realqty2": 0, "diffqty": -13, "absdiffqty": 13 }, { "diffrate": -1, "bussgdid": "10994", "entid": "1", "bussgdskuid": "00109940003", "pdate": 1605801600000, "gdid": "10994", "placeid": "000000", "absdiffqty": 13, "placename": "卖场", "absdiffrate": 1, "realqty1": 13, "realqty2": 0, "gdskuid": "10994", "unitname": "包", "shopname": "绿篮子南山郡店", "diffqty": -13, "planname": "11.20生鲜盘存", "planid": "PD32020112000019", "shopid": "M025", "goodsspec": "1*6", "barcode": "6926213558982", "gdname": "阿一波深海纯紫菜" }] }, "returncode": "0" } ```