调整订单逻辑,增加店内外带用餐方式,增加多次下单标记
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user