diff --git a/business/jxstore/event/print_test.go b/business/jxstore/event/print_test.go index 7a905ce63..e63d3401b 100644 --- a/business/jxstore/event/print_test.go +++ b/business/jxstore/event/print_test.go @@ -86,3 +86,7 @@ func toHex(ten int) string { } return strings.Join(hexStr, "") } + +func TestInt2Int64(t *testing.T) { + fmt.Println(int64(19930826391)) +} diff --git a/business/model/print.go b/business/model/print.go index 1c7fdc917..c2e714e56 100644 --- a/business/model/print.go +++ b/business/model/print.go @@ -5,7 +5,7 @@ type PrintMsg struct { PrintNo string `json:"print_no" db:"print_no"` //打印机编号 Content string `orm:"type(text)" json:"content" db:"content"` //订单内容 - OrderNo int `json:"order_no" db:"order_no"` //订单序号 + OrderNo int64 `json:"order_no" db:"order_no"` //订单序号 Status int `json:"status" db:"status"` //打印状态 Comment string `json:"comment" db:"comment"` //失败原因 MsgID string `orm:"column(msg_id)" json:"msgID" db:"msg_id"`