fix(tenement):修正商户查询结果的扫描以及错误返回null的问题。

This commit is contained in:
徐涛
2023-06-26 14:03:37 +08:00
parent e6d9435c14
commit 0246eaba27
4 changed files with 8 additions and 5 deletions

View File

@@ -7,10 +7,11 @@ type Tenement struct {
Park string `json:"parkId" db:"park_id"`
FullName string `json:"fullName" db:"full_name"`
ShortName *string `json:"shortName" db:"short_name"`
Abbr string `json:"-"`
Address string `json:"address"`
ContactName string `json:"contactName" db:"contact_name"`
ContactPhone string `json:"contactPhone" db:"contact_phone"`
Building string `json:"building"`
Building *string `json:"building"`
BuildingName *string `json:"buildingName" db:"building_name"`
OnFloor *string `json:"onFloor" db:"on_floor"`
InvoiceInfo *InvoiceTitle `json:"invoiceInfo" db:"invoice_info"`