123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- package model
- type PastureCommonRequest struct {
- Name string `json:"name"`
- Page int32 `json:"page"`
- Offset int32 `json:"offset"`
- PageCount int32 `json:"pagecount"`
- ReturnType string `json:"returntype"`
- Checked int32 `json:"checked,omitempty"`
- ParamMaps interface{} `json:"parammaps"`
- }
- type FormulaEstimateParams struct {
- PastureId string `json:"pastureid"`
- StartTime string `json:"startTime"`
- StopTime string `json:"stopTime"`
- Search string `json:"search"`
- TempletId string `json:"templetid"`
- Barid string `json:"barid"`
- }
- type PastureCommonResponse struct {
- Code int32 `json:"code"`
- Msg string `json:"msg"`
- Data *PastureCommonData `json:"data"`
- }
- type PastureCommonData struct {
- List interface{} `json:"list"`
- Data interface{} `json:"data"`
- PageSize int32 `json:"pageSize"`
- Total int32 `json:"total"`
- PageNum int32 `json:"pageNum"`
- }
- type InventoryStatisticsParams struct {
- PastureId string `json:"pastureid"`
- StartTime string `json:"startTime"`
- StopTime string `json:"stopTime"`
- FeedName string `json:"feedname"`
- }
- type InventoryStatisticsList struct {
- FeedName string `json:"feedname"`
- LaidSum string `json:"laidsum"` // 入库重量
- StartPrice string `json:"startprice"` // 期初价格
- StartSum string `json:"startsum"` // 期初库存
- StopPrice string `json:"stopprice"` // 期末价格
- StopSum string `json:"stopsum"` // 期末库存
- UseSumRG string `json:"usesumRG"` // 人工用料重量
- UseSumXH string `json:"usesumXH"` // 损耗重量
- UseSumXT string `json:"usesumXT"` // 系统出库重量
- }
- type UserMaterialsStatisticsParams struct {
- PastureId string `json:"pastureid"`
- StartTime string `json:"startTime"`
- StopTime string `json:"stopTime"`
- FeedName string `json:"fname"`
- Typea string `json:"typea"`
- }
- type UserMaterialsList struct {
- Data1 []interface{} `json:"data1"`
- Data2 []*UserMaterialsListData2 `json:"data2"`
- }
- type UserMaterialsListData2 struct {
- Children []*Children `json:"children"`
- Label string `json:"label"`
- }
- type Children struct {
- Label string `json:"label"`
- Prop string `json:"prop"`
- }
- type PriceStatisticsParams struct {
- PastureId string `json:"pastureid"`
- StartTime string `json:"startTime"`
- StopTime string `json:"stopTime"`
- FeedName string `json:"fname"`
- }
- // FeedStatisticsParams 饲喂效率-效率统计
- type FeedStatisticsParams struct {
- PastureId string `json:"pastureid"`
- StartTime string `json:"startTime"`
- StopTime string `json:"stopTime"`
- Date string `json:"date"`
- FeedTName string `json:"ftname"`
- BarName string `json:"barname"`
- CowClass string `json:"cowclass"`
- Times string `json:"times"`
- }
- // FeedChartParams 饲喂效率-图形统计
- type FeedChartParams struct {
- ParamMaps interface{} `json:"parammaps"`
- }
- type ParamMaps struct {
- PastureId string `json:"pastureid"`
- StartTime string `json:"startTime"`
- StopTime string `json:"stopTime"`
- Status int32 `json:"status"`
- }
- // MixFeedStatisticsParams 准确性分析-混料统计
- type MixFeedStatisticsParams struct {
- PastureId string `json:"pastureid"`
- StartTime string `json:"startTime"`
- StopTime string `json:"stopTime"`
- TmrTName string `json:"tmrTName"`
- ProjName string `json:"projName"`
- Times string `json:"times"`
- ButtonType string `json:"buttonType"`
- TempletName string `json:"templetName"`
- Isuse string `json:"isuse"`
- Hlwc1 int32 `json:"hlwc1,omitempty"`
- Hlwc2 int32 `json:"hlwc2,omitempty"`
- Hlzq1 int32 `json:"hlzq1,omitempty"`
- Hlzq2 int32 `json:"hlzq2,omitempty"`
- Hlzql1 int32 `json:"hlzql1,omitempty"`
- Hlzql2 int32 `json:"hlzql2,omitempty"`
- Error bool `json:"error,omitempty"`
- }
- // SprinkleStatisticsParams 准确性分析-撒料统计
- type SprinkleStatisticsParams struct {
- PastureId string `json:"pastureid"`
- StartTime string `json:"startTime"`
- StopTime string `json:"stopTime"`
- TmrTName string `json:"tmrTName"`
- ProjName string `json:"projName"`
- Times string `json:"times"`
- Fname string `json:"fname"`
- ButtonType string `json:"buttontype"`
- TempletName string `json:"templetname"`
- Isuse string `json:"isuse,omitempty"`
- Slwc1 int32 `json:"slwc1,omitempty"`
- Slwc2 int32 `json:"slwc2,omitempty"`
- Slzq1 int32 `json:"slzq1,omitempty"`
- Slzq2 int32 `json:"slzq2,omitempty"`
- Slzql1 int32 `json:"slzql1,omitempty"`
- Slzql2 int32 `json:"slzql2,omitempty"`
- Error bool `json:"error,omitempty"`
- }
- // ProcessAnalysisParams 过程分析
- type ProcessAnalysisParams struct {
- PastureId string `json:"pastureid"`
- StartTime string `json:"startTime"`
- StopTime string `json:"stopTime"`
- TmrTName []string `json:"tmrTName"`
- IsCompleted string `json:"iscompleted"`
- LpPlanType string `json:"lpplantype"`
- FClassId string `json:"fclassid"`
- Hlwc1 int32 `json:"hlwc1,omitempty"`
- Hlwc2 int32 `json:"hlwc2,omitempty"`
- Hlzq1 int32 `json:"hlzq1,omitempty"`
- Hlzq2 int32 `json:"hlzq2,omitempty"`
- Slwc1 int32 `json:"slwc1,omitempty"`
- Slwc2 int32 `json:"slwc2,omitempty"`
- Slzq1 int32 `json:"slzq1,omitempty"`
- Slzq2 int32 `json:"slzq2,omitempty"`
- Error string `json:"error,omitempty"`
- }
- // AccuracyAggParams 准确性分析-汇总统计
- type AccuracyAggParams struct {
- PastureId string `json:"pastureid"`
- StartTime string `json:"startTime"`
- StopTime string `json:"stopTime"`
- FName string `json:"fname"`
- Sort string `json:"sort"`
- Times string `json:"times"`
- Status string `json:"status"`
- Genre int32 `json:"genre"`
- IsDate int32 `json:"isdate"`
- Hlwc1 int32 `json:"hlwc1,omitempty"`
- Hlwc2 int32 `json:"hlwc2,omitempty"`
- Hlzq1 int32 `json:"hlzq1,omitempty"`
- Hlzq2 int32 `json:"hlzq2,omitempty"`
- Hlzql1 int32 `json:"hlzql1,omitempty"`
- Hlzql2 int32 `json:"hlzql2,omitempty"`
- Slwc1 int32 `json:"slwc1,omitempty"`
- Slwc2 int32 `json:"slwc2,omitempty"`
- Slzq1 int32 `json:"slzq1,omitempty"`
- Slzq2 int32 `json:"slzq2,omitempty"`
- Slzql1 int32 `json:"slzql1,omitempty"`
- Slzql2 int32 `json:"slzql2,omitempty"`
- Error bool `json:"error,omitempty"`
- }
- // TrainNumberParams 班次
- type TrainNumberParams struct {
- PastureId string `json:"pastureid"`
- InfoRName string `json:"inforname"`
- }
- // TrainNumberList 班次
- type TrainNumberList struct {
- InfoName string `json:"inforname"`
- InfoValue string `json:"inforvalue"`
- }
- type GetDataByNameParams struct {
- PastureId string `json:"pastureid"`
- StartTime string `json:"startTime"`
- StopTime string `json:"stopTime"`
- }
- var DefaultSheetName = "Sheet1"
|