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