fix(park):完成园区部分的数据库迁移调整。

This commit is contained in:
徐涛
2022-09-19 11:24:18 +08:00
parent a9f93d5239
commit 1e04922cee
3 changed files with 6 additions and 6 deletions

View File

@@ -79,8 +79,8 @@ type _ParkInfoFormData struct {
Area decimal.NullDecimal `json:"area" from:"area"`
Capacity decimal.NullDecimal `json:"capacity" from:"capacity"`
TenementQuantity decimal.NullDecimal `json:"tenement" from:"tenement"`
Category int `json:"category" form:"category"`
SubmeterType int `json:"submeter" form:"submeter"`
Category int8 `json:"category" form:"category"`
SubmeterType int8 `json:"submeter" form:"submeter"`
}
func createNewPark(c *gin.Context) {