diff --git a/cmd/internal/controller/mgmt_statement.go b/cmd/internal/controller/mgmt_statement.go new file mode 100644 index 0000000..e0b77b8 --- /dev/null +++ b/cmd/internal/controller/mgmt_statement.go @@ -0,0 +1,99 @@ +package controller + +import ( + "context" + + logic3 "github.com/fonchain/fonchain-artistinfo/cmd/internal/logic" + "github.com/fonchain/fonchain-artistinfo/pb/mgmtStatement" + "github.com/fonchain/fonchain-artistinfo/pkg/m" +) + +type MgmtStatementProvider struct { + mgmtStatement.UnimplementedMgmtStatementServer + mgmtStatementLogic *logic3.MgmtStatement +} + +//通过excel获得批次数据 +func (a *MgmtStatementProvider) AddBatchDetail(ctx context.Context, in *mgmtStatement.AddBatchDetailreq) (resp *mgmtStatement.AddBatchDetailres, err error) { + resp = &mgmtStatement.AddBatchDetailres{} + err = nil + if resp, err = a.mgmtStatementLogic.AddBatchDetail(in); err != nil { + return + } + resp.Msg = m.CREATE_SUCCESS + return +} + +//通过excel导入数据存入数据库(附件一) +func (a *MgmtStatementProvider) UploadExcelOne(ctx context.Context, in *mgmtStatement.UploadExcelOnereq) (resp *mgmtStatement.UploadExcelOneres, err error) { + resp = &mgmtStatement.UploadExcelOneres{} + err = nil + if resp, err = a.mgmtStatementLogic.UploadExcelOne(in); err != nil { + return + } + resp.Msg = m.CREATE_SUCCESS + return +} + +//通过excel导入数据存入数据库(附件二) +func (a *MgmtStatementProvider) UploadExcelTwo(ctx context.Context, in *mgmtStatement.UploadExcelTworeq) (resp *mgmtStatement.UploadExcelTwores, err error) { + resp = &mgmtStatement.UploadExcelTwores{} + err = nil + if resp, err = a.mgmtStatementLogic.UploadExcelTwo(in); err != nil { + return + } + resp.Msg = m.CREATE_SUCCESS + return +} + +//画家对账单列表 +func (a *MgmtStatementProvider) ArtistStatementList(ctx context.Context, in *mgmtStatement.ArtistStatementListreq) (resp *mgmtStatement.ArtistStatementListres, err error) { + resp = &mgmtStatement.ArtistStatementListres{} + err = nil + if resp, err = a.mgmtStatementLogic.ArtistStatementList(in); err != nil { + return + } + resp.Msg = m.SUCCESS + return +} + +//画作对账单列表 +func (a *MgmtStatementProvider) ArtStatementList(ctx context.Context, in *mgmtStatement.ArtStatementListreq) (resp *mgmtStatement.ArtStatementListres, err error) { + resp = &mgmtStatement.ArtStatementListres{} + err = nil + if resp, err = a.mgmtStatementLogic.ArtStatementList(in); err != nil { + return + } + resp.Msg = m.SUCCESS + return +} + +//更新对账单状态 +func (a *MgmtStatementProvider) UpdateState(ctx context.Context, in *mgmtStatement.UpdateStatementreq) (resp *mgmtStatement.UpdateStatementres, err error) { + resp = &mgmtStatement.UpdateStatementres{} + if err = a.mgmtStatementLogic.UpdateState(in); err != nil { + return + } + resp.Msg = m.UPDATE_SUCCESS + return +} + +//导出合同 +func (a *MgmtStatementProvider) ExportContract(ctx context.Context, in *mgmtStatement.ExportContractreq) (resp *mgmtStatement.ExportContractres, err error) { + resp = &mgmtStatement.ExportContractres{} + err = nil + if resp, err = a.mgmtStatementLogic.ExportContract(in); err != nil { + return + } + return +} + +//生成管理系统合同 +func (a *MgmtStatementProvider) CreateTxContract(ctx context.Context, in *mgmtStatement.CreateTxContractreq) (resp *mgmtStatement.CreateTxContractres, err error) { + resp = &mgmtStatement.CreateTxContractres{} + err = nil + if resp, err = a.mgmtStatementLogic.CreateTxContract(in); err != nil { + return + } + return +} diff --git a/cmd/internal/dao/mgmt_statement.go b/cmd/internal/dao/mgmt_statement.go new file mode 100644 index 0000000..3ab54ad --- /dev/null +++ b/cmd/internal/dao/mgmt_statement.go @@ -0,0 +1,147 @@ +package dao + +import ( + "errors" + + "github.com/fonchain/fonchain-artistinfo/cmd/model" + "github.com/fonchain/fonchain-artistinfo/pb/mgmtStatement" + db "github.com/fonchain/fonchain-artistinfo/pkg/db" + "github.com/fonchain/fonchain-artistinfo/pkg/m" + "go.uber.org/zap" +) + +//通过excel获得批次数据到数据库 +func AddBatchDetail(batch *model.ArtworkTx) (err error) { + tx := db.DB.Begin() + if tx.Error != nil { + zap.L().Error("CreateBatch Begin err", zap.Error(tx.Error)) + return errors.New(m.ERROR_SELECT) + } + defer tx.Rollback() + result := tx.Create(&batch) + if result.Error != nil || result.RowsAffected != 1 { + zap.L().Error("dao CreateBatch err", zap.Error(result.Error)) + return errors.New(m.ERROR_CRE_ART) + } + tx.Commit() + return +} + +//通过excel获得数据创建数据到数据库(附件一) +func UploadExcelOne(statement *model.ArtworkSoldTxDetail) (err error) { + tx := db.DB.Begin() + if tx.Error != nil { + zap.L().Error("CreateStatement Begin err", zap.Error(tx.Error)) + return errors.New(m.ERROR_SELECT) + } + defer tx.Rollback() + result := tx.Create(&statement) + if result.Error != nil || result.RowsAffected != 1 { + zap.L().Error("dao CreateStatement err", zap.Error(result.Error)) + return errors.New(m.ERROR_CRE_ART) + } + tx.Commit() + return +} + +//通过excel获得数据创建数据到数据库(附件二) +func UploadExcelTwo(statement *model.ArtworkSoldTxDetail) (err error) { + tx := db.DB.Begin() + if tx.Error != nil { + zap.L().Error("CreateStatement Begin err", zap.Error(tx.Error)) + return errors.New(m.ERROR_SELECT) + } + defer tx.Rollback() + result := tx.Create(&statement) + if result.Error != nil || result.RowsAffected != 1 { + zap.L().Error("dao CreateStatement err", zap.Error(result.Error)) + return errors.New(m.ERROR_CRE_ART) + } + tx.Commit() + return +} + +//画家对账单列表 +func ArtistStatementList(in *mgmtStatement.ArtistStatementListreq) (statement []*model.ArtworkSoldTxDetail, count int64, err error) { + offset := (in.Page - 1) * in.PageSize + db := db.DB.Model(&statement).Select("artist_uid, artist_name, batch_time, view_url, download_url") + if err = db.Count(&count).Error; err != nil { + zap.L().Error("ArtistList err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return + } + if count == 0 { + return + } + if err = db.Order("").Limit(int(in.PageSize)).Offset(int(offset)).Find(&statement).Error; err != nil { + zap.L().Error("ArtistList err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return + } + return +} + +//画作基于批次和画家的对账单列表 +func ArtStatementList(in *mgmtStatement.ArtStatementListreq) (statement []*model.ArtworkSoldTxDetail, count int64, err error) { + offset := (in.Page - 1) * in.PageSize + db := db.DB.Model(&statement).Table("").Select("artwork_name, tf_num, ruler, sale_no, min_price") + if err = db.Count(&count).Error; err != nil { + zap.L().Error("ArtList err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return + } + if count == 0 { + return + } + if err = db.Order("").Limit(int(in.PageSize)).Offset(int(offset)).Find(&statement).Error; err != nil { + zap.L().Error("ArtList err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return + } + return +} + +//更新对账单状态 +func UpdateState(StatementUid string, columns map[string]interface{}) (err error) { + if err = db.DB.Model(&model.ArtworkSoldTxDetail{}).Where("StatementUid = ? ", StatementUid).Updates(columns).Error; err != nil { + err = errors.New(m.ERROR_UPDATE_STATEMENT) + } + return +} + +//导出合同 +func ExportContract(in mgmtStatement.ExportContractreq) (data []*model.Contract, count int64, err error) { + offset := (in.Page - 1) * in.PageSize + db := db.DB.Model(&data).Select("artist_uid, view_url, download_url, batch_time") + if err = db.Count(&count).Error; err != nil { + zap.L().Error("ArtList err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return + } + if count == 0 { + return + } + if err = db.Order("").Limit(int(in.PageSize)).Offset(int(offset)).Find(&data).Error; err != nil { + zap.L().Error("ArtList err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return + } + return +} + +//生成合同 +func CreateTxContract(contract []*model.Contract) (err error) { + tx := db.DB.Begin() + if tx.Error != nil { + zap.L().Error("CreateContract Begin err", zap.Error(tx.Error)) + return errors.New(m.ERROR_SELECT) + } + defer tx.Rollback() + result := tx.Create(&contract) + if result.Error != nil || result.RowsAffected != 1 { + zap.L().Error("dao CreateContract err", zap.Error(result.Error)) + return errors.New(m.ERROR_CRE_ART) + } + tx.Commit() + return +} diff --git a/cmd/internal/logic/mgmt_statement.go b/cmd/internal/logic/mgmt_statement.go new file mode 100644 index 0000000..8b45816 --- /dev/null +++ b/cmd/internal/logic/mgmt_statement.go @@ -0,0 +1,260 @@ +package logic + +import ( + "errors" + + "github.com/fonchain/fonchain-artistinfo/cmd/internal/dao" + "github.com/fonchain/fonchain-artistinfo/cmd/model" + "github.com/fonchain/fonchain-artistinfo/pb/mgmtStatement" + db "github.com/fonchain/fonchain-artistinfo/pkg/db" + "github.com/fonchain/fonchain-artistinfo/pkg/m" + uuid "github.com/satori/go.uuid" +) + +type IMgmtStatement interface { + AddBatchDetail(in *mgmtStatement.AddBatchDetailreq) (*mgmtStatement.AddBatchDetailres, error) + UploadExcelOne(in *mgmtStatement.UploadExcelOnereq) (*mgmtStatement.UploadExcelOneres, error) + UploadExcelTwo(in *mgmtStatement.UploadExcelTworeq) (*mgmtStatement.UploadExcelTwores, error) + ArtistStatementList(in *mgmtStatement.ArtistStatementListreq) (*mgmtStatement.ArtistStatementListres, error) + ArtStatementList(in *mgmtStatement.ArtStatementListreq) (*mgmtStatement.ArtStatementListres, error) + ExportContract(in *mgmtStatement.ExportContractreq) (*mgmtStatement.ExportContractres, error) + UpdateState(in *mgmtStatement.UpdateStatementreq) error + CreateTxContract(in *mgmtStatement.CreateTxContractreq) (resp *mgmtStatement.CreateTxContractres, err error) +} + +func NewMgmtStatement() IMgmtStatement { + return &MgmtStatement{} +} + +type MgmtStatement struct{} + +//通过excel生成一条批次数据 +func (a *MgmtStatement) AddBatchDetail(in *mgmtStatement.AddBatchDetailreq) (resp *mgmtStatement.AddBatchDetailres, err error) { + resp = &mgmtStatement.AddBatchDetailres{} + var uid uuid.UUID + if uid, err = uuid.NewV4(); err != nil { + err = errors.New(m.ERROR_UID) + return + } + if err != nil { + return nil, err + } + var data model.ArtworkTx + data.Uid = uid.String() + data.ArtistName = in.ArtistName + data.ArtistUid = in.ArtistUid + data.BatchTime = in.BatchTime + data.StType = in.StType //对账单类型:1=版权 2=物权 + data.Status = 1 //对账单状态 1.未签署 2.已发送未签署 3.已签署 + if err = dao.AddBatchDetail(&data); err != nil { + return + } + respData := &mgmtStatement.AddBatchRes{BatchUid: data.Uid} + resp.Data = respData + return +} + +//生成一条对账单记录(附件一) +func (a *MgmtStatement) UploadExcelOne(in *mgmtStatement.UploadExcelOnereq) (resp *mgmtStatement.UploadExcelOneres, err error) { + resp = &mgmtStatement.UploadExcelOneres{} + var uid uuid.UUID + if uid, err = uuid.NewV4(); err != nil { + err = errors.New(m.ERROR_UID) + return + } + if err != nil { + return nil, err + } + var data model.ArtworkSoldTxDetail //物权版权的对账单 + + sqlSelect := `select uid from artwork_tx where artistid = ? and batchtime = ?` + var batchid string + if err := db.DB.Raw(sqlSelect, data.ArtistUid, data.BatchTime).Find(&batchid).Error; err != nil { + return nil, err + } + + data.Uid = uid.String() + data.BatchUid = batchid + data.ArtworkName = in.ArtworkName + data.ArtistName = in.ArtistName + data.ArtistUid = in.ArtistUid + data.TfNum = in.TfNum + data.BatchTime = in.BatchTime + data.GuaranteePrice = in.GuaranteePrice + data.Ruler = in.Ruler + data.MinPrice = in.MinPrice + data.StType = in.StType //对账单类型:1=版权 2=物权 + if err = dao.UploadExcelOne(&data); err != nil { + return + } + respData := &mgmtStatement.StatementAddRes{StatementUid: data.Uid} + resp.Data = respData + return +} + +//生成一条对账单记录(附件二) +func (a *MgmtStatement) UploadExcelTwo(in *mgmtStatement.UploadExcelTworeq) (resp *mgmtStatement.UploadExcelTwores, err error) { + resp = &mgmtStatement.UploadExcelTwores{} + var uid uuid.UUID + if uid, err = uuid.NewV4(); err != nil { + err = errors.New(m.ERROR_UID) + return + } + if err != nil { + return nil, err + } + var data model.ArtworkSoldTxDetail //物权版权的对账单 + + sqlSelect := `select uid from artwork_tx_batch where artistid = ? and batchtime = ?` + var batchid string + if err := db.DB.Raw(sqlSelect, data.ArtistUid, data.BatchTime).Find(&batchid).Error; err != nil { + return nil, err + } + + data.Uid = uid.String() + data.BatchUid = batchid + data.ArtworkName = in.ArtworkName + data.ArtistName = in.ArtistName + data.ArtistUid = in.ArtistUid + data.TfNum = in.TfNum + data.BatchTime = in.BatchTime + data.Ruler = in.Ruler + data.MinPrice = in.MinPrice + data.StType = in.StType //对账单类型:1=版权 2=物权 + if err = dao.UploadExcelTwo(&data); err != nil { + return + } + respData := &mgmtStatement.StatementAddRes{StatementUid: data.Uid} + resp.Data = respData + return +} + +//画家对账单列表 +func (a *MgmtStatement) ArtistStatementList(in *mgmtStatement.ArtistStatementListreq) (resp *mgmtStatement.ArtistStatementListres, err error) { + resp = &mgmtStatement.ArtistStatementListres{} + if in.Page < model.InitPage { + in.Page = model.InitPage + } + if in.PageSize < 1 { + in.PageSize = model.PageSize + } + var list []*model.ArtworkSoldTxDetail + var count int64 + if list, count, err = dao.ArtistStatementList(in); err != nil { + return + } + resp.Count = int32(count) + resp.Page = in.Page + resp.PageSize = in.PageSize + for _, v := range list { + temp := mgmtStatement.ArtistStatementListres_Info{} + temp.ArtistName = v.ArtistName + temp.ArtistUid = v.ArtistUid + temp.BatchTime = v.BatchTime + resp.Data = append(resp.Data, &temp) + } + return +} + +//画作列表,根据画家和批次 +func (a *MgmtStatement) ArtStatementList(in *mgmtStatement.ArtStatementListreq) (resp *mgmtStatement.ArtStatementListres, err error) { + resp = &mgmtStatement.ArtStatementListres{} + if in.Page < model.InitPage { + in.Page = model.InitPage + } + if in.PageSize < 1 { + in.PageSize = model.PageSize + } + var list []*model.ArtworkSoldTxDetail + var count int64 + if list, count, err = dao.ArtStatementList(in); err != nil { + return + } + resp.Count = int32(count) + resp.Page = in.Page + resp.PageSize = in.PageSize + for _, v := range list { + temp := mgmtStatement.ArtStatementListres_Info{} + temp.ArtistName = v.ArtworkName + temp.ArtistUid = v.ArtistUid + temp.ArtworkName = v.ArtworkName + temp.Ruler = v.Ruler + temp.SaleNo = v.SaleNo + temp.TfNum = v.TfNum + temp.CompleteDate = v.CompleteDate + temp.MinPrice = v.MinPrice + } + return +} + +//更新对账单状态 +func (a *MgmtStatement) UpdateState(in *mgmtStatement.UpdateStatementreq) (err error) { + columns := map[string]interface{}{ + "status": in.Status, //状态 + } + if err = dao.UpdateState(in.StatementUid, columns); err != nil { + return + } + return +} + +//导出合同 +func (a *MgmtStatement) ExportContract(in *mgmtStatement.ExportContractreq) (resp *mgmtStatement.ExportContractres, err error) { + resp = &mgmtStatement.ExportContractres{} + if in.Page < model.InitPage { + in.Page = model.InitPage + } + if in.PageSize < 1 { + in.PageSize = model.PageSize + } + + var list []*model.Contract + var count int64 + if list, count, err = dao.ExportContract(in); err != nil { + return + } + resp.Count = int32(count) + for _, v := range list { + temp := mgmtStatement.ExportContractres_Info{} + temp.DownloadUrl = v.DownloadUrl + temp.BatchTime = v.BatchTime + temp.StType = v.StType + temp.ViewUrl = v.ViewUrl + temp.BatchUid = v.BatchUid + temp.ArtistUid = v.ArtistUid + resp.Data = append(resp.Data, &temp) + } + return +} + +//生成合同 +func (a *MgmtStatement) CreateTxContract(in *mgmtStatement.CreateTxContractreq) (resp *mgmtStatement.CreateTxContractres, err error) { + resp = &mgmtStatement.CreateTxContractres{} + + var uid uuid.UUID + if uid, err = uuid.NewV4(); err != nil { + err = errors.New(m.ERROR_UID) + return + } + if err != nil { + return nil, err + } + + var data model.Contract + data.Uid = uid.String() + data.ArtistUid = in.ArtistUid + data.BatchTime = in.BatchTime + data.BatchUid = in.BatchUid + data.ContractId = in.ContractId + data.StType = in.StType + data.Status = 1 + data.DownloadUrl = in.DownloadUrl + data.ViewUrl = in.ViewUrl + data.CardId = in.CardId + if err = dao.CreateTxContract(&data); err != nil { + return + } + respData := &mgmtStatement.AddContractRes{BatchUid: data.Uid} + resp.Data = respData + return +} diff --git a/cmd/model/contract.go b/cmd/model/contract.go index c39d1e9..3d171fc 100644 --- a/cmd/model/contract.go +++ b/cmd/model/contract.go @@ -12,6 +12,7 @@ type Contract struct { TransactionId string `gorm:"column:transaction_id;type:varchar(300);comment:交易id" json:"transaction_id"` Type int32 `gorm:"column:type;type:int(1);comment:合同类型 (1);NOT NULL" json:"type"` ViewUrl string `gorm:"column:view_url;type:varchar(500);comment:在线查看合同链接" json:"view_url"` + CardId string `gorm:"column:card_id;type:varchar(500);comment:银行卡号" json:"card_id"` DownloadUrl string `gorm:"column:download_url;type:varchar(500);comment:合同下载链接" json:"download_url"` State int32 `gorm:"column:state;type:int(1);comment:合同状态,1:未签署2:已签署;NOT NULL" json:"state"` //1 未签署 2 已签署 Status int32 `gorm:"column:status;default:2;comment:2=锁定 3=解锁" json:"status" ` //跟随用户的锁定和解锁状态,用于控制数据的展示 diff --git a/cmd/model/statement.go b/cmd/model/statement.go index 2882042..10ed601 100644 --- a/cmd/model/statement.go +++ b/cmd/model/statement.go @@ -2,6 +2,11 @@ package model import "gorm.io/plugin/soft_delete" +const ( + InitPage = 1 + PageSize = 15 +) + //对账单画作物权 type ArtworkTx struct { ID int32 `gorm:"column:id;type:int(11);primary_key;AUTO_INCREMENT" json:"id"` @@ -9,6 +14,8 @@ type ArtworkTx struct { ArtistUid string `gorm:"column:artist_uid;type:varchar(100);comment:画家Uid;NOT NULL" json:"artist_uid"` ArtistName string `gorm:"column:artist_name;type:varchar(100);comment:画家名;NOT NULL" json:"artist_name"` BatchTime string `gorm:"column:batch_time;comment:批次时间" json:"batch_time"` + StType int32 `gorm:"column:st_type;comment:对账单类型 1=版权 2=物权"` + Status int32 `gorm:"column:st_type;comment:对账单状态 1:未签署;2:已生成,未签署;3:已签署"` CreatedAt int32 `gorm:"column:created_at;autoCreateTime"` UpdatedAt int32 `gorm:"column:updated_at;autoCreateTime"` DeletedAt soft_delete.DeletedAt @@ -34,14 +41,18 @@ type ArtworkSoldTxDetail struct { ID int32 `gorm:"column:id;type:int(11);primary_key;AUTO_INCREMENT" json:"id"` Uid string `gorm:"column:uid;type:varchar(100);comment:对账单画作物权详情表的唯一表示;NOT NULL" json:"uid"` BatchUid string `gorm:"column:batch_uid;type:varchar(100);comment:对账单画作物权表的唯一表示,即批次Uid;NOT NULL" json:"batch_uid"` + BatchTime string `gorm:"column:batch_time;comment:批次时间"` TfNum string `gorm:"column:tf_num;unqiueIndex:batchid_tfnum_idx;comment:"泰丰画作编号"` ArtworkName string `gorm:"column:artwork_name;comment:画作名称"` + ArtistName string `gorm:"column:artist_name;comment:画家名称"` + ArtistUid string `gorm:"column:artist_uid;comment:画家uid"` Ruler string `gorm:"column:ruler;comment:平尺"` SaleNo string `gorm:"column:sale_no;comment:销售单号"` CompleteDate string `gorm:"column:complete_date;comment:成交日期"` MinPrice float32 `gorm:"column:min_price;comment:委托销售底价"` SalePrice float32 `gorm:"column:sale_price;comment:画作售价"` GuaranteePrice float32 `gorm:"column:guarantee_price;comment:已收取保证金;"` + StType int32 `gorm:"column:st_type;comment:对账单类型 1=版权 2=物权"` CreatedAt int32 `gorm:"column:created_at;autoCreateTime"` UpdatedAt int32 `gorm:"column:updated_at;autoCreateTime"` DeletedAt soft_delete.DeletedAt diff --git a/pb/mgmtStatement/mgmtStatement.pb.go b/pb/mgmtStatement/mgmtStatement.pb.go new file mode 100644 index 0000000..d32ae82 --- /dev/null +++ b/pb/mgmtStatement/mgmtStatement.pb.go @@ -0,0 +1,2362 @@ +//proto版本 + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.0 +// protoc v3.21.1 +// source: mgmtStatement.proto + +//默认的包名 + +package mgmtStatement + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +//批次数据 +type AddBatchDetailreq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id int32 `protobuf:"varint,1,opt,name=Id,json=id,proto3" json:"Id,omitempty"` //批次id + BatchUid string `protobuf:"bytes,2,opt,name=BatchUid,json=batch_uid,proto3" json:"BatchUid,omitempty"` //批次uid 批次唯一标识 + ArtistUid string `protobuf:"bytes,3,opt,name=ArtistUid,json=artist_uid,proto3" json:"ArtistUid,omitempty"` //画家uid + ArtistName string `protobuf:"bytes,4,opt,name=ArtistName,json=artist_name,proto3" json:"ArtistName,omitempty"` //画家名 + BatchTime string `protobuf:"bytes,5,opt,name=BatchTime,json=batch_time,proto3" json:"BatchTime,omitempty"` //批次名 + StType int32 `protobuf:"varint,6,opt,name=StType,json=st_type,proto3" json:"StType,omitempty"` //对账单类型:1=版权 2=物权 + Status int32 `protobuf:"varint,7,opt,name=Status,json=status,proto3" json:"Status,omitempty"` //对账单状态 1:未签署;2:已生成,未签署;3:已签署 +} + +func (x *AddBatchDetailreq) Reset() { + *x = AddBatchDetailreq{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddBatchDetailreq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddBatchDetailreq) ProtoMessage() {} + +func (x *AddBatchDetailreq) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[0] + 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 AddBatchDetailreq.ProtoReflect.Descriptor instead. +func (*AddBatchDetailreq) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{0} +} + +func (x *AddBatchDetailreq) GetId() int32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *AddBatchDetailreq) GetBatchUid() string { + if x != nil { + return x.BatchUid + } + return "" +} + +func (x *AddBatchDetailreq) GetArtistUid() string { + if x != nil { + return x.ArtistUid + } + return "" +} + +func (x *AddBatchDetailreq) GetArtistName() string { + if x != nil { + return x.ArtistName + } + return "" +} + +func (x *AddBatchDetailreq) GetBatchTime() string { + if x != nil { + return x.BatchTime + } + return "" +} + +func (x *AddBatchDetailreq) GetStType() int32 { + if x != nil { + return x.StType + } + return 0 +} + +func (x *AddBatchDetailreq) GetStatus() int32 { + if x != nil { + return x.Status + } + return 0 +} + +type AddBatchRes struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BatchUid string `protobuf:"bytes,1,opt,name=BatchUid,json=batch_uid,proto3" json:"BatchUid,omitempty"` //批次uid 批次唯一标识 +} + +func (x *AddBatchRes) Reset() { + *x = AddBatchRes{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddBatchRes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddBatchRes) ProtoMessage() {} + +func (x *AddBatchRes) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[1] + 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 AddBatchRes.ProtoReflect.Descriptor instead. +func (*AddBatchRes) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{1} +} + +func (x *AddBatchRes) GetBatchUid() string { + if x != nil { + return x.BatchUid + } + return "" +} + +type AddBatchDetailres struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Msg string `protobuf:"bytes,1,opt,name=Msg,json=msg,proto3" json:"Msg,omitempty"` + Data *AddBatchRes `protobuf:"bytes,2,opt,name=Data,json=data,proto3" json:"Data,omitempty"` +} + +func (x *AddBatchDetailres) Reset() { + *x = AddBatchDetailres{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddBatchDetailres) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddBatchDetailres) ProtoMessage() {} + +func (x *AddBatchDetailres) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[2] + 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 AddBatchDetailres.ProtoReflect.Descriptor instead. +func (*AddBatchDetailres) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{2} +} + +func (x *AddBatchDetailres) GetMsg() string { + if x != nil { + return x.Msg + } + return "" +} + +func (x *AddBatchDetailres) GetData() *AddBatchRes { + if x != nil { + return x.Data + } + return nil +} + +//附件一 +type UploadExcelOnereq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id int32 `protobuf:"varint,1,opt,name=Id,json=id,proto3" json:"Id,omitempty"` //对账单id + StatementUid string `protobuf:"bytes,2,opt,name=StatementUid,json=statement_uid,proto3" json:"StatementUid,omitempty"` //对账单uid 对账单唯一标识 + BatchUid string `protobuf:"bytes,3,opt,name=BatchUid,json=batch_uid,proto3" json:"BatchUid,omitempty"` //批次uid 批次唯一标识 + TfNum string `protobuf:"bytes,4,opt,name=TfNum,proto3" json:"TfNum,omitempty"` //画作的泰丰编号 + Ruler string `protobuf:"bytes,5,opt,name=Ruler,json=ruler,proto3" json:"Ruler,omitempty"` //画作的平尺数 + ArtworkName string `protobuf:"bytes,6,opt,name=ArtworkName,json=artwork_name,proto3" json:"ArtworkName,omitempty"` //画作名称 + GuaranteePrice float32 `protobuf:"fixed32,7,opt,name=GuaranteePrice,json=guarantee_price,proto3" json:"GuaranteePrice,omitempty"` //公司保证金 + MinPrice float32 `protobuf:"fixed32,8,opt,name=MinPrice,json=min_price,proto3" json:"MinPrice,omitempty"` //委托销售底价 + ArtistUid string `protobuf:"bytes,9,opt,name=ArtistUid,json=artist_uid,proto3" json:"ArtistUid,omitempty"` //画家uid + ArtistName string `protobuf:"bytes,10,opt,name=ArtistName,json=artist_name,proto3" json:"ArtistName,omitempty"` //画家名 + BatchTime string `protobuf:"bytes,11,opt,name=BatchTime,json=batch_time,proto3" json:"BatchTime,omitempty"` //批次名 + StType int32 `protobuf:"varint,12,opt,name=StType,json=st_type,proto3" json:"StType,omitempty"` //对账单类型:1=版权 2=物权 + Status int32 `protobuf:"varint,13,opt,name=Status,json=status,proto3" json:"Status,omitempty"` //对账单状态 1:未签署;2:已生成,未签署;3:已签署 +} + +func (x *UploadExcelOnereq) Reset() { + *x = UploadExcelOnereq{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UploadExcelOnereq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UploadExcelOnereq) ProtoMessage() {} + +func (x *UploadExcelOnereq) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[3] + 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 UploadExcelOnereq.ProtoReflect.Descriptor instead. +func (*UploadExcelOnereq) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{3} +} + +func (x *UploadExcelOnereq) GetId() int32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *UploadExcelOnereq) GetStatementUid() string { + if x != nil { + return x.StatementUid + } + return "" +} + +func (x *UploadExcelOnereq) GetBatchUid() string { + if x != nil { + return x.BatchUid + } + return "" +} + +func (x *UploadExcelOnereq) GetTfNum() string { + if x != nil { + return x.TfNum + } + return "" +} + +func (x *UploadExcelOnereq) GetRuler() string { + if x != nil { + return x.Ruler + } + return "" +} + +func (x *UploadExcelOnereq) GetArtworkName() string { + if x != nil { + return x.ArtworkName + } + return "" +} + +func (x *UploadExcelOnereq) GetGuaranteePrice() float32 { + if x != nil { + return x.GuaranteePrice + } + return 0 +} + +func (x *UploadExcelOnereq) GetMinPrice() float32 { + if x != nil { + return x.MinPrice + } + return 0 +} + +func (x *UploadExcelOnereq) GetArtistUid() string { + if x != nil { + return x.ArtistUid + } + return "" +} + +func (x *UploadExcelOnereq) GetArtistName() string { + if x != nil { + return x.ArtistName + } + return "" +} + +func (x *UploadExcelOnereq) GetBatchTime() string { + if x != nil { + return x.BatchTime + } + return "" +} + +func (x *UploadExcelOnereq) GetStType() int32 { + if x != nil { + return x.StType + } + return 0 +} + +func (x *UploadExcelOnereq) GetStatus() int32 { + if x != nil { + return x.Status + } + return 0 +} + +type StatementAddRes struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StatementUid string `protobuf:"bytes,1,opt,name=StatementUid,json=statement_uid,proto3" json:"StatementUid,omitempty"` //对账单uid 对账单唯一标识 +} + +func (x *StatementAddRes) Reset() { + *x = StatementAddRes{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StatementAddRes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StatementAddRes) ProtoMessage() {} + +func (x *StatementAddRes) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[4] + 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 StatementAddRes.ProtoReflect.Descriptor instead. +func (*StatementAddRes) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{4} +} + +func (x *StatementAddRes) GetStatementUid() string { + if x != nil { + return x.StatementUid + } + return "" +} + +type UploadExcelOneres struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Msg string `protobuf:"bytes,1,opt,name=Msg,json=msg,proto3" json:"Msg,omitempty"` + Data *StatementAddRes `protobuf:"bytes,2,opt,name=Data,json=data,proto3" json:"Data,omitempty"` +} + +func (x *UploadExcelOneres) Reset() { + *x = UploadExcelOneres{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UploadExcelOneres) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UploadExcelOneres) ProtoMessage() {} + +func (x *UploadExcelOneres) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[5] + 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 UploadExcelOneres.ProtoReflect.Descriptor instead. +func (*UploadExcelOneres) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{5} +} + +func (x *UploadExcelOneres) GetMsg() string { + if x != nil { + return x.Msg + } + return "" +} + +func (x *UploadExcelOneres) GetData() *StatementAddRes { + if x != nil { + return x.Data + } + return nil +} + +//附件二 +type UploadExcelTworeq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id int32 `protobuf:"varint,1,opt,name=Id,json=id,proto3" json:"Id,omitempty"` //对账单id + StatementUid string `protobuf:"bytes,2,opt,name=StatementUid,json=statement_uid,proto3" json:"StatementUid,omitempty"` //对账单uid 对账单唯一标识 + BatchUid string `protobuf:"bytes,3,opt,name=BatchUid,json=batch_uid,proto3" json:"BatchUid,omitempty"` //批次uid 批次唯一标识 + TfNum string `protobuf:"bytes,4,opt,name=TfNum,proto3" json:"TfNum,omitempty"` //画作的泰丰编号 + Ruler string `protobuf:"bytes,5,opt,name=Ruler,json=ruler,proto3" json:"Ruler,omitempty"` //画作的平尺数 + ArtworkName string `protobuf:"bytes,6,opt,name=ArtworkName,json=artwork_name,proto3" json:"ArtworkName,omitempty"` //画作名称 + MinPrice float32 `protobuf:"fixed32,7,opt,name=MinPrice,json=min_price,proto3" json:"MinPrice,omitempty"` //委托销售底价 + ArtistUid string `protobuf:"bytes,8,opt,name=ArtistUid,json=artist_uid,proto3" json:"ArtistUid,omitempty"` //画家uid + ArtistName string `protobuf:"bytes,9,opt,name=ArtistName,json=artist_name,proto3" json:"ArtistName,omitempty"` //画家名 + BatchTime string `protobuf:"bytes,10,opt,name=BatchTime,json=batch_time,proto3" json:"BatchTime,omitempty"` //批次名 + CompleteDate string `protobuf:"bytes,11,opt,name=CompleteDate,json=complete_date,proto3" json:"CompleteDate,omitempty"` //成交日期 + SaleNo string `protobuf:"bytes,12,opt,name=SaleNo,json=sale_no,proto3" json:"SaleNo,omitempty"` //销售单号 + StType int32 `protobuf:"varint,13,opt,name=StType,json=st_type,proto3" json:"StType,omitempty"` //对账单类型:1=版权 2=物权 + Status int32 `protobuf:"varint,14,opt,name=Status,json=status,proto3" json:"Status,omitempty"` //对账单状态 1:未签署;2:已生成,未签署;3:已签署 +} + +func (x *UploadExcelTworeq) Reset() { + *x = UploadExcelTworeq{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UploadExcelTworeq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UploadExcelTworeq) ProtoMessage() {} + +func (x *UploadExcelTworeq) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[6] + 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 UploadExcelTworeq.ProtoReflect.Descriptor instead. +func (*UploadExcelTworeq) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{6} +} + +func (x *UploadExcelTworeq) GetId() int32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *UploadExcelTworeq) GetStatementUid() string { + if x != nil { + return x.StatementUid + } + return "" +} + +func (x *UploadExcelTworeq) GetBatchUid() string { + if x != nil { + return x.BatchUid + } + return "" +} + +func (x *UploadExcelTworeq) GetTfNum() string { + if x != nil { + return x.TfNum + } + return "" +} + +func (x *UploadExcelTworeq) GetRuler() string { + if x != nil { + return x.Ruler + } + return "" +} + +func (x *UploadExcelTworeq) GetArtworkName() string { + if x != nil { + return x.ArtworkName + } + return "" +} + +func (x *UploadExcelTworeq) GetMinPrice() float32 { + if x != nil { + return x.MinPrice + } + return 0 +} + +func (x *UploadExcelTworeq) GetArtistUid() string { + if x != nil { + return x.ArtistUid + } + return "" +} + +func (x *UploadExcelTworeq) GetArtistName() string { + if x != nil { + return x.ArtistName + } + return "" +} + +func (x *UploadExcelTworeq) GetBatchTime() string { + if x != nil { + return x.BatchTime + } + return "" +} + +func (x *UploadExcelTworeq) GetCompleteDate() string { + if x != nil { + return x.CompleteDate + } + return "" +} + +func (x *UploadExcelTworeq) GetSaleNo() string { + if x != nil { + return x.SaleNo + } + return "" +} + +func (x *UploadExcelTworeq) GetStType() int32 { + if x != nil { + return x.StType + } + return 0 +} + +func (x *UploadExcelTworeq) GetStatus() int32 { + if x != nil { + return x.Status + } + return 0 +} + +type UploadExcelTwores struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Msg string `protobuf:"bytes,1,opt,name=Msg,json=msg,proto3" json:"Msg,omitempty"` + Data *StatementAddRes `protobuf:"bytes,2,opt,name=Data,json=data,proto3" json:"Data,omitempty"` +} + +func (x *UploadExcelTwores) Reset() { + *x = UploadExcelTwores{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UploadExcelTwores) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UploadExcelTwores) ProtoMessage() {} + +func (x *UploadExcelTwores) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[7] + 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 UploadExcelTwores.ProtoReflect.Descriptor instead. +func (*UploadExcelTwores) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{7} +} + +func (x *UploadExcelTwores) GetMsg() string { + if x != nil { + return x.Msg + } + return "" +} + +func (x *UploadExcelTwores) GetData() *StatementAddRes { + if x != nil { + return x.Data + } + return nil +} + +//画家列表 +type ArtistStatementListreq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Page int32 `protobuf:"varint,1,opt,name=Page,json=page,proto3" json:"Page,omitempty"` //页数 + PageSize int32 `protobuf:"varint,2,opt,name=PageSize,json=page_size,proto3" json:"PageSize,omitempty"` //每页有多少数据 + StType int32 `protobuf:"varint,3,opt,name=StType,json=st_type,proto3" json:"StType,omitempty"` //对账单类型:1=版权 2=物权 + BatchUid string `protobuf:"bytes,4,opt,name=BatchUid,json=batch_uid,proto3" json:"BatchUid,omitempty"` //批次uid 批次唯一标识 +} + +func (x *ArtistStatementListreq) Reset() { + *x = ArtistStatementListreq{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ArtistStatementListreq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ArtistStatementListreq) ProtoMessage() {} + +func (x *ArtistStatementListreq) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[8] + 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 ArtistStatementListreq.ProtoReflect.Descriptor instead. +func (*ArtistStatementListreq) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{8} +} + +func (x *ArtistStatementListreq) GetPage() int32 { + if x != nil { + return x.Page + } + return 0 +} + +func (x *ArtistStatementListreq) GetPageSize() int32 { + if x != nil { + return x.PageSize + } + return 0 +} + +func (x *ArtistStatementListreq) GetStType() int32 { + if x != nil { + return x.StType + } + return 0 +} + +func (x *ArtistStatementListreq) GetBatchUid() string { + if x != nil { + return x.BatchUid + } + return "" +} + +type ArtistStatementListres struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []*ArtistStatementListres_Info `protobuf:"bytes,1,rep,name=Data,json=data,proto3" json:"Data,omitempty"` + Count int32 `protobuf:"varint,2,opt,name=Count,json=count,proto3" json:"Count,omitempty"` //总数 + Page int32 `protobuf:"varint,3,opt,name=Page,json=page,proto3" json:"Page,omitempty"` + PageSize int32 `protobuf:"varint,4,opt,name=PageSize,json=page_size,proto3" json:"PageSize,omitempty"` + Msg string `protobuf:"bytes,5,opt,name=Msg,json=message,proto3" json:"Msg,omitempty"` +} + +func (x *ArtistStatementListres) Reset() { + *x = ArtistStatementListres{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ArtistStatementListres) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ArtistStatementListres) ProtoMessage() {} + +func (x *ArtistStatementListres) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[9] + 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 ArtistStatementListres.ProtoReflect.Descriptor instead. +func (*ArtistStatementListres) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{9} +} + +func (x *ArtistStatementListres) GetData() []*ArtistStatementListres_Info { + if x != nil { + return x.Data + } + return nil +} + +func (x *ArtistStatementListres) GetCount() int32 { + if x != nil { + return x.Count + } + return 0 +} + +func (x *ArtistStatementListres) GetPage() int32 { + if x != nil { + return x.Page + } + return 0 +} + +func (x *ArtistStatementListres) GetPageSize() int32 { + if x != nil { + return x.PageSize + } + return 0 +} + +func (x *ArtistStatementListres) GetMsg() string { + if x != nil { + return x.Msg + } + return "" +} + +type ArtStatementListreq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Page int32 `protobuf:"varint,1,opt,name=Page,json=page,proto3" json:"Page,omitempty"` //页数 + PageSize int32 `protobuf:"varint,2,opt,name=PageSize,json=page_size,proto3" json:"PageSize,omitempty"` //每页有多少数据 + StType int32 `protobuf:"varint,3,opt,name=StType,json=st_type,proto3" json:"StType,omitempty"` //对账单类型:1=版权 2=物权 + BatchUid string `protobuf:"bytes,4,opt,name=BatchUid,json=batch_uid,proto3" json:"BatchUid,omitempty"` //批次uid 批次唯一标识 +} + +func (x *ArtStatementListreq) Reset() { + *x = ArtStatementListreq{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ArtStatementListreq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ArtStatementListreq) ProtoMessage() {} + +func (x *ArtStatementListreq) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[10] + 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 ArtStatementListreq.ProtoReflect.Descriptor instead. +func (*ArtStatementListreq) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{10} +} + +func (x *ArtStatementListreq) GetPage() int32 { + if x != nil { + return x.Page + } + return 0 +} + +func (x *ArtStatementListreq) GetPageSize() int32 { + if x != nil { + return x.PageSize + } + return 0 +} + +func (x *ArtStatementListreq) GetStType() int32 { + if x != nil { + return x.StType + } + return 0 +} + +func (x *ArtStatementListreq) GetBatchUid() string { + if x != nil { + return x.BatchUid + } + return "" +} + +type ArtStatementListres struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []*ArtStatementListres_Info `protobuf:"bytes,1,rep,name=Data,json=data,proto3" json:"Data,omitempty"` + Count int32 `protobuf:"varint,2,opt,name=Count,json=count,proto3" json:"Count,omitempty"` //总数 + Page int32 `protobuf:"varint,3,opt,name=Page,json=page,proto3" json:"Page,omitempty"` + PageSize int32 `protobuf:"varint,4,opt,name=PageSize,json=page_size,proto3" json:"PageSize,omitempty"` + Msg string `protobuf:"bytes,5,opt,name=Msg,json=message,proto3" json:"Msg,omitempty"` +} + +func (x *ArtStatementListres) Reset() { + *x = ArtStatementListres{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ArtStatementListres) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ArtStatementListres) ProtoMessage() {} + +func (x *ArtStatementListres) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[11] + 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 ArtStatementListres.ProtoReflect.Descriptor instead. +func (*ArtStatementListres) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{11} +} + +func (x *ArtStatementListres) GetData() []*ArtStatementListres_Info { + if x != nil { + return x.Data + } + return nil +} + +func (x *ArtStatementListres) GetCount() int32 { + if x != nil { + return x.Count + } + return 0 +} + +func (x *ArtStatementListres) GetPage() int32 { + if x != nil { + return x.Page + } + return 0 +} + +func (x *ArtStatementListres) GetPageSize() int32 { + if x != nil { + return x.PageSize + } + return 0 +} + +func (x *ArtStatementListres) GetMsg() string { + if x != nil { + return x.Msg + } + return "" +} + +type UpdateStatementreq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StatementUid string `protobuf:"bytes,1,opt,name=StatementUid,json=statement_uid,proto3" json:"StatementUid,omitempty"` //对账单uid 对账单唯一标识 + Status int32 `protobuf:"varint,2,opt,name=Status,json=status,proto3" json:"Status,omitempty"` //对账单状态 + StType int32 `protobuf:"varint,3,opt,name=StType,json=st_type,proto3" json:"StType,omitempty"` //对账单类型:1=版权 2=物权 +} + +func (x *UpdateStatementreq) Reset() { + *x = UpdateStatementreq{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateStatementreq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateStatementreq) ProtoMessage() {} + +func (x *UpdateStatementreq) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[12] + 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 UpdateStatementreq.ProtoReflect.Descriptor instead. +func (*UpdateStatementreq) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{12} +} + +func (x *UpdateStatementreq) GetStatementUid() string { + if x != nil { + return x.StatementUid + } + return "" +} + +func (x *UpdateStatementreq) GetStatus() int32 { + if x != nil { + return x.Status + } + return 0 +} + +func (x *UpdateStatementreq) GetStType() int32 { + if x != nil { + return x.StType + } + return 0 +} + +type UpdateStatementres struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Msg string `protobuf:"bytes,1,opt,name=Msg,json=message,proto3" json:"Msg,omitempty"` +} + +func (x *UpdateStatementres) Reset() { + *x = UpdateStatementres{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateStatementres) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateStatementres) ProtoMessage() {} + +func (x *UpdateStatementres) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[13] + 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 UpdateStatementres.ProtoReflect.Descriptor instead. +func (*UpdateStatementres) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{13} +} + +func (x *UpdateStatementres) GetMsg() string { + if x != nil { + return x.Msg + } + return "" +} + +type CreateTxContractreq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BatchUid string `protobuf:"bytes,1,opt,name=BatchUid,json=batch_uid,proto3" json:"BatchUid,omitempty"` //批次uid链接所有表的唯一标识 + StType int32 `protobuf:"varint,2,opt,name=StType,json=st_type,proto3" json:"StType,omitempty"` //对账单类型:1=版权 2=物权 + BatchTime string `protobuf:"bytes,3,opt,name=BatchTime,json=batch_time,proto3" json:"BatchTime,omitempty"` //批次名 + DownloadUrl string `protobuf:"bytes,4,opt,name=DownloadUrl,json=download_url,proto3" json:"DownloadUrl,omitempty"` //下载地址 + ViewUrl string `protobuf:"bytes,5,opt,name=ViewUrl,json=view_url,proto3" json:"ViewUrl,omitempty"` //预览地址 + ContractId string `protobuf:"bytes,6,opt,name=ContractId,json=contract_id,proto3" json:"ContractId,omitempty"` //合同id + ArtistUid string `protobuf:"bytes,7,opt,name=ArtistUid,json=artist_uid,proto3" json:"ArtistUid,omitempty"` //画家uid + Status int32 `protobuf:"varint,8,opt,name=Status,json=status,proto3" json:"Status,omitempty"` //对账单状态 + CardId string `protobuf:"bytes,9,opt,name=CardId,json=card_id,proto3" json:"CardId,omitempty"` //银行卡号 + UserId int64 `protobuf:"varint,10,opt,name=UserId,json=userId,proto3" json:"UserId,omitempty"` +} + +func (x *CreateTxContractreq) Reset() { + *x = CreateTxContractreq{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateTxContractreq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateTxContractreq) ProtoMessage() {} + +func (x *CreateTxContractreq) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[14] + 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 CreateTxContractreq.ProtoReflect.Descriptor instead. +func (*CreateTxContractreq) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{14} +} + +func (x *CreateTxContractreq) GetBatchUid() string { + if x != nil { + return x.BatchUid + } + return "" +} + +func (x *CreateTxContractreq) GetStType() int32 { + if x != nil { + return x.StType + } + return 0 +} + +func (x *CreateTxContractreq) GetBatchTime() string { + if x != nil { + return x.BatchTime + } + return "" +} + +func (x *CreateTxContractreq) GetDownloadUrl() string { + if x != nil { + return x.DownloadUrl + } + return "" +} + +func (x *CreateTxContractreq) GetViewUrl() string { + if x != nil { + return x.ViewUrl + } + return "" +} + +func (x *CreateTxContractreq) GetContractId() string { + if x != nil { + return x.ContractId + } + return "" +} + +func (x *CreateTxContractreq) GetArtistUid() string { + if x != nil { + return x.ArtistUid + } + return "" +} + +func (x *CreateTxContractreq) GetStatus() int32 { + if x != nil { + return x.Status + } + return 0 +} + +func (x *CreateTxContractreq) GetCardId() string { + if x != nil { + return x.CardId + } + return "" +} + +func (x *CreateTxContractreq) GetUserId() int64 { + if x != nil { + return x.UserId + } + return 0 +} + +type CreateTxContractres struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Msg string `protobuf:"bytes,1,opt,name=Msg,json=message,proto3" json:"Msg,omitempty"` + Data *AddContractRes `protobuf:"bytes,2,opt,name=Data,json=data,proto3" json:"Data,omitempty"` +} + +func (x *CreateTxContractres) Reset() { + *x = CreateTxContractres{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateTxContractres) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateTxContractres) ProtoMessage() {} + +func (x *CreateTxContractres) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[15] + 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 CreateTxContractres.ProtoReflect.Descriptor instead. +func (*CreateTxContractres) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{15} +} + +func (x *CreateTxContractres) GetMsg() string { + if x != nil { + return x.Msg + } + return "" +} + +func (x *CreateTxContractres) GetData() *AddContractRes { + if x != nil { + return x.Data + } + return nil +} + +type AddContractRes struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BatchUid string `protobuf:"bytes,1,opt,name=BatchUid,json=batch_uid,proto3" json:"BatchUid,omitempty"` //批次uid链接所有表的唯一标识 +} + +func (x *AddContractRes) Reset() { + *x = AddContractRes{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddContractRes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddContractRes) ProtoMessage() {} + +func (x *AddContractRes) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[16] + 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 AddContractRes.ProtoReflect.Descriptor instead. +func (*AddContractRes) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{16} +} + +func (x *AddContractRes) GetBatchUid() string { + if x != nil { + return x.BatchUid + } + return "" +} + +type ExportContractreq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Page int32 `protobuf:"varint,1,opt,name=Page,json=page,proto3" json:"Page,omitempty"` //页数 + PageSize int32 `protobuf:"varint,2,opt,name=PageSize,json=page_size,proto3" json:"PageSize,omitempty"` //每页有多少数据 + StType int32 `protobuf:"varint,3,opt,name=StType,json=st_type,proto3" json:"StType,omitempty"` //对账单类型:1=版权 2=物权 +} + +func (x *ExportContractreq) Reset() { + *x = ExportContractreq{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExportContractreq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExportContractreq) ProtoMessage() {} + +func (x *ExportContractreq) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[17] + 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 ExportContractreq.ProtoReflect.Descriptor instead. +func (*ExportContractreq) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{17} +} + +func (x *ExportContractreq) GetPage() int32 { + if x != nil { + return x.Page + } + return 0 +} + +func (x *ExportContractreq) GetPageSize() int32 { + if x != nil { + return x.PageSize + } + return 0 +} + +func (x *ExportContractreq) GetStType() int32 { + if x != nil { + return x.StType + } + return 0 +} + +type ExportContractres struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []*ExportContractres_Info `protobuf:"bytes,1,rep,name=Data,json=data,proto3" json:"Data,omitempty"` + Count int32 `protobuf:"varint,2,opt,name=Count,json=count,proto3" json:"Count,omitempty"` //总数 + Page int32 `protobuf:"varint,3,opt,name=Page,json=page,proto3" json:"Page,omitempty"` + PageSize int32 `protobuf:"varint,4,opt,name=PageSize,json=page_size,proto3" json:"PageSize,omitempty"` + Msg string `protobuf:"bytes,5,opt,name=Msg,json=message,proto3" json:"Msg,omitempty"` +} + +func (x *ExportContractres) Reset() { + *x = ExportContractres{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExportContractres) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExportContractres) ProtoMessage() {} + +func (x *ExportContractres) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[18] + 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 ExportContractres.ProtoReflect.Descriptor instead. +func (*ExportContractres) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{18} +} + +func (x *ExportContractres) GetData() []*ExportContractres_Info { + if x != nil { + return x.Data + } + return nil +} + +func (x *ExportContractres) GetCount() int32 { + if x != nil { + return x.Count + } + return 0 +} + +func (x *ExportContractres) GetPage() int32 { + if x != nil { + return x.Page + } + return 0 +} + +func (x *ExportContractres) GetPageSize() int32 { + if x != nil { + return x.PageSize + } + return 0 +} + +func (x *ExportContractres) GetMsg() string { + if x != nil { + return x.Msg + } + return "" +} + +type ArtistStatementListres_Info struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ArtistUid string `protobuf:"bytes,1,opt,name=ArtistUid,json=artist_uid,proto3" json:"ArtistUid,omitempty"` //画家uid + ArtistName string `protobuf:"bytes,2,opt,name=ArtistName,json=artist_name,proto3" json:"ArtistName,omitempty"` //画家名 + BatchTime string `protobuf:"bytes,3,opt,name=BatchTime,json=batch_time,proto3" json:"BatchTime,omitempty"` //批次名 + ViewUrl string `protobuf:"bytes,4,opt,name=ViewUrl,json=view_url,proto3" json:"ViewUrl,omitempty"` //预览地址 + DownloadUrl string `protobuf:"bytes,5,opt,name=DownloadUrl,json=download_url,proto3" json:"DownloadUrl,omitempty"` //下载地址 +} + +func (x *ArtistStatementListres_Info) Reset() { + *x = ArtistStatementListres_Info{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ArtistStatementListres_Info) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ArtistStatementListres_Info) ProtoMessage() {} + +func (x *ArtistStatementListres_Info) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[19] + 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 ArtistStatementListres_Info.ProtoReflect.Descriptor instead. +func (*ArtistStatementListres_Info) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{9, 0} +} + +func (x *ArtistStatementListres_Info) GetArtistUid() string { + if x != nil { + return x.ArtistUid + } + return "" +} + +func (x *ArtistStatementListres_Info) GetArtistName() string { + if x != nil { + return x.ArtistName + } + return "" +} + +func (x *ArtistStatementListres_Info) GetBatchTime() string { + if x != nil { + return x.BatchTime + } + return "" +} + +func (x *ArtistStatementListres_Info) GetViewUrl() string { + if x != nil { + return x.ViewUrl + } + return "" +} + +func (x *ArtistStatementListres_Info) GetDownloadUrl() string { + if x != nil { + return x.DownloadUrl + } + return "" +} + +type ArtStatementListres_Info struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ArtistUid string `protobuf:"bytes,1,opt,name=ArtistUid,json=artist_uid,proto3" json:"ArtistUid,omitempty"` //画家uid + ArtistName string `protobuf:"bytes,2,opt,name=ArtistName,json=artist_name,proto3" json:"ArtistName,omitempty"` //画家名 + ArtworkName string `protobuf:"bytes,3,opt,name=ArtworkName,json=artwork_name,proto3" json:"ArtworkName,omitempty"` //画作名称 + TfNum string `protobuf:"bytes,4,opt,name=TfNum,proto3" json:"TfNum,omitempty"` //画作的泰丰编号 + Ruler string `protobuf:"bytes,5,opt,name=Ruler,json=ruler,proto3" json:"Ruler,omitempty"` //画作的平尺数 + CompleteDate string `protobuf:"bytes,6,opt,name=CompleteDate,json=complete_date,proto3" json:"CompleteDate,omitempty"` //成交日期 + SaleNo string `protobuf:"bytes,7,opt,name=SaleNo,json=sale_no,proto3" json:"SaleNo,omitempty"` //销售单号 + MinPrice float32 `protobuf:"fixed32,8,opt,name=MinPrice,json=min_price,proto3" json:"MinPrice,omitempty"` //委托销售底价 +} + +func (x *ArtStatementListres_Info) Reset() { + *x = ArtStatementListres_Info{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ArtStatementListres_Info) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ArtStatementListres_Info) ProtoMessage() {} + +func (x *ArtStatementListres_Info) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[20] + 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 ArtStatementListres_Info.ProtoReflect.Descriptor instead. +func (*ArtStatementListres_Info) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{11, 0} +} + +func (x *ArtStatementListres_Info) GetArtistUid() string { + if x != nil { + return x.ArtistUid + } + return "" +} + +func (x *ArtStatementListres_Info) GetArtistName() string { + if x != nil { + return x.ArtistName + } + return "" +} + +func (x *ArtStatementListres_Info) GetArtworkName() string { + if x != nil { + return x.ArtworkName + } + return "" +} + +func (x *ArtStatementListres_Info) GetTfNum() string { + if x != nil { + return x.TfNum + } + return "" +} + +func (x *ArtStatementListres_Info) GetRuler() string { + if x != nil { + return x.Ruler + } + return "" +} + +func (x *ArtStatementListres_Info) GetCompleteDate() string { + if x != nil { + return x.CompleteDate + } + return "" +} + +func (x *ArtStatementListres_Info) GetSaleNo() string { + if x != nil { + return x.SaleNo + } + return "" +} + +func (x *ArtStatementListres_Info) GetMinPrice() float32 { + if x != nil { + return x.MinPrice + } + return 0 +} + +type ExportContractres_Info struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BatchUid string `protobuf:"bytes,1,opt,name=BatchUid,json=batch_uid,proto3" json:"BatchUid,omitempty"` //批次uid链接所有表的唯一标识 + BatchTime string `protobuf:"bytes,2,opt,name=BatchTime,json=batch_time,proto3" json:"BatchTime,omitempty"` //批次名 + DownloadUrl string `protobuf:"bytes,3,opt,name=DownloadUrl,json=download_url,proto3" json:"DownloadUrl,omitempty"` //下载地址 + ViewUrl string `protobuf:"bytes,4,opt,name=ViewUrl,json=view_url,proto3" json:"ViewUrl,omitempty"` //预览地址 + StType int32 `protobuf:"varint,5,opt,name=StType,json=st_type,proto3" json:"StType,omitempty"` //对账单类型:1=版权 2=物权 + ArtistName string `protobuf:"bytes,6,opt,name=ArtistName,json=artist_name,proto3" json:"ArtistName,omitempty"` //画家名 + ArtistUid string `protobuf:"bytes,7,opt,name=ArtistUid,json=artist_uid,proto3" json:"ArtistUid,omitempty"` //画家uid +} + +func (x *ExportContractres_Info) Reset() { + *x = ExportContractres_Info{} + if protoimpl.UnsafeEnabled { + mi := &file_mgmtStatement_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExportContractres_Info) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExportContractres_Info) ProtoMessage() {} + +func (x *ExportContractres_Info) ProtoReflect() protoreflect.Message { + mi := &file_mgmtStatement_proto_msgTypes[21] + 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 ExportContractres_Info.ProtoReflect.Descriptor instead. +func (*ExportContractres_Info) Descriptor() ([]byte, []int) { + return file_mgmtStatement_proto_rawDescGZIP(), []int{18, 0} +} + +func (x *ExportContractres_Info) GetBatchUid() string { + if x != nil { + return x.BatchUid + } + return "" +} + +func (x *ExportContractres_Info) GetBatchTime() string { + if x != nil { + return x.BatchTime + } + return "" +} + +func (x *ExportContractres_Info) GetDownloadUrl() string { + if x != nil { + return x.DownloadUrl + } + return "" +} + +func (x *ExportContractres_Info) GetViewUrl() string { + if x != nil { + return x.ViewUrl + } + return "" +} + +func (x *ExportContractres_Info) GetStType() int32 { + if x != nil { + return x.StType + } + return 0 +} + +func (x *ExportContractres_Info) GetArtistName() string { + if x != nil { + return x.ArtistName + } + return "" +} + +func (x *ExportContractres_Info) GetArtistUid() string { + if x != nil { + return x.ArtistUid + } + return "" +} + +var File_mgmtStatement_proto protoreflect.FileDescriptor + +var file_mgmtStatement_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x6d, 0x67, 0x6d, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x6d, 0x67, 0x6d, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xd0, 0x01, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x42, 0x61, 0x74, 0x63, + 0x68, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x72, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x08, 0x42, 0x61, + 0x74, 0x63, 0x68, 0x55, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x61, + 0x74, 0x63, 0x68, 0x5f, 0x75, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x09, 0x41, 0x72, 0x74, 0x69, 0x73, + 0x74, 0x55, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, + 0x73, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, + 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, + 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x42, 0x61, 0x74, 0x63, 0x68, + 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x61, 0x74, 0x63, + 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x06, 0x53, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, + 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x2a, 0x0a, 0x0b, 0x41, 0x64, 0x64, 0x42, 0x61, + 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x08, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, + 0x75, 0x69, 0x64, 0x22, 0x55, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x72, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x2e, 0x0a, 0x04, 0x44, 0x61, + 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x67, 0x6d, 0x74, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x64, 0x64, 0x42, 0x61, 0x74, 0x63, + 0x68, 0x52, 0x65, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x8a, 0x03, 0x0a, 0x11, 0x55, + 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x45, 0x78, 0x63, 0x65, 0x6c, 0x4f, 0x6e, 0x65, 0x72, 0x65, 0x71, + 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x23, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x55, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x5f, 0x75, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x08, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x75, + 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x66, 0x4e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x54, 0x66, 0x4e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x52, 0x75, 0x6c, 0x65, + 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x21, + 0x0a, 0x0b, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x27, 0x0a, 0x0e, 0x47, 0x75, 0x61, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x50, 0x72, + 0x69, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0f, 0x67, 0x75, 0x61, 0x72, 0x61, + 0x6e, 0x74, 0x65, 0x65, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x4d, 0x69, + 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x6d, 0x69, + 0x6e, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x41, 0x72, 0x74, 0x69, 0x73, + 0x74, 0x55, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, + 0x73, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, + 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, + 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x42, 0x61, 0x74, 0x63, 0x68, + 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x61, 0x74, 0x63, + 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x06, 0x53, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, + 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x36, 0x0a, 0x0f, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0c, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x55, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x22, + 0x59, 0x0a, 0x11, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x45, 0x78, 0x63, 0x65, 0x6c, 0x4f, 0x6e, + 0x65, 0x72, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x32, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6d, 0x67, 0x6d, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, + 0x64, 0x52, 0x65, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x9f, 0x03, 0x0a, 0x11, 0x55, + 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x45, 0x78, 0x63, 0x65, 0x6c, 0x54, 0x77, 0x6f, 0x72, 0x65, 0x71, + 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x23, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x55, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x5f, 0x75, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x08, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x75, + 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x66, 0x4e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x54, 0x66, 0x4e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x52, 0x75, 0x6c, 0x65, + 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x21, + 0x0a, 0x0b, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x4d, 0x69, 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x02, 0x52, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1d, + 0x0a, 0x09, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x55, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x12, 0x1f, 0x0a, + 0x0a, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, + 0x0a, 0x09, 0x42, 0x61, 0x74, 0x63, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x23, 0x0a, + 0x0c, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x64, 0x61, + 0x74, 0x65, 0x12, 0x17, 0x0a, 0x06, 0x53, 0x61, 0x6c, 0x65, 0x4e, 0x6f, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x73, 0x61, 0x6c, 0x65, 0x5f, 0x6e, 0x6f, 0x12, 0x17, 0x0a, 0x06, 0x53, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x59, 0x0a, 0x11, + 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x45, 0x78, 0x63, 0x65, 0x6c, 0x54, 0x77, 0x6f, 0x72, 0x65, + 0x73, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6d, 0x73, 0x67, 0x12, 0x32, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x6d, 0x67, 0x6d, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x52, 0x65, + 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x7f, 0x0a, 0x16, 0x41, 0x72, 0x74, 0x69, 0x73, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x72, 0x65, + 0x71, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, + 0x7a, 0x65, 0x12, 0x17, 0x0a, 0x06, 0x53, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x42, + 0x61, 0x74, 0x63, 0x68, 0x55, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, + 0x61, 0x74, 0x63, 0x68, 0x5f, 0x75, 0x69, 0x64, 0x22, 0xdb, 0x02, 0x0a, 0x16, 0x41, 0x72, 0x74, + 0x69, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, + 0x72, 0x65, 0x73, 0x12, 0x3e, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2a, 0x2e, 0x6d, 0x67, 0x6d, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x4c, 0x69, 0x73, 0x74, 0x72, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61, 0x67, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, + 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x03, 0x4d, 0x73, + 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x1a, 0xa3, 0x01, 0x0a, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x09, 0x41, 0x72, 0x74, + 0x69, 0x73, 0x74, 0x55, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x72, + 0x74, 0x69, 0x73, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x69, + 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x72, + 0x74, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x42, 0x61, 0x74, + 0x63, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x61, + 0x74, 0x63, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x07, 0x56, 0x69, 0x65, 0x77, + 0x55, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x69, 0x65, 0x77, 0x5f, + 0x75, 0x72, 0x6c, 0x12, 0x21, 0x0a, 0x0b, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, + 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, + 0x61, 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x22, 0x7c, 0x0a, 0x13, 0x41, 0x72, 0x74, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x72, 0x65, 0x71, 0x12, 0x12, 0x0a, + 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, + 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x17, + 0x0a, 0x06, 0x53, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x42, 0x61, 0x74, 0x63, 0x68, + 0x55, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x61, 0x74, 0x63, 0x68, + 0x5f, 0x75, 0x69, 0x64, 0x22, 0xa2, 0x03, 0x0a, 0x13, 0x41, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x72, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x04, + 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6d, 0x67, 0x6d, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x72, 0x65, 0x73, 0x2e, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, + 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, + 0x12, 0x14, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0xf0, 0x01, 0x0a, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x1d, 0x0a, 0x09, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x55, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x12, 0x1f, + 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x21, 0x0a, 0x0b, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x66, 0x4e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x54, 0x66, 0x4e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x52, 0x75, 0x6c, 0x65, + 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x23, + 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x64, + 0x61, 0x74, 0x65, 0x12, 0x17, 0x0a, 0x06, 0x53, 0x61, 0x6c, 0x65, 0x4e, 0x6f, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x61, 0x6c, 0x65, 0x5f, 0x6e, 0x6f, 0x12, 0x1b, 0x0a, 0x08, + 0x4d, 0x69, 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, + 0x6d, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x22, 0x6a, 0x0a, 0x12, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x72, 0x65, 0x71, 0x12, + 0x23, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x55, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x5f, 0x75, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x17, 0x0a, 0x06, + 0x53, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x2a, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x72, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x03, 0x4d, + 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x22, 0xb1, 0x02, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x78, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x72, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x08, 0x42, 0x61, 0x74, + 0x63, 0x68, 0x55, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x61, 0x74, + 0x63, 0x68, 0x5f, 0x75, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x06, 0x53, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, + 0x1d, 0x0a, 0x09, 0x42, 0x61, 0x74, 0x63, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x21, + 0x0a, 0x0b, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x75, 0x72, + 0x6c, 0x12, 0x19, 0x0a, 0x07, 0x56, 0x69, 0x65, 0x77, 0x55, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x75, 0x72, 0x6c, 0x12, 0x1f, 0x0a, 0x0a, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x1d, 0x0a, + 0x09, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x55, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x17, 0x0a, 0x06, 0x43, 0x61, 0x72, 0x64, 0x49, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x12, 0x16, 0x0a, + 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, + 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x5e, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, + 0x78, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x72, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x03, + 0x4d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x12, 0x31, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1d, 0x2e, 0x6d, 0x67, 0x6d, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x52, + 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x2d, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x08, 0x42, 0x61, 0x74, 0x63, 0x68, + 0x55, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x61, 0x74, 0x63, 0x68, + 0x5f, 0x75, 0x69, 0x64, 0x22, 0x5d, 0x0a, 0x11, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x72, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61, 0x67, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, + 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x17, 0x0a, 0x06, 0x53, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x22, 0x87, 0x03, 0x0a, 0x11, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x72, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x04, 0x44, 0x61, 0x74, + 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6d, 0x67, 0x6d, 0x74, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x72, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61, + 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, + 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x03, 0x4d, + 0x73, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x1a, 0xd9, 0x01, 0x0a, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x08, 0x42, 0x61, + 0x74, 0x63, 0x68, 0x55, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x61, + 0x74, 0x63, 0x68, 0x5f, 0x75, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x09, 0x42, 0x61, 0x74, 0x63, 0x68, + 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x61, 0x74, 0x63, + 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, + 0x61, 0x64, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x6f, 0x77, + 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x12, 0x19, 0x0a, 0x07, 0x56, 0x69, 0x65, + 0x77, 0x55, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x69, 0x65, 0x77, + 0x5f, 0x75, 0x72, 0x6c, 0x12, 0x17, 0x0a, 0x06, 0x53, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, + 0x0a, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, + 0x0a, 0x09, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x55, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x32, 0xe9, 0x05, + 0x0a, 0x0d, 0x4d, 0x67, 0x6d, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, + 0x56, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x12, 0x20, 0x2e, 0x6d, 0x67, 0x6d, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x2e, 0x41, 0x64, 0x64, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x72, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x6d, 0x67, 0x6d, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x64, 0x64, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x72, 0x65, 0x73, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x0e, 0x55, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x45, 0x78, 0x63, 0x65, 0x6c, 0x4f, 0x6e, 0x65, 0x12, 0x20, 0x2e, 0x6d, 0x67, 0x6d, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x45, 0x78, 0x63, 0x65, 0x6c, 0x4f, 0x6e, 0x65, 0x72, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x6d, 0x67, + 0x6d, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x55, 0x70, 0x6c, 0x6f, + 0x61, 0x64, 0x45, 0x78, 0x63, 0x65, 0x6c, 0x4f, 0x6e, 0x65, 0x72, 0x65, 0x73, 0x22, 0x00, 0x12, + 0x56, 0x0a, 0x0e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x45, 0x78, 0x63, 0x65, 0x6c, 0x54, 0x77, + 0x6f, 0x12, 0x20, 0x2e, 0x6d, 0x67, 0x6d, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x45, 0x78, 0x63, 0x65, 0x6c, 0x54, 0x77, 0x6f, + 0x72, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x6d, 0x67, 0x6d, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x45, 0x78, 0x63, 0x65, 0x6c, 0x54, + 0x77, 0x6f, 0x72, 0x65, 0x73, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x13, 0x41, 0x72, 0x74, 0x69, 0x73, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x25, + 0x2e, 0x6d, 0x67, 0x6d, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x41, + 0x72, 0x74, 0x69, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, + 0x73, 0x74, 0x72, 0x65, 0x71, 0x1a, 0x25, 0x2e, 0x6d, 0x67, 0x6d, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x72, 0x65, 0x73, 0x22, 0x00, 0x12, 0x5c, + 0x0a, 0x10, 0x41, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x22, 0x2e, 0x6d, 0x67, 0x6d, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4c, + 0x69, 0x73, 0x74, 0x72, 0x65, 0x71, 0x1a, 0x22, 0x2e, 0x6d, 0x67, 0x6d, 0x74, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x72, 0x65, 0x73, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0b, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x2e, 0x6d, 0x67, + 0x6d, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x72, 0x65, 0x71, 0x1a, 0x21, + 0x2e, 0x6d, 0x67, 0x6d, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x72, 0x65, + 0x73, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x78, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x22, 0x2e, 0x6d, 0x67, 0x6d, 0x74, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x78, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x72, 0x65, 0x71, 0x1a, 0x22, 0x2e, 0x6d, 0x67, + 0x6d, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x54, 0x78, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x72, 0x65, 0x73, 0x22, + 0x00, 0x12, 0x56, 0x0a, 0x0e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x12, 0x20, 0x2e, 0x6d, 0x67, 0x6d, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x72, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x6d, 0x67, 0x6d, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x72, 0x65, 0x73, 0x22, 0x00, 0x42, 0x12, 0x5a, 0x10, 0x2e, 0x2f, 0x3b, + 0x6d, 0x67, 0x6d, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_mgmtStatement_proto_rawDescOnce sync.Once + file_mgmtStatement_proto_rawDescData = file_mgmtStatement_proto_rawDesc +) + +func file_mgmtStatement_proto_rawDescGZIP() []byte { + file_mgmtStatement_proto_rawDescOnce.Do(func() { + file_mgmtStatement_proto_rawDescData = protoimpl.X.CompressGZIP(file_mgmtStatement_proto_rawDescData) + }) + return file_mgmtStatement_proto_rawDescData +} + +var file_mgmtStatement_proto_msgTypes = make([]protoimpl.MessageInfo, 22) +var file_mgmtStatement_proto_goTypes = []interface{}{ + (*AddBatchDetailreq)(nil), // 0: mgmtStatement.AddBatchDetailreq + (*AddBatchRes)(nil), // 1: mgmtStatement.AddBatchRes + (*AddBatchDetailres)(nil), // 2: mgmtStatement.AddBatchDetailres + (*UploadExcelOnereq)(nil), // 3: mgmtStatement.UploadExcelOnereq + (*StatementAddRes)(nil), // 4: mgmtStatement.StatementAddRes + (*UploadExcelOneres)(nil), // 5: mgmtStatement.UploadExcelOneres + (*UploadExcelTworeq)(nil), // 6: mgmtStatement.UploadExcelTworeq + (*UploadExcelTwores)(nil), // 7: mgmtStatement.UploadExcelTwores + (*ArtistStatementListreq)(nil), // 8: mgmtStatement.ArtistStatementListreq + (*ArtistStatementListres)(nil), // 9: mgmtStatement.ArtistStatementListres + (*ArtStatementListreq)(nil), // 10: mgmtStatement.ArtStatementListreq + (*ArtStatementListres)(nil), // 11: mgmtStatement.ArtStatementListres + (*UpdateStatementreq)(nil), // 12: mgmtStatement.UpdateStatementreq + (*UpdateStatementres)(nil), // 13: mgmtStatement.UpdateStatementres + (*CreateTxContractreq)(nil), // 14: mgmtStatement.CreateTxContractreq + (*CreateTxContractres)(nil), // 15: mgmtStatement.CreateTxContractres + (*AddContractRes)(nil), // 16: mgmtStatement.AddContractRes + (*ExportContractreq)(nil), // 17: mgmtStatement.ExportContractreq + (*ExportContractres)(nil), // 18: mgmtStatement.ExportContractres + (*ArtistStatementListres_Info)(nil), // 19: mgmtStatement.ArtistStatementListres.Info + (*ArtStatementListres_Info)(nil), // 20: mgmtStatement.ArtStatementListres.Info + (*ExportContractres_Info)(nil), // 21: mgmtStatement.ExportContractres.Info +} +var file_mgmtStatement_proto_depIdxs = []int32{ + 1, // 0: mgmtStatement.AddBatchDetailres.Data:type_name -> mgmtStatement.AddBatchRes + 4, // 1: mgmtStatement.UploadExcelOneres.Data:type_name -> mgmtStatement.StatementAddRes + 4, // 2: mgmtStatement.UploadExcelTwores.Data:type_name -> mgmtStatement.StatementAddRes + 19, // 3: mgmtStatement.ArtistStatementListres.Data:type_name -> mgmtStatement.ArtistStatementListres.Info + 20, // 4: mgmtStatement.ArtStatementListres.Data:type_name -> mgmtStatement.ArtStatementListres.Info + 16, // 5: mgmtStatement.CreateTxContractres.Data:type_name -> mgmtStatement.AddContractRes + 21, // 6: mgmtStatement.ExportContractres.Data:type_name -> mgmtStatement.ExportContractres.Info + 0, // 7: mgmtStatement.MgmtStatement.AddBatchDetail:input_type -> mgmtStatement.AddBatchDetailreq + 3, // 8: mgmtStatement.MgmtStatement.UploadExcelOne:input_type -> mgmtStatement.UploadExcelOnereq + 6, // 9: mgmtStatement.MgmtStatement.UploadExcelTwo:input_type -> mgmtStatement.UploadExcelTworeq + 8, // 10: mgmtStatement.MgmtStatement.ArtistStatementList:input_type -> mgmtStatement.ArtistStatementListreq + 10, // 11: mgmtStatement.MgmtStatement.ArtStatementList:input_type -> mgmtStatement.ArtStatementListreq + 12, // 12: mgmtStatement.MgmtStatement.UpdateState:input_type -> mgmtStatement.UpdateStatementreq + 14, // 13: mgmtStatement.MgmtStatement.CreateTxContract:input_type -> mgmtStatement.CreateTxContractreq + 17, // 14: mgmtStatement.MgmtStatement.ExportContract:input_type -> mgmtStatement.ExportContractreq + 2, // 15: mgmtStatement.MgmtStatement.AddBatchDetail:output_type -> mgmtStatement.AddBatchDetailres + 5, // 16: mgmtStatement.MgmtStatement.UploadExcelOne:output_type -> mgmtStatement.UploadExcelOneres + 7, // 17: mgmtStatement.MgmtStatement.UploadExcelTwo:output_type -> mgmtStatement.UploadExcelTwores + 9, // 18: mgmtStatement.MgmtStatement.ArtistStatementList:output_type -> mgmtStatement.ArtistStatementListres + 11, // 19: mgmtStatement.MgmtStatement.ArtStatementList:output_type -> mgmtStatement.ArtStatementListres + 13, // 20: mgmtStatement.MgmtStatement.UpdateState:output_type -> mgmtStatement.UpdateStatementres + 15, // 21: mgmtStatement.MgmtStatement.CreateTxContract:output_type -> mgmtStatement.CreateTxContractres + 18, // 22: mgmtStatement.MgmtStatement.ExportContract:output_type -> mgmtStatement.ExportContractres + 15, // [15:23] is the sub-list for method output_type + 7, // [7:15] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name +} + +func init() { file_mgmtStatement_proto_init() } +func file_mgmtStatement_proto_init() { + if File_mgmtStatement_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_mgmtStatement_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddBatchDetailreq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_mgmtStatement_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddBatchRes); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_mgmtStatement_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddBatchDetailres); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_mgmtStatement_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UploadExcelOnereq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_mgmtStatement_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatementAddRes); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_mgmtStatement_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UploadExcelOneres); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_mgmtStatement_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UploadExcelTworeq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_mgmtStatement_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UploadExcelTwores); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_mgmtStatement_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArtistStatementListreq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_mgmtStatement_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArtistStatementListres); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_mgmtStatement_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArtStatementListreq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_mgmtStatement_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArtStatementListres); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_mgmtStatement_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateStatementreq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_mgmtStatement_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateStatementres); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_mgmtStatement_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateTxContractreq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_mgmtStatement_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateTxContractres); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_mgmtStatement_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddContractRes); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_mgmtStatement_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExportContractreq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_mgmtStatement_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExportContractres); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_mgmtStatement_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArtistStatementListres_Info); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_mgmtStatement_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArtStatementListres_Info); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_mgmtStatement_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExportContractres_Info); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_mgmtStatement_proto_rawDesc, + NumEnums: 0, + NumMessages: 22, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_mgmtStatement_proto_goTypes, + DependencyIndexes: file_mgmtStatement_proto_depIdxs, + MessageInfos: file_mgmtStatement_proto_msgTypes, + }.Build() + File_mgmtStatement_proto = out.File + file_mgmtStatement_proto_rawDesc = nil + file_mgmtStatement_proto_goTypes = nil + file_mgmtStatement_proto_depIdxs = nil +} diff --git a/pb/mgmtStatement/mgmtStatement.proto b/pb/mgmtStatement/mgmtStatement.proto new file mode 100644 index 0000000..fc45abb --- /dev/null +++ b/pb/mgmtStatement/mgmtStatement.proto @@ -0,0 +1,198 @@ +//proto版本 +syntax = "proto3"; + +//默认的包名 +package mgmtStatement; + +//在golang中的包名 +option go_package = "./;mgmtStatement"; + +//画家宝管理系统提供的服务 +service MgmtStatement { + rpc AddBatchDetail(AddBatchDetailreq) returns (AddBatchDetailres){}//增加批次数据 + rpc UploadExcelOne(UploadExcelOnereq) returns (UploadExcelOneres){}//通过导入excel附件一 + rpc UploadExcelTwo(UploadExcelTworeq) returns (UploadExcelTwores){}//通过导入excel附件二 + rpc ArtistStatementList(ArtistStatementListreq) returns (ArtistStatementListres){}//对账单画家列表 + rpc ArtStatementList(ArtStatementListreq) returns (ArtStatementListres){}//对账单画作列表 + rpc UpdateState(UpdateStatementreq) returns (UpdateStatementres){}//更新对账单状态 + rpc CreateTxContract(CreateTxContractreq) returns (CreateTxContractres){}//生成合同 + rpc ExportContract(ExportContractreq) returns (ExportContractres){}//导出合同 +} + +//批次数据 +message AddBatchDetailreq { + int32 Id = 1 [json_name = "id"]; //批次id + string BatchUid = 2 [json_name = "batch_uid"]; //批次uid 批次唯一标识 + string ArtistUid = 3 [json_name = "artist_uid"];//画家uid + string ArtistName = 4 [json_name = "artist_name"];//画家名 + string BatchTime = 5 [json_name = "batch_time"];//批次名 + int32 StType = 6 [json_name = "st_type"];//对账单类型:1=版权 2=物权 + int32 Status = 7 [json_name = "status"];//对账单状态 1:未签署;2:已生成,未签署;3:已签署 +} + +message AddBatchRes { + string BatchUid = 1 [json_name = "batch_uid"];//批次uid 批次唯一标识 +} + +message AddBatchDetailres { + string Msg = 1 [json_name = "msg"]; + AddBatchRes Data = 2 [json_name = "data"]; +} + + +//附件一 +message UploadExcelOnereq { + int32 Id = 1 [json_name = "id"]; //对账单id + string StatementUid = 2 [json_name = "statement_uid"]; //对账单uid 对账单唯一标识 + string BatchUid = 3 [json_name = "batch_uid"]; //批次uid 批次唯一标识 + string TfNum = 4 [json_name = "TfNum"];//画作的泰丰编号 + string Ruler = 5 [json_name = "ruler"];//画作的平尺数 + string ArtworkName = 6 [json_name = "artwork_name"];//画作名称 + float GuaranteePrice = 7 [json_name = "guarantee_price"];//公司保证金 + float MinPrice = 8 [json_name = "min_price"];//委托销售底价 + string ArtistUid = 9 [json_name = "artist_uid"];//画家uid + string ArtistName = 10 [json_name = "artist_name"];//画家名 + string BatchTime = 11 [json_name = "batch_time"];//批次名 + int32 StType = 12 [json_name = "st_type"];//对账单类型:1=版权 2=物权 + int32 Status = 13 [json_name = "status"];//对账单状态 1:未签署;2:已生成,未签署;3:已签署 +} + +message StatementAddRes { + string StatementUid = 1 [json_name = "statement_uid"];//对账单uid 对账单唯一标识 +} + +message UploadExcelOneres { + string Msg = 1 [json_name = "msg"]; + StatementAddRes Data = 2 [json_name = "data"]; +} + +//附件二 +message UploadExcelTworeq { + int32 Id = 1 [json_name = "id"]; //对账单id + string StatementUid = 2 [json_name = "statement_uid"]; //对账单uid 对账单唯一标识 + string BatchUid = 3 [json_name = "batch_uid"]; //批次uid 批次唯一标识 + string TfNum = 4 [json_name = "TfNum"];//画作的泰丰编号 + string Ruler = 5 [json_name = "ruler"];//画作的平尺数 + string ArtworkName = 6 [json_name = "artwork_name"];//画作名称 + float MinPrice = 7 [json_name = "min_price"];//委托销售底价 + string ArtistUid = 8 [json_name = "artist_uid"];//画家uid + string ArtistName = 9 [json_name = "artist_name"];//画家名 + string BatchTime = 10 [json_name = "batch_time"];//批次名 + string CompleteDate = 11 [json_name = "complete_date"];//成交日期 + string SaleNo = 12 [json_name = "sale_no"];//销售单号 + int32 StType = 13 [json_name = "st_type"];//对账单类型:1=版权 2=物权 + int32 Status = 14 [json_name = "status"];//对账单状态 1:未签署;2:已生成,未签署;3:已签署 +} + +message UploadExcelTwores { + string Msg = 1 [json_name = "msg"]; + StatementAddRes Data = 2 [json_name = "data"]; +} + +//画家列表 +message ArtistStatementListreq { + int32 Page = 1 [json_name = "page"]; //页数 + int32 PageSize = 2 [json_name = "page_size"]; //每页有多少数据 + int32 StType = 3 [json_name = "st_type"];//对账单类型:1=版权 2=物权 + string BatchUid = 4 [json_name = "batch_uid"]; //批次uid 批次唯一标识 +} + +message ArtistStatementListres { + message Info { + string ArtistUid = 1 [json_name = "artist_uid"];//画家uid + string ArtistName = 2 [json_name = "artist_name"];//画家名 + string BatchTime = 3 [json_name = "batch_time"];//批次名 + string ViewUrl = 4 [json_name = "view_url"];//预览地址 + string DownloadUrl = 5 [json_name = "download_url"];//下载地址 + } + repeated Info Data = 1 [json_name = "data"]; + int32 Count = 2 [json_name = "count"]; //总数 + int32 Page = 3 [json_name = "page"]; + int32 PageSize = 4 [json_name = "page_size"]; + string Msg = 5 [json_name = "message"]; + +} + +message ArtStatementListreq { + int32 Page = 1 [json_name = "page"]; //页数 + int32 PageSize = 2 [json_name = "page_size"]; //每页有多少数据 + int32 StType = 3 [json_name = "st_type"];//对账单类型:1=版权 2=物权 + string BatchUid = 4 [json_name = "batch_uid"]; //批次uid 批次唯一标识 +} + +message ArtStatementListres { + message Info { + string ArtistUid = 1 [json_name = "artist_uid"];//画家uid + string ArtistName = 2 [json_name = "artist_name"];//画家名 + string ArtworkName = 3 [json_name = "artwork_name"];//画作名称 + string TfNum = 4 [json_name = "TfNum"];//画作的泰丰编号 + string Ruler = 5 [json_name = "ruler"];//画作的平尺数 + string CompleteDate = 6 [json_name = "complete_date"];//成交日期 + string SaleNo = 7 [json_name = "sale_no"];//销售单号 + float MinPrice = 8 [json_name = "min_price"];//委托销售底价 + } + repeated Info Data = 1 [json_name = "data"]; + int32 Count = 2 [json_name = "count"]; //总数 + int32 Page = 3 [json_name = "page"]; + int32 PageSize = 4 [json_name = "page_size"]; + string Msg = 5 [json_name = "message"]; + +} + +message UpdateStatementreq { + string StatementUid = 1 [json_name = "statement_uid"]; //对账单uid 对账单唯一标识 + int32 Status = 2 [json_name = "status"];//对账单状态 + int32 StType = 3 [json_name = "st_type"];//对账单类型:1=版权 2=物权 +} + +message UpdateStatementres { + string Msg = 1[json_name = "message"]; +} + +message CreateTxContractreq { + string BatchUid = 1 [json_name = "batch_uid"]; //批次uid链接所有表的唯一标识 + int32 StType = 2 [json_name = "st_type"];//对账单类型:1=版权 2=物权 + string BatchTime = 3 [json_name = "batch_time"];//批次名 + string DownloadUrl = 4 [json_name = "download_url"];//下载地址 + string ViewUrl = 5 [json_name = "view_url"];//预览地址 + string ContractId = 6 [json_name = "contract_id"];//合同id + string ArtistUid = 7 [json_name = "artist_uid"];//画家uid + int32 Status = 8 [json_name = "status"];//对账单状态 + string CardId = 9 [json_name = "card_id"];//银行卡号 + int64 UserId = 10 [json_name="userId"]; + +} + +message CreateTxContractres { + string Msg = 1 [json_name = "message"]; + AddContractRes Data = 2 [json_name = "data"]; +} + +message AddContractRes { + string BatchUid = 1 [json_name = "batch_uid"]; //批次uid链接所有表的唯一标识 + +} + +message ExportContractreq { + int32 Page = 1 [json_name = "page"]; //页数 + int32 PageSize = 2 [json_name = "page_size"]; //每页有多少数据 + int32 StType = 3 [json_name = "st_type"];//对账单类型:1=版权 2=物权 + +} + +message ExportContractres{ + message Info { + string BatchUid = 1 [json_name = "batch_uid"]; //批次uid链接所有表的唯一标识 + string BatchTime = 2 [json_name = "batch_time"];//批次名 + string DownloadUrl = 3 [json_name = "download_url"];//下载地址 + string ViewUrl = 4 [json_name = "view_url"];//预览地址 + int32 StType = 5 [json_name = "st_type"];//对账单类型:1=版权 2=物权 + string ArtistName = 6 [json_name = "artist_name"];//画家名 + string ArtistUid = 7 [json_name = "artist_uid"];//画家uid + } + repeated Info Data = 1 [json_name = "data"]; + int32 Count = 2 [json_name = "count"]; //总数 + int32 Page = 3 [json_name = "page"]; + int32 PageSize = 4 [json_name = "page_size"]; + string Msg = 5 [json_name = "message"]; +} \ No newline at end of file diff --git a/pb/mgmtStatement/mgmtStatement_triple.pb.go b/pb/mgmtStatement/mgmtStatement_triple.pb.go new file mode 100644 index 0000000..7f69e41 --- /dev/null +++ b/pb/mgmtStatement/mgmtStatement_triple.pb.go @@ -0,0 +1,462 @@ +// Code generated by protoc-gen-go-triple. DO NOT EDIT. +// versions: +// - protoc-gen-go-triple v1.0.5 +// - protoc v3.21.1 +// source: mgmtStatement.proto + +package mgmtStatement + +import ( + context "context" + protocol "dubbo.apache.org/dubbo-go/v3/protocol" + dubbo3 "dubbo.apache.org/dubbo-go/v3/protocol/dubbo3" + invocation "dubbo.apache.org/dubbo-go/v3/protocol/invocation" + grpc_go "github.com/dubbogo/grpc-go" + codes "github.com/dubbogo/grpc-go/codes" + metadata "github.com/dubbogo/grpc-go/metadata" + status "github.com/dubbogo/grpc-go/status" + common "github.com/dubbogo/triple/pkg/common" + constant "github.com/dubbogo/triple/pkg/common/constant" + triple "github.com/dubbogo/triple/pkg/triple" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc_go.SupportPackageIsVersion7 + +// MgmtStatementClient is the client API for MgmtStatement service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type MgmtStatementClient interface { + AddBatchDetail(ctx context.Context, in *AddBatchDetailreq, opts ...grpc_go.CallOption) (*AddBatchDetailres, common.ErrorWithAttachment) + UploadExcelOne(ctx context.Context, in *UploadExcelOnereq, opts ...grpc_go.CallOption) (*UploadExcelOneres, common.ErrorWithAttachment) + UploadExcelTwo(ctx context.Context, in *UploadExcelTworeq, opts ...grpc_go.CallOption) (*UploadExcelTwores, common.ErrorWithAttachment) + ArtistStatementList(ctx context.Context, in *ArtistStatementListreq, opts ...grpc_go.CallOption) (*ArtistStatementListres, common.ErrorWithAttachment) + ArtStatementList(ctx context.Context, in *ArtStatementListreq, opts ...grpc_go.CallOption) (*ArtStatementListres, common.ErrorWithAttachment) + UpdateState(ctx context.Context, in *UpdateStatementreq, opts ...grpc_go.CallOption) (*UpdateStatementres, common.ErrorWithAttachment) + CreateTxContract(ctx context.Context, in *CreateTxContractreq, opts ...grpc_go.CallOption) (*CreateTxContractres, common.ErrorWithAttachment) + ExportContract(ctx context.Context, in *ExportContractreq, opts ...grpc_go.CallOption) (*ExportContractres, common.ErrorWithAttachment) +} + +type mgmtStatementClient struct { + cc *triple.TripleConn +} + +type MgmtStatementClientImpl struct { + AddBatchDetail func(ctx context.Context, in *AddBatchDetailreq) (*AddBatchDetailres, error) + UploadExcelOne func(ctx context.Context, in *UploadExcelOnereq) (*UploadExcelOneres, error) + UploadExcelTwo func(ctx context.Context, in *UploadExcelTworeq) (*UploadExcelTwores, error) + ArtistStatementList func(ctx context.Context, in *ArtistStatementListreq) (*ArtistStatementListres, error) + ArtStatementList func(ctx context.Context, in *ArtStatementListreq) (*ArtStatementListres, error) + UpdateState func(ctx context.Context, in *UpdateStatementreq) (*UpdateStatementres, error) + CreateTxContract func(ctx context.Context, in *CreateTxContractreq) (*CreateTxContractres, error) + ExportContract func(ctx context.Context, in *ExportContractreq) (*ExportContractres, error) +} + +func (c *MgmtStatementClientImpl) GetDubboStub(cc *triple.TripleConn) MgmtStatementClient { + return NewMgmtStatementClient(cc) +} + +func (c *MgmtStatementClientImpl) XXX_InterfaceName() string { + return "mgmtStatement.MgmtStatement" +} + +func NewMgmtStatementClient(cc *triple.TripleConn) MgmtStatementClient { + return &mgmtStatementClient{cc} +} + +func (c *mgmtStatementClient) AddBatchDetail(ctx context.Context, in *AddBatchDetailreq, opts ...grpc_go.CallOption) (*AddBatchDetailres, common.ErrorWithAttachment) { + out := new(AddBatchDetailres) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/AddBatchDetail", in, out) +} + +func (c *mgmtStatementClient) UploadExcelOne(ctx context.Context, in *UploadExcelOnereq, opts ...grpc_go.CallOption) (*UploadExcelOneres, common.ErrorWithAttachment) { + out := new(UploadExcelOneres) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UploadExcelOne", in, out) +} + +func (c *mgmtStatementClient) UploadExcelTwo(ctx context.Context, in *UploadExcelTworeq, opts ...grpc_go.CallOption) (*UploadExcelTwores, common.ErrorWithAttachment) { + out := new(UploadExcelTwores) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UploadExcelTwo", in, out) +} + +func (c *mgmtStatementClient) ArtistStatementList(ctx context.Context, in *ArtistStatementListreq, opts ...grpc_go.CallOption) (*ArtistStatementListres, common.ErrorWithAttachment) { + out := new(ArtistStatementListres) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ArtistStatementList", in, out) +} + +func (c *mgmtStatementClient) ArtStatementList(ctx context.Context, in *ArtStatementListreq, opts ...grpc_go.CallOption) (*ArtStatementListres, common.ErrorWithAttachment) { + out := new(ArtStatementListres) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ArtStatementList", in, out) +} + +func (c *mgmtStatementClient) UpdateState(ctx context.Context, in *UpdateStatementreq, opts ...grpc_go.CallOption) (*UpdateStatementres, common.ErrorWithAttachment) { + out := new(UpdateStatementres) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateState", in, out) +} + +func (c *mgmtStatementClient) CreateTxContract(ctx context.Context, in *CreateTxContractreq, opts ...grpc_go.CallOption) (*CreateTxContractres, common.ErrorWithAttachment) { + out := new(CreateTxContractres) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CreateTxContract", in, out) +} + +func (c *mgmtStatementClient) ExportContract(ctx context.Context, in *ExportContractreq, opts ...grpc_go.CallOption) (*ExportContractres, common.ErrorWithAttachment) { + out := new(ExportContractres) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ExportContract", in, out) +} + +// MgmtStatementServer is the server API for MgmtStatement service. +// All implementations must embed UnimplementedMgmtStatementServer +// for forward compatibility +type MgmtStatementServer interface { + AddBatchDetail(context.Context, *AddBatchDetailreq) (*AddBatchDetailres, error) + UploadExcelOne(context.Context, *UploadExcelOnereq) (*UploadExcelOneres, error) + UploadExcelTwo(context.Context, *UploadExcelTworeq) (*UploadExcelTwores, error) + ArtistStatementList(context.Context, *ArtistStatementListreq) (*ArtistStatementListres, error) + ArtStatementList(context.Context, *ArtStatementListreq) (*ArtStatementListres, error) + UpdateState(context.Context, *UpdateStatementreq) (*UpdateStatementres, error) + CreateTxContract(context.Context, *CreateTxContractreq) (*CreateTxContractres, error) + ExportContract(context.Context, *ExportContractreq) (*ExportContractres, error) + mustEmbedUnimplementedMgmtStatementServer() +} + +// UnimplementedMgmtStatementServer must be embedded to have forward compatible implementations. +type UnimplementedMgmtStatementServer struct { + proxyImpl protocol.Invoker +} + +func (UnimplementedMgmtStatementServer) AddBatchDetail(context.Context, *AddBatchDetailreq) (*AddBatchDetailres, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddBatchDetail not implemented") +} +func (UnimplementedMgmtStatementServer) UploadExcelOne(context.Context, *UploadExcelOnereq) (*UploadExcelOneres, error) { + return nil, status.Errorf(codes.Unimplemented, "method UploadExcelOne not implemented") +} +func (UnimplementedMgmtStatementServer) UploadExcelTwo(context.Context, *UploadExcelTworeq) (*UploadExcelTwores, error) { + return nil, status.Errorf(codes.Unimplemented, "method UploadExcelTwo not implemented") +} +func (UnimplementedMgmtStatementServer) ArtistStatementList(context.Context, *ArtistStatementListreq) (*ArtistStatementListres, error) { + return nil, status.Errorf(codes.Unimplemented, "method ArtistStatementList not implemented") +} +func (UnimplementedMgmtStatementServer) ArtStatementList(context.Context, *ArtStatementListreq) (*ArtStatementListres, error) { + return nil, status.Errorf(codes.Unimplemented, "method ArtStatementList not implemented") +} +func (UnimplementedMgmtStatementServer) UpdateState(context.Context, *UpdateStatementreq) (*UpdateStatementres, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateState not implemented") +} +func (UnimplementedMgmtStatementServer) CreateTxContract(context.Context, *CreateTxContractreq) (*CreateTxContractres, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateTxContract not implemented") +} +func (UnimplementedMgmtStatementServer) ExportContract(context.Context, *ExportContractreq) (*ExportContractres, error) { + return nil, status.Errorf(codes.Unimplemented, "method ExportContract not implemented") +} +func (s *UnimplementedMgmtStatementServer) XXX_SetProxyImpl(impl protocol.Invoker) { + s.proxyImpl = impl +} + +func (s *UnimplementedMgmtStatementServer) XXX_GetProxyImpl() protocol.Invoker { + return s.proxyImpl +} + +func (s *UnimplementedMgmtStatementServer) XXX_ServiceDesc() *grpc_go.ServiceDesc { + return &MgmtStatement_ServiceDesc +} +func (s *UnimplementedMgmtStatementServer) XXX_InterfaceName() string { + return "mgmtStatement.MgmtStatement" +} + +func (UnimplementedMgmtStatementServer) mustEmbedUnimplementedMgmtStatementServer() {} + +// UnsafeMgmtStatementServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to MgmtStatementServer will +// result in compilation errors. +type UnsafeMgmtStatementServer interface { + mustEmbedUnimplementedMgmtStatementServer() +} + +func RegisterMgmtStatementServer(s grpc_go.ServiceRegistrar, srv MgmtStatementServer) { + s.RegisterService(&MgmtStatement_ServiceDesc, srv) +} + +func _MgmtStatement_AddBatchDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(AddBatchDetailreq) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("AddBatchDetail", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + +func _MgmtStatement_UploadExcelOne_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(UploadExcelOnereq) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("UploadExcelOne", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + +func _MgmtStatement_UploadExcelTwo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(UploadExcelTworeq) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("UploadExcelTwo", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + +func _MgmtStatement_ArtistStatementList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(ArtistStatementListreq) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("ArtistStatementList", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + +func _MgmtStatement_ArtStatementList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(ArtStatementListreq) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("ArtStatementList", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + +func _MgmtStatement_UpdateState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateStatementreq) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("UpdateState", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + +func _MgmtStatement_CreateTxContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateTxContractreq) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("CreateTxContract", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + +func _MgmtStatement_ExportContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(ExportContractreq) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("ExportContract", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + +// MgmtStatement_ServiceDesc is the grpc_go.ServiceDesc for MgmtStatement service. +// It's only intended for direct use with grpc_go.RegisterService, +// and not to be introspected or modified (even as a copy) +var MgmtStatement_ServiceDesc = grpc_go.ServiceDesc{ + ServiceName: "mgmtStatement.MgmtStatement", + HandlerType: (*MgmtStatementServer)(nil), + Methods: []grpc_go.MethodDesc{ + { + MethodName: "AddBatchDetail", + Handler: _MgmtStatement_AddBatchDetail_Handler, + }, + { + MethodName: "UploadExcelOne", + Handler: _MgmtStatement_UploadExcelOne_Handler, + }, + { + MethodName: "UploadExcelTwo", + Handler: _MgmtStatement_UploadExcelTwo_Handler, + }, + { + MethodName: "ArtistStatementList", + Handler: _MgmtStatement_ArtistStatementList_Handler, + }, + { + MethodName: "ArtStatementList", + Handler: _MgmtStatement_ArtStatementList_Handler, + }, + { + MethodName: "UpdateState", + Handler: _MgmtStatement_UpdateState_Handler, + }, + { + MethodName: "CreateTxContract", + Handler: _MgmtStatement_CreateTxContract_Handler, + }, + { + MethodName: "ExportContract", + Handler: _MgmtStatement_ExportContract_Handler, + }, + }, + Streams: []grpc_go.StreamDesc{}, + Metadata: "mgmtStatement.proto", +} diff --git a/pkg/m/msg.go b/pkg/m/msg.go index 8f73c65..cd39e82 100644 --- a/pkg/m/msg.go +++ b/pkg/m/msg.go @@ -75,4 +75,7 @@ const ( ERROR_BATCH_INSERT = "批量插入失败" CREATE_BATCH_SUCCESS = "批量插入成功" + + ERROR_UPDATE_STATEMENT = "更新对账单状态失败" + ERROR_CRE_ART = "创建失败" )