结算单问题
This commit is contained in:
@@ -80,7 +80,7 @@ public class PrintMqListener {
|
|||||||
//该字段表示 网络打印机是否打印订单 本地传参来的
|
//该字段表示 网络打印机是否打印订单 本地传参来的
|
||||||
Boolean printOrder = jsonObject.getBoolean("printOrder");
|
Boolean printOrder = jsonObject.getBoolean("printOrder");
|
||||||
redisService.runFunAndCheckKey(() -> {
|
redisService.runFunAndCheckKey(() -> {
|
||||||
if (printOrder) {
|
if (printOrder && orderStatus == 1) {
|
||||||
printConfig.orderHandler(orderId, PrinterHandler.PrintTypeEnum.ORDER, null);
|
printConfig.orderHandler(orderId, PrinterHandler.PrintTypeEnum.ORDER, null);
|
||||||
}
|
}
|
||||||
if (payType == 1 || orderStatus == 0) {
|
if (payType == 1 || orderStatus == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user