修改orderno取值范围
This commit is contained in:
@@ -86,3 +86,7 @@ func toHex(ten int) string {
|
||||
}
|
||||
return strings.Join(hexStr, "")
|
||||
}
|
||||
|
||||
func TestInt2Int64(t *testing.T) {
|
||||
fmt.Println(int64(19930826391))
|
||||
}
|
||||
|
||||
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user