1
This commit is contained in:
@@ -79,6 +79,7 @@ func PrintOrderByOrder4Store(ctx *jxcontext.Context, order *model.GoodsOrder, st
|
||||
if err == nil {
|
||||
handler, err := GetHandlerFromStore(store)
|
||||
if err != nil {
|
||||
globals.SugarLogger.Debugf("805216--------err := %v", err)
|
||||
return &partner.PrinterStatus{
|
||||
PrintResult: partner.PrintResultNoPrinter,
|
||||
}, nil
|
||||
@@ -93,6 +94,9 @@ func PrintOrderByOrder4Store(ctx *jxcontext.Context, order *model.GoodsOrder, st
|
||||
}
|
||||
|
||||
printResult, err = handler.PrintOrder(ctx, store, storeDetail, order, printType, afs)
|
||||
if storeID == 805216 {
|
||||
globals.SugarLogger.Debugf("805216--------err := %v", err)
|
||||
}
|
||||
if err == nil {
|
||||
dao.SetOrderPrintFlag(db, ctx.GetUserName(), order.VendorOrderID, order.VendorID, true)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user