|
@@ -2163,6 +2163,78 @@ func (x *ValueRatio) GetValueRatio() []string {
|
|
return nil
|
|
return nil
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+// 首页 dashboard 撒料时间统计分析
|
|
|
|
+type SprinkleFeedTimeRequest struct {
|
|
|
|
+ state protoimpl.MessageState
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
+
|
|
|
|
+ FeedFormulaId int32 `protobuf:"varint,1,opt,name=feed_formula_id,json=feedFormulaId,proto3" json:"feed_formula_id,omitempty"` // 配方id
|
|
|
|
+ StartDate string `protobuf:"bytes,2,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` // 开始时间
|
|
|
|
+ EndDate string `protobuf:"bytes,3,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` // 结束时间
|
|
|
|
+ PastureIds []int32 `protobuf:"varint,4,rep,packed,name=pasture_ids,json=pastureIds,proto3" json:"pasture_ids,omitempty"` //牧场ids
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *SprinkleFeedTimeRequest) Reset() {
|
|
|
|
+ *x = SprinkleFeedTimeRequest{}
|
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
|
+ mi := &file_backend_operation_statistic_proto_msgTypes[22]
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *SprinkleFeedTimeRequest) String() string {
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (*SprinkleFeedTimeRequest) ProtoMessage() {}
|
|
|
|
+
|
|
|
|
+func (x *SprinkleFeedTimeRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
+ mi := &file_backend_operation_statistic_proto_msgTypes[22]
|
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
+ }
|
|
|
|
+ return ms
|
|
|
|
+ }
|
|
|
|
+ return mi.MessageOf(x)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// Deprecated: Use SprinkleFeedTimeRequest.ProtoReflect.Descriptor instead.
|
|
|
|
+func (*SprinkleFeedTimeRequest) Descriptor() ([]byte, []int) {
|
|
|
|
+ return file_backend_operation_statistic_proto_rawDescGZIP(), []int{22}
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *SprinkleFeedTimeRequest) GetFeedFormulaId() int32 {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.FeedFormulaId
|
|
|
|
+ }
|
|
|
|
+ return 0
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *SprinkleFeedTimeRequest) GetStartDate() string {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.StartDate
|
|
|
|
+ }
|
|
|
|
+ return ""
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *SprinkleFeedTimeRequest) GetEndDate() string {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.EndDate
|
|
|
|
+ }
|
|
|
|
+ return ""
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *SprinkleFeedTimeRequest) GetPastureIds() []int32 {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.PastureIds
|
|
|
|
+ }
|
|
|
|
+ return nil
|
|
|
|
+}
|
|
|
|
+
|
|
type Table_TableList struct {
|
|
type Table_TableList struct {
|
|
state protoimpl.MessageState
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
sizeCache protoimpl.SizeCache
|
|
@@ -2175,7 +2247,7 @@ type Table_TableList struct {
|
|
func (x *Table_TableList) Reset() {
|
|
func (x *Table_TableList) Reset() {
|
|
*x = Table_TableList{}
|
|
*x = Table_TableList{}
|
|
if protoimpl.UnsafeEnabled {
|
|
if protoimpl.UnsafeEnabled {
|
|
- mi := &file_backend_operation_statistic_proto_msgTypes[22]
|
|
|
|
|
|
+ mi := &file_backend_operation_statistic_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
@@ -2188,7 +2260,7 @@ func (x *Table_TableList) String() string {
|
|
func (*Table_TableList) ProtoMessage() {}
|
|
func (*Table_TableList) ProtoMessage() {}
|
|
|
|
|
|
func (x *Table_TableList) ProtoReflect() protoreflect.Message {
|
|
func (x *Table_TableList) ProtoReflect() protoreflect.Message {
|
|
- mi := &file_backend_operation_statistic_proto_msgTypes[22]
|
|
|
|
|
|
+ mi := &file_backend_operation_statistic_proto_msgTypes[23]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -2609,8 +2681,18 @@ var file_backend_operation_statistic_proto_rawDesc = []byte{
|
|
0x65, 0x44, 0x61, 0x79, 0x22, 0x2d, 0x0a, 0x0a, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x61, 0x74,
|
|
0x65, 0x44, 0x61, 0x79, 0x22, 0x2d, 0x0a, 0x0a, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x61, 0x74,
|
|
0x69, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x69,
|
|
0x69, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x69,
|
|
0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x61,
|
|
0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x61,
|
|
- 0x74, 0x69, 0x6f, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
|
|
|
|
- 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
|
+ 0x74, 0x69, 0x6f, 0x22, 0x9c, 0x01, 0x0a, 0x17, 0x53, 0x70, 0x72, 0x69, 0x6e, 0x6b, 0x6c, 0x65,
|
|
|
|
+ 0x46, 0x65, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
|
+ 0x26, 0x0a, 0x0f, 0x66, 0x65, 0x65, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x5f,
|
|
|
|
+ 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x66, 0x65, 0x65, 0x64, 0x46, 0x6f,
|
|
|
|
+ 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74,
|
|
|
|
+ 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61,
|
|
|
|
+ 0x72, 0x74, 0x44, 0x61, 0x74, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x64, 0x61,
|
|
|
|
+ 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x44, 0x61, 0x74,
|
|
|
|
+ 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x73,
|
|
|
|
+ 0x18, 0x04, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x49,
|
|
|
|
+ 0x64, 0x73, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
|
|
|
+ 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
}
|
|
|
|
|
|
var (
|
|
var (
|
|
@@ -2625,7 +2707,7 @@ func file_backend_operation_statistic_proto_rawDescGZIP() []byte {
|
|
return file_backend_operation_statistic_proto_rawDescData
|
|
return file_backend_operation_statistic_proto_rawDescData
|
|
}
|
|
}
|
|
|
|
|
|
-var file_backend_operation_statistic_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
|
|
|
|
|
|
+var file_backend_operation_statistic_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
|
|
var file_backend_operation_statistic_proto_goTypes = []interface{}{
|
|
var file_backend_operation_statistic_proto_goTypes = []interface{}{
|
|
(*SearchFormulaEstimateRequest)(nil), // 0: backend.operation.SearchFormulaEstimateRequest
|
|
(*SearchFormulaEstimateRequest)(nil), // 0: backend.operation.SearchFormulaEstimateRequest
|
|
(*SearchInventoryStatisticsRequest)(nil), // 1: backend.operation.SearchInventoryStatisticsRequest
|
|
(*SearchInventoryStatisticsRequest)(nil), // 1: backend.operation.SearchInventoryStatisticsRequest
|
|
@@ -2649,25 +2731,26 @@ var file_backend_operation_statistic_proto_goTypes = []interface{}{
|
|
(*Table)(nil), // 19: backend.operation.Table
|
|
(*Table)(nil), // 19: backend.operation.Table
|
|
(*CommonValueRatio)(nil), // 20: backend.operation.CommonValueRatio
|
|
(*CommonValueRatio)(nil), // 20: backend.operation.CommonValueRatio
|
|
(*ValueRatio)(nil), // 21: backend.operation.ValueRatio
|
|
(*ValueRatio)(nil), // 21: backend.operation.ValueRatio
|
|
- (*Table_TableList)(nil), // 22: backend.operation.Table.TableList
|
|
|
|
- (*PaginationModel)(nil), // 23: backend.operation.PaginationModel
|
|
|
|
- (*FormulaOptionEnum)(nil), // 24: backend.operation.FormulaOptionEnum
|
|
|
|
- (CattleCategoryParent_Kind)(0), // 25: backend.operation.CattleCategoryParent.Kind
|
|
|
|
|
|
+ (*SprinkleFeedTimeRequest)(nil), // 22: backend.operation.SprinkleFeedTimeRequest
|
|
|
|
+ (*Table_TableList)(nil), // 23: backend.operation.Table.TableList
|
|
|
|
+ (*PaginationModel)(nil), // 24: backend.operation.PaginationModel
|
|
|
|
+ (*FormulaOptionEnum)(nil), // 25: backend.operation.FormulaOptionEnum
|
|
|
|
+ (CattleCategoryParent_Kind)(0), // 26: backend.operation.CattleCategoryParent.Kind
|
|
}
|
|
}
|
|
var file_backend_operation_statistic_proto_depIdxs = []int32{
|
|
var file_backend_operation_statistic_proto_depIdxs = []int32{
|
|
- 23, // 0: backend.operation.SearchFormulaEstimateRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
|
- 23, // 1: backend.operation.SearchInventoryStatisticsRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
|
- 23, // 2: backend.operation.SearchUserMaterialsStatisticsRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
|
- 23, // 3: backend.operation.SearchPriceStatisticsRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
|
- 23, // 4: backend.operation.SearchFeedStatisticsRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
|
- 23, // 5: backend.operation.CowsAnalysisRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
|
- 23, // 6: backend.operation.MixFeedStatisticsRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
|
- 23, // 7: backend.operation.SprinkleStatisticsRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
|
- 23, // 8: backend.operation.ProcessAnalysisRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
|
- 23, // 9: backend.operation.TrainNumberRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
|
|
|
+ 24, // 0: backend.operation.SearchFormulaEstimateRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
|
+ 24, // 1: backend.operation.SearchInventoryStatisticsRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
|
+ 24, // 2: backend.operation.SearchUserMaterialsStatisticsRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
|
+ 24, // 3: backend.operation.SearchPriceStatisticsRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
|
+ 24, // 4: backend.operation.SearchFeedStatisticsRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
|
+ 24, // 5: backend.operation.CowsAnalysisRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
|
+ 24, // 6: backend.operation.MixFeedStatisticsRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
|
+ 24, // 7: backend.operation.SprinkleStatisticsRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
|
+ 24, // 8: backend.operation.ProcessAnalysisRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
|
+ 24, // 9: backend.operation.TrainNumberRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
14, // 10: backend.operation.TrainNumberResponse.data:type_name -> backend.operation.TrainNumberData
|
|
14, // 10: backend.operation.TrainNumberResponse.data:type_name -> backend.operation.TrainNumberData
|
|
- 24, // 11: backend.operation.TrainNumberData.list:type_name -> backend.operation.FormulaOptionEnum
|
|
|
|
- 25, // 12: backend.operation.SearchAnalysisAccuracyRequest.cattle_parent_category_id:type_name -> backend.operation.CattleCategoryParent.Kind
|
|
|
|
|
|
+ 25, // 11: backend.operation.TrainNumberData.list:type_name -> backend.operation.FormulaOptionEnum
|
|
|
|
+ 26, // 12: backend.operation.SearchAnalysisAccuracyRequest.cattle_parent_category_id:type_name -> backend.operation.CattleCategoryParent.Kind
|
|
17, // 13: backend.operation.SearchAnalysisAccuracyResponse.data:type_name -> backend.operation.AnalysisAccuracy
|
|
17, // 13: backend.operation.SearchAnalysisAccuracyResponse.data:type_name -> backend.operation.AnalysisAccuracy
|
|
18, // 14: backend.operation.AnalysisAccuracy.chart:type_name -> backend.operation.Chart
|
|
18, // 14: backend.operation.AnalysisAccuracy.chart:type_name -> backend.operation.Chart
|
|
19, // 15: backend.operation.AnalysisAccuracy.table:type_name -> backend.operation.Table
|
|
19, // 15: backend.operation.AnalysisAccuracy.table:type_name -> backend.operation.Table
|
|
@@ -2675,7 +2758,7 @@ var file_backend_operation_statistic_proto_depIdxs = []int32{
|
|
20, // 17: backend.operation.Chart.mixed_fodder_correct_ratio:type_name -> backend.operation.CommonValueRatio
|
|
20, // 17: backend.operation.Chart.mixed_fodder_correct_ratio:type_name -> backend.operation.CommonValueRatio
|
|
20, // 18: backend.operation.Chart.sprinkle_fodder_accurate_ratio:type_name -> backend.operation.CommonValueRatio
|
|
20, // 18: backend.operation.Chart.sprinkle_fodder_accurate_ratio:type_name -> backend.operation.CommonValueRatio
|
|
20, // 19: backend.operation.Chart.sprinkle_fodder_correct_ratio:type_name -> backend.operation.CommonValueRatio
|
|
20, // 19: backend.operation.Chart.sprinkle_fodder_correct_ratio:type_name -> backend.operation.CommonValueRatio
|
|
- 22, // 20: backend.operation.Table.table_list:type_name -> backend.operation.Table.TableList
|
|
|
|
|
|
+ 23, // 20: backend.operation.Table.table_list:type_name -> backend.operation.Table.TableList
|
|
21, // 21: backend.operation.CommonValueRatio.data_list:type_name -> backend.operation.ValueRatio
|
|
21, // 21: backend.operation.CommonValueRatio.data_list:type_name -> backend.operation.ValueRatio
|
|
22, // [22:22] is the sub-list for method output_type
|
|
22, // [22:22] is the sub-list for method output_type
|
|
22, // [22:22] is the sub-list for method input_type
|
|
22, // [22:22] is the sub-list for method input_type
|
|
@@ -2958,6 +3041,18 @@ func file_backend_operation_statistic_proto_init() {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
file_backend_operation_statistic_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
|
file_backend_operation_statistic_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
+ switch v := v.(*SprinkleFeedTimeRequest); i {
|
|
|
|
+ case 0:
|
|
|
|
+ return &v.state
|
|
|
|
+ case 1:
|
|
|
|
+ return &v.sizeCache
|
|
|
|
+ case 2:
|
|
|
|
+ return &v.unknownFields
|
|
|
|
+ default:
|
|
|
|
+ return nil
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ file_backend_operation_statistic_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Table_TableList); i {
|
|
switch v := v.(*Table_TableList); i {
|
|
case 0:
|
|
case 0:
|
|
return &v.state
|
|
return &v.state
|
|
@@ -2976,7 +3071,7 @@ func file_backend_operation_statistic_proto_init() {
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_backend_operation_statistic_proto_rawDesc,
|
|
RawDescriptor: file_backend_operation_statistic_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumEnums: 0,
|
|
- NumMessages: 23,
|
|
|
|
|
|
+ NumMessages: 24,
|
|
NumExtensions: 0,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
NumServices: 0,
|
|
},
|
|
},
|