1.下单不打票修复
This commit is contained in:
@@ -190,11 +190,13 @@ public class PrintMechineConsumer {
|
|||||||
cashierCarts = tbCashierCartMapper.selectByOrderId(orderId,"final");
|
cashierCarts = tbCashierCartMapper.selectByOrderId(orderId,"final");
|
||||||
if (ObjectUtil.isNotEmpty(cashierCarts) && cashierCarts.size() > 0) {
|
if (ObjectUtil.isNotEmpty(cashierCarts) && cashierCarts.size() > 0) {
|
||||||
|
|
||||||
|
|
||||||
|
cashierCarts.parallelStream().forEach(it -> {
|
||||||
|
|
||||||
// 取餐号不为空为代客下单
|
// 取餐号不为空为代客下单
|
||||||
if ("postPay".equals(orderInfo.getUseType())) {
|
if ("postPay".equals(orderInfo.getUseType()) && StrUtil.isNotBlank(it.getMasterId())) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
cashierCarts.parallelStream().forEach(it -> {
|
|
||||||
|
|
||||||
String categoryId;
|
String categoryId;
|
||||||
if(ObjectUtil.isEmpty(it.getCategoryId())){
|
if(ObjectUtil.isEmpty(it.getCategoryId())){
|
||||||
|
|||||||
Reference in New Issue
Block a user