1
This commit is contained in:
@@ -349,7 +349,11 @@ func (c *PrinterHandler) GetPrinterStatus(ctx *jxcontext.Context, printerSN, pri
|
||||
|
||||
func (c *PrinterHandler) PrintOrder(ctx *jxcontext.Context, store *model.Store, storeDetail *dao.StoreDetail, order *model.GoodsOrder, printType string, asfOrder *model.AfsOrder) (printerStatus *partner.PrinterStatus, err error) {
|
||||
// 这个门店只打饿了么
|
||||
if store.ID == 669264 && order.VendorID == model.VendorIDMTWM {
|
||||
storeMap := map[int]int{
|
||||
669264: 1,
|
||||
//669512: 1,
|
||||
}
|
||||
if storeMap[store.ID] == model.YES && order.VendorID == model.VendorIDMTWM {
|
||||
return nil, nil
|
||||
}
|
||||
if len(order.Skus) == 0 {
|
||||
|
||||
Reference in New Issue
Block a user