新增计件规则配置
POST
http://localhost:9090/grid-coloration-test/salary/piece/add
请求头
参数名
类型
描述
必填
Authorization
string
示例:Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjMwMC03MTI2ODkzNi0zNTAwLTQ2YmYtODUxNy02NjYyZTUyMWFhNmIifQ.ayHf87_luXlBzY2YwldCzgFgCTQDmjKWMrKf6QzL0ZwbB_0-IHNcIsOXstgPy9QFfPTkXDrz8xN6Rvq70jXVgA
必填
请求参数
参数名
类型
描述
必填
pieceName
string
规则名称:规则A
必填
meterType
string
表具类型/crm_meter_type
必填
meterLocationType
string
安装位置类型/crm_meter_location_type
必填
readPrice
float
抄表单价(元)
必填
recoverPrice
float
水费回收单价(元)
必填
remark
string
示例:备注111
必填
lowLimit
int
率值下限
必填
highLimit
int
率值上限
必填
businessType
int
增减比例类型:1-增加比例;2-核减比例
必填
proportion
int
增减比例值百分比
必填
lowLimit
int
率值下限
必填
highLimit
int
率值上限
必填
businessType
int
增减比例类型:1-增加比例;2-核减比例
必填
proportion
int
增减比例值百分比
必填
响应参数
参数名
类型
描述
必填
code
string
示例:10000
必填
message
string
示例:SUCCESS
必填
success
boolean
示例:true
必填
traceId
string
示例:0A6694D816795756492061001
必填