This commit is contained in:
2023-11-20 21:12:49 +08:00
parent aa73512090
commit 5446acf167
2 changed files with 2 additions and 4 deletions

View File

@@ -84,7 +84,7 @@ public class ControllerAop {
if (sysLogEntity != null) {
sysLogEntity.setTimeCost((int) (end - start));
sysLogService.save(sysLogEntity);
sysLogService.saveSync(sysLogEntity);
}
}

View File

@@ -66,12 +66,10 @@ class SysLogService extends BaseService<SysLogEntity, SysLogRepository> {
return mapper.toDto(entity);
}
@Override
@Async
public SysLogEntity save(SysLogEntity entity) {
public void saveSync(SysLogEntity entity) {
super.save(entity);
return null;
}
public Page<SysLogDto> list(CommonQuery query) {