fix(meter):修正对于表计创建和修改表单中的内容的捕获。
This commit is contained in:
parent
b4ce754c0d
commit
a626869f14
|
@ -11,7 +11,7 @@ type MeterCreationForm struct {
|
|||
Address *string `json:"address"`
|
||||
Ratio decimal.Decimal `json:"ratio"`
|
||||
Seq int64 `json:"seq"`
|
||||
MeterType int16 `json:"meterType"`
|
||||
MeterType int16 `json:"type"`
|
||||
Building *string `json:"building"`
|
||||
OnFloor *string `json:"onFloor"`
|
||||
Area decimal.NullDecimal `json:"area"`
|
||||
|
@ -24,7 +24,7 @@ type MeterModificationForm struct {
|
|||
Seq int64 `json:"seq"`
|
||||
Ratio decimal.Decimal `json:"ratio"`
|
||||
Enabled bool `json:"enabled"`
|
||||
MeterType int16 `json:"meterType"`
|
||||
MeterType int16 `json:"type"`
|
||||
Building *string `json:"building"`
|
||||
OnFloor *string `json:"onFloor"`
|
||||
Area decimal.NullDecimal `json:"area"`
|
||||
|
|
Loading…
Reference in New Issue
Block a user