diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/service/PayService.java b/src/main/java/com/chaozhanggui/system/cashierservice/service/PayService.java index e44b0e0..ecc3d1b 100644 --- a/src/main/java/com/chaozhanggui/system/cashierservice/service/PayService.java +++ b/src/main/java/com/chaozhanggui/system/cashierservice/service/PayService.java @@ -475,7 +475,7 @@ public class PayService { producer.putOrderCollect(jsonObject.toJSONString()); - ShopEatTypeInfoDTO shopEatTypeInfoDTO = shopUtils.checkEatModel(orderInfo.getShopId(), orderInfo.getTableId()); + ShopEatTypeInfoDTO shopEatTypeInfoDTO = shopUtils.checkEatModel(orderInfo.getTableId(), orderInfo.getShopId()); // 打印消息 if (!shopEatTypeInfoDTO.isDineInAfter()) { List detailList = mpOrderDetailMapper.selectList(new LambdaQueryWrapper() @@ -799,7 +799,7 @@ public class PayService { log.info("发送打印数据"); - ShopEatTypeInfoDTO shopEatTypeInfoDTO = shopUtils.checkEatModel(orderInfo.getShopId(), orderInfo.getTableId()); + ShopEatTypeInfoDTO shopEatTypeInfoDTO = shopUtils.checkEatModel(orderInfo.getTableId(), orderInfo.getShopId()); // 打印消息 if (!shopEatTypeInfoDTO.isDineInAfter()) { List detailList = mpOrderDetailMapper.selectList(new LambdaQueryWrapper() @@ -861,7 +861,7 @@ public class PayService { log.info("发送打印数据"); - ShopEatTypeInfoDTO shopEatTypeInfoDTO = shopUtils.checkEatModel(orderInfo.getShopId(), orderInfo.getTableId()); + ShopEatTypeInfoDTO shopEatTypeInfoDTO = shopUtils.checkEatModel(orderInfo.getTableId(), orderInfo.getShopId()); // 打印消息 if (!shopEatTypeInfoDTO.isDineInAfter()) { List detailList = mpOrderDetailMapper.selectList(new LambdaQueryWrapper() @@ -1019,7 +1019,7 @@ public class PayService { producer.putOrderCollect(jsonObject.toJSONString()); log.info("发送打印数据"); - ShopEatTypeInfoDTO shopEatTypeInfoDTO = shopUtils.checkEatModel(orderInfo.getShopId(), orderInfo.getTableId()); + ShopEatTypeInfoDTO shopEatTypeInfoDTO = shopUtils.checkEatModel(orderInfo.getTableId(), orderInfo.getShopId()); // 打印消息 if (!shopEatTypeInfoDTO.isDineInAfter()) { List detailList = mpOrderDetailMapper.selectList(new LambdaQueryWrapper() @@ -1082,7 +1082,7 @@ public class PayService { producer.putOrderCollect(jsonObject.toJSONString()); log.info("发送打印数据"); - ShopEatTypeInfoDTO shopEatTypeInfoDTO = shopUtils.checkEatModel(orderInfo.getShopId(), orderInfo.getTableId()); + ShopEatTypeInfoDTO shopEatTypeInfoDTO = shopUtils.checkEatModel(orderInfo.getTableId(), orderInfo.getShopId()); // 打印消息 if (!shopEatTypeInfoDTO.isDineInAfter()) { List detailList = mpOrderDetailMapper.selectList(new LambdaQueryWrapper()