获得机台新增品牌信息,排单,打包补全部分代码逻辑

This commit is contained in:
liuzhaotian
2024-09-27 15:42:51 +08:00
parent 8bcbb3eb9f
commit a0734b6f1f
31 changed files with 198 additions and 872 deletions
@@ -236,9 +236,13 @@ public class GlobalExceptionHandler {
return tableNotExistsResult;
}
// if(ex instanceof NullPointerException){
// return CommonResult.error(DATA_EXCEPTION_ERROR.getCode(), DATA_EXCEPTION_ERROR.getMsg());
// }
if(ex instanceof NullPointerException){
// 处理异常
log.error("[defaultExceptionHandler]", ex);
// 插入异常日志
this.createExceptionLog(req, ex);
return CommonResult.error(DATA_EXCEPTION_ERROR.getCode(), DATA_EXCEPTION_ERROR.getMsg());
}
// 情况二:部分特殊的库的处理
if (Objects.equals("io.github.resilience4j.ratelimiter.RequestNotPermitted", ex.getClass().getName())) {