fix:木箱入库返回值改成return
This commit is contained in:
@@ -53,7 +53,7 @@ public class DruidFilter extends FilterEventAdapter {
|
|||||||
}
|
}
|
||||||
executeSql = SQLUtils.format(executeSql, JdbcUtils.MYSQL, params);
|
executeSql = SQLUtils.format(executeSql, JdbcUtils.MYSQL, params);
|
||||||
}
|
}
|
||||||
if (!sql.contains("sys_log")){
|
if (!sql.contains("sys_log") && !sql.contains("sys_interface_log")){
|
||||||
log.info("[----SQL----][update][ SQL: {} ]", executeSql);
|
log.info("[----SQL----][update][ SQL: {} ]", executeSql);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,8 +37,8 @@ import java.util.stream.Collectors;
|
|||||||
* @Date: 2024/7/25 15:06
|
* @Date: 2024/7/25 15:06
|
||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@Aspect
|
//@Aspect
|
||||||
@Component
|
//@Component
|
||||||
public class WhiteListLogAspect {
|
public class WhiteListLogAspect {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
@@ -54,7 +54,7 @@ public class WhiteListLogAspect {
|
|||||||
// 该方法无方法体,主要为了让同类中其他方法使用此切入点
|
// 该方法无方法体,主要为了让同类中其他方法使用此切入点
|
||||||
}
|
}
|
||||||
|
|
||||||
@Around("logPointcut()")
|
// @Around("logPointcut()")
|
||||||
public Object doAround(ProceedingJoinPoint joinPoint) throws Throwable {
|
public Object doAround(ProceedingJoinPoint joinPoint) throws Throwable {
|
||||||
Object[] args = joinPoint.getArgs();
|
Object[] args = joinPoint.getArgs();
|
||||||
Object result = null;
|
Object result = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user