package http type EquipmentIndexResp struct { EquipmentIndex []*EquipmentIndex `json:"equipmentList"` //设备指标 ChooseMonthWX []*EquipmentIndex `json:"chooseMonthWX"` //维修 ChooseWaterPrice []*EquipmentIndex `json:"chooseWaterPrice"` //水 ChooseElectricityPrice []*EquipmentIndex `json:"chooseElectricityPrice"` //电 ChooseMonthiolPrice []*EquipmentIndex `json:"chooseMonthiolPrice"` //柴油 LgnitionChargePrice []*EquipmentIndex `json:"lgnitionChargePrice"` //燃动费 DosageIndex []map[string]interface{} `json:"dosageIndex"` //水电柴油用量 } type EquipmentIndex struct { PastureName string `json:"pastureName"` PastureId int `json:"pastureId"` DeptName string `json:"deptname"` Center string `json:"center"` MonthBudget float64 `json:"monthBudget"` //预算 QmonthBudget float64 `json:"qmonthBudget"` //迄今预算 SumPrice float64 `json:"sumPrice"` //迄今实际 Asave float64 `json:"asave"` //实际节约 RealReason string `json:"realReason"` //实际达成率 OneCowSumPrice float64 `json:"oneCowSumPrice"` //单头牛的迄今实际 CowSum int64 `json:"cowSum"` //饲养头数 } type DosageIndex struct { PastureName string `gorm:"column:pastureName"` PastureId int `gorm:"column:pastureId"` SumPrice float64 `gorm:"column:sumPrice"` }