调整订单逻辑,增加店内外带用餐方式,增加多次下单标记

This commit is contained in:
2024-09-24 09:55:21 +08:00
parent 7adf50ab99
commit ca49d31260
24 changed files with 1069 additions and 1798 deletions

View File

@@ -0,0 +1,16 @@
package com.chaozhanggui.system.cashierservice.exception;
import cn.hutool.core.util.StrUtil;
import com.chaozhanggui.system.cashierservice.util.Utils;
import lombok.extern.slf4j.Slf4j;
@Slf4j
public class NotPrintException extends RuntimeException{
public NotPrintException(String format, Object... args) {
super(StrUtil.format(format, args));
StringBuilder builder = new StringBuilder();
Utils.recursiveReversePrintStackCause(this, 2, new Utils.ForwardCounter(0), 2, builder);
log.warn("异常信息: {}", builder);
}
}