76 门诊预约挂号
This commit is contained in:
@@ -176,7 +176,7 @@ public class OperLogAspect {
|
||||
* 插入操作日志到数据库
|
||||
*/
|
||||
private void insertOperLog(SysOperLog operLog) {
|
||||
String username = SecurityUtils.getLoginUser().getUsername();
|
||||
String username = SecurityUtils.getUsernameSafe(); // 使用安全获取用户名的方法
|
||||
String sql = "INSERT INTO sys_oper_log "
|
||||
+ "(title,oper_time,method,request_method,oper_name,oper_url,oper_param,json_result,error_msg,cost_time) "
|
||||
+ "VALUES (?, ?, ?,?, ?, ?, ?, ?,?, ?)";
|
||||
|
||||
Reference in New Issue
Block a user