文档
测试

客户余额查询(完成)

GET
http://localhost:8080/app/customer/queryBalance?customer=10000020191230003&company=2&pageNo=1&pageSize=10&orderBy=minecode.name%20asc

接口描述

普通客户查询余额 不要查询时间 客户id和矿别id不能同时为空 只有普通客户能查询客户余额

请求参数

参数名
类型
描述
必填
customerId
number
客户id
可选
mineCode
number
煤矿id
可选
pageNo
number
示例:1
必填
pageSize
number
示例:10
必填

响应参数

参数名
类型
描述
必填
success
boolean
示例:true
必填
errorCode
string
示例:-1
必填
msg
string
示例:操作成功
必填
list
array
数据列表
必填
id
string
示例:1
必填
updateDate
string
示例:2020-01-07 20:26:05
必填
delFlag
string
示例:0
必填
company
object
数据字典
必填
id
string
示例:2
必填
delFlag
string
示例:0
必填
name
string
示例:特拉不拉
必填
sort
number
示例:30
必填
hasChildren
boolean
示例:false
必填
type
string
示例:2
必填
parentId
string
示例:0
必填
customer
object
数据字典
必填
id
string
示例:10000020191230003
必填
delFlag
string
示例:0
必填
custName
string
示例:内蒙古盛世伊鑫
必填
vardict
object
数据字典
必填
id
string
示例:2
必填
delFlag
string
示例:0
必填
vname
string
示例:瘦焦煤
必填
balance
number
示例:988309.26
必填
total
number
示例:1
必填

返回列表数据

{ "id": "1", "updateDate": "2020-01-07 20:26:05",//更新时间 "delFlag": "0", "company": { "id": "2", "delFlag": "0", "name": "特拉不拉", //单位 "sort": 30, "hasChildren": false, "type": "2", "parentId": "0" }, "customer": { "id": "10000020191230003", "delFlag": "0", "custName": "内蒙古盛世伊鑫" //客户 }, "vardict": { "id": "2", "delFlag": "0", "vname": "瘦焦煤" //物资 }, "balance": 988309.26 //客户余额 }