Merge remote-tracking branch 'origin/2.0' into 2.0
Former-commit-id: b242bc2ed756d9a586ad9234e8d4338a80259172
This commit is contained in:
commit
c41ca0df46
|
@ -267,6 +267,7 @@ type (
|
|||
HpcUmngStorage int64 `json:"hpcUmngStorage"`
|
||||
Edwc bool `json:"edwc"`
|
||||
Ydyl bool `json:"ydyl"`
|
||||
HubCode int64 `json:"hubCode"`
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
@ -73,6 +73,7 @@ func (l *ListCenterLogic) ListCenter() (*types.ListCenterResp, error) {
|
|||
center.HpcUmngStorage = overview.HpcUmngStorage.Int64
|
||||
center.Edwc = overview.Edwc.Bool
|
||||
center.Ydyl = overview.Ydyl.Bool
|
||||
center.HubCode = overview.HubCode.Int64
|
||||
center.DeletedFlag = overview.DeletedFlag.Int64
|
||||
centers = append(centers, center)
|
||||
}
|
||||
|
|
|
@ -246,6 +246,7 @@ type Center struct {
|
|||
HpcUmngStorage int64 `json:"hpcUmngStorage"`
|
||||
Edwc bool `json:"edwc"`
|
||||
Ydyl bool `json:"ydyl"`
|
||||
HubCode int64 `json:"hubCode"`
|
||||
}
|
||||
|
||||
type CpResp struct {
|
||||
|
|
|
@ -59,6 +59,7 @@ type (
|
|||
HpcUmngStorage sql.NullInt64 `json:"hpcUmngStorage"`
|
||||
Edwc sql.NullBool `json:"edwc"`
|
||||
Ydyl sql.NullBool `json:"ydyl"`
|
||||
HubCode sql.NullInt64 `json:"hubCode"`
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue