1
This commit is contained in:
@@ -493,10 +493,10 @@ func (s *DefScheduler) OnOrderStatusChanged(order *model.GoodsOrder, status *mod
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 京西云打印机打印数据-如果门店使用京西打印机才使用如下代码块
|
// 京西云打印机打印数据-如果门店使用京西打印机才使用如下代码块
|
||||||
store, _ := dao.GetStoreDetail(dao.GetDB(), order.JxStoreID, order.VendorID, order.VendorOrgCode)
|
//store, _ := dao.GetStoreDetail(dao.GetDB(), order.JxStoreID, order.VendorID, order.VendorOrgCode)
|
||||||
if err == nil && store.PrinterVendorID == model.VendorIDJxprint {
|
//if err == nil && store.PrinterVendorID == model.VendorIDJxprint {
|
||||||
netprinter.PrintOrderByOrder(jxcontext.AdminCtx, order, model.PrintTypeOrder, nil)
|
// netprinter.PrintOrderByOrder(jxcontext.AdminCtx, order, model.PrintTypeOrder, nil)
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return err
|
return err
|
||||||
|
|||||||
Reference in New Issue
Block a user