mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
bugfix
This commit is contained in:
@@ -84,7 +84,7 @@ public class ControllerAop {
|
||||
if (sysLogEntity != null) {
|
||||
sysLogEntity.setTimeCost((int) (end - start));
|
||||
|
||||
sysLogService.save(sysLogEntity);
|
||||
sysLogService.saveSync(sysLogEntity);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user