1
This commit is contained in:
@@ -209,7 +209,7 @@ func DelPrinterSeq(appID int, printNo string) (err error) {
|
||||
return err
|
||||
}
|
||||
|
||||
func DoPrint(appID int, msgID, printNo, content string, orderNo int) (err error) {
|
||||
func DoPrint(appID int, msgID, printNo, content string, orderNo string) (err error) {
|
||||
var (
|
||||
db = dao.GetDB()
|
||||
)
|
||||
|
||||
@@ -41,7 +41,7 @@ type PrintMsg struct {
|
||||
|
||||
MsgID string `orm:"column(msg_id)" json:"msg_id"` //消息ID
|
||||
PrintNo string `json:"print_no"` //打印机编号
|
||||
OrderNo int `json:"order_no"` //订单序号
|
||||
OrderNo string `json:"order_no"` //订单序号
|
||||
Content string `orm:"type(text)" json:"content"` //订单内容
|
||||
Status int `json:"status"` //打印状态
|
||||
Comment string `json:"comment"` //失败原因
|
||||
|
||||
Reference in New Issue
Block a user