This commit is contained in:
邹宗楠
2022-07-26 17:11:18 +08:00
parent c79c8c77ca
commit 5aa919b200
3 changed files with 5 additions and 4 deletions

View File

@@ -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()
)

View File

@@ -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"` //失败原因