Updata:增加字段

This commit is contained in:
jiaji.H 2026-02-02 19:40:10 +08:00
parent 7276a7d24e
commit ae95c7dd4a
4 changed files with 709 additions and 686 deletions

View File

@ -17,7 +17,7 @@ type Invoice struct {
UserName string `gorm:"column:user_name;comment:用户名称"`
OrderNo string `gorm:"column:order_no;comment:订单编号"`
ApplyTime time.Time `gorm:"column:apply_time;comment:申请时间"`
InvoiceType int `gorm:"column:invoice_type;comment:发票类型"`
InvoiceType int `gorm:"column:invoice_type;comment:发票类型 1基础类型"`
InvoiceNo string `gorm:"column:invoice_no;comment:发票编号"`
InvoiceUrl string `gorm:"column:invoice_url;comment:发票URL"`
PaperInvocieStatus int `gorm:"column:paper_invocie_status;default:1;comment:纸质发票状态1未申请 2已申请 3已邮寄"`

View File

@ -1905,10 +1905,12 @@ message CreateInvoiceReq{
string userNum = 2;
string userName = 3;
string orderNo = 4;
int32 invoiceType = 5;
string invoiceNo = 6;
string invoiceUrl = 7;
string remark = 8;
string applyTime = 5;
int32 invoiceType = 6;
string invoiceNo = 7;
string invoiceUrl = 8;
int64 paperInvocieStatus = 9;
string remark = 10;
}
message CreateInvoiceResp{

File diff suppressed because it is too large Load Diff

View File

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