This commit is contained in:
邹宗楠
2024-12-31 09:19:36 +08:00
parent 45ed207137
commit dcff9513b9
3 changed files with 7 additions and 8 deletions

View File

@@ -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 {