添加扩展记录的时间单位

This commit is contained in:
lzh 2025-07-07 10:46:13 +08:00
parent a556777369
commit 87b7805c42
5 changed files with 1154 additions and 1143 deletions

View File

@ -116,6 +116,7 @@ type BundleExtendRecordItemPo struct {
OperatorName string OperatorName string
OperatorPhoneNumber string OperatorPhoneNumber string
AssociatedOrderNumber string `gorm:"column:associated_order_number;type:varchar(256);comment:关联订单号" json:"associatedOrderNumber"` AssociatedOrderNumber string `gorm:"column:associated_order_number;type:varchar(256);comment:关联订单号" json:"associatedOrderNumber"`
TimeUnit uint `gorm:"column:time_unit;type:int(11) unsigned;comment:时间单位" json:"timeUnit"`
OrderUUID string OrderUUID string
CreatedAt time.Time CreatedAt time.Time
} }

View File

@ -600,8 +600,9 @@ message BundleExtendRecordItem{
uint64 createdAt = 9; uint64 createdAt = 9;
string remark = 10; string remark = 10;
string associatedOrderNumber = 11; string associatedOrderNumber = 11;
string operatorName = 12; uint32 timeUnit = 12;
string operatorPhoneNumber = 13; string operatorName = 13;
string operatorPhoneNumber = 14;
} }
message GetBundleBalanceListReq{ message GetBundleBalanceListReq{

File diff suppressed because it is too large Load Diff

View File

@ -7,8 +7,8 @@ import (
fmt "fmt" fmt "fmt"
math "math" math "math"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
_ "github.com/mwitkow/go-proto-validators"
_ "google.golang.org/protobuf/types/descriptorpb" _ "google.golang.org/protobuf/types/descriptorpb"
_ "github.com/mwitkow/go-proto-validators"
github_com_mwitkow_go_proto_validators "github.com/mwitkow/go-proto-validators" github_com_mwitkow_go_proto_validators "github.com/mwitkow/go-proto-validators"
) )

View File

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go-triple. DO NOT EDIT. // Code generated by protoc-gen-go-triple. DO NOT EDIT.
// versions: // versions:
// - protoc-gen-go-triple v1.0.8 // - protoc-gen-go-triple v1.0.8
// - protoc v4.24.0--rc1 // - protoc v3.20.3
// source: pb/bundle.proto // source: pb/bundle.proto
package bundle package bundle