Browse Source

新增钢联批量加入指标库搜索字段

hsun 3 weeks ago
parent
commit
fd33a99f38
1 changed files with 3 additions and 0 deletions
  1. 3 0
      models/data_manage/mysteel_chemical_index.go

+ 3 - 0
models/data_manage/mysteel_chemical_index.go

@@ -203,11 +203,14 @@ type MysteelChemicalList struct {
 	IsStop                            int                    `description:"是否停更:1:停更,0:未停更"`
 	IsStop                            int                    `description:"是否停更:1:停更,0:未停更"`
 	IsSupplierStop                    int                    `description:"是否供应商停更:1:停更,0:未停更"`
 	IsSupplierStop                    int                    `description:"是否供应商停更:1:停更,0:未停更"`
 	Paging                            *paging.PagingItem     `description:"分页数据" gorm:"-"`
 	Paging                            *paging.PagingItem     `description:"分页数据" gorm:"-"`
+	EndDate                           string                 `description:"结束日期"`
+	EndValue                          float64                `description:"最新值"`
 	DataList                          []*MysteelChemicalData `gorm:"-"`
 	DataList                          []*MysteelChemicalData `gorm:"-"`
 }
 }
 
 
 func (m *MysteelChemicalList) AfterFind(tx *gorm.DB) (err error) {
 func (m *MysteelChemicalList) AfterFind(tx *gorm.DB) (err error) {
 	m.UpdateTime = utils.GormDateStrToDateTimeStr(m.UpdateTime)
 	m.UpdateTime = utils.GormDateStrToDateTimeStr(m.UpdateTime)
+	m.EndDate = utils.GormDateStrToDateStr(m.EndDate)
 	return
 	return
 }
 }