文档
测试

根据id查询计件规则

GET
http://localhost:9090/grid-coloration-test/salary/piece/queryById?pieceId=5

请求头

参数名
类型
描述
必填
Authorization
string
示例:Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjMwMC03MTI2ODkzNi0zNTAwLTQ2YmYtODUxNy02NjYyZTUyMWFhNmIifQ.ayHf87_luXlBzY2YwldCzgFgCTQDmjKWMrKf6QzL0ZwbB_0-IHNcIsOXstgPy9QFfPTkXDrz8xN6Rvq70jXVgA
必填

请求参数

参数名
类型
描述
必填
pieceId
int
计件ID
必填

响应参数

参数名
类型
描述
必填
code
string
示例:10000
必填
data
object
数据字典
必填
createTime
string
示例:2023-03-23 20:47:29
必填
creator
string
示例:张某人
必填
meterLocationType
string
安装位置类型/crm_meter_location_type
必填
meterType
string
表具类型/crm_meter_type
必填
pieceId
string
示例:5
必填
pieceName
string
规则名称:规则A
必填
pieceStatus
string
状态:1-启用 0-禁用
必填
readPrice
float
抄表单价(元)
必填
recoverPrice
float
水费回收单价(元)
必填
remark
string
示例:备注111
必填
readRule
array
抄见率规则列表
必填
businessType
string
增减比例类型:1-增加比例;2-核减比例
必填
highLimit
int
率值上限
必填
lowLimit
int
率值下限
必填
proportion
int
增减比例值百分比:10
必填
ruleType
string
计件规则类型/gc_piece_rule_type
必填
accuracyRule
array
准确率规则列表
必填
businessType
string
示例:2
必填
highLimit
int
示例:60
必填
lowLimit
int
示例:0
必填
proportion
int
示例:10
必填
ruleType
string
示例:2
必填
recoverRule
array
回收率规则列表
必填
businessType
string
示例:2
必填
highLimit
int
示例:60
必填
lowLimit
int
示例:0
必填
proportion
int
示例:10
必填
ruleType
string
示例:3
必填
message
string
示例:SUCCESS
必填
success
boolean
示例:true
必填
traceId
string
示例:0A6694D816795757629411003
必填