wei.zhang2 2017-10-16 17:34:35 +08:00
parent 8f38a70ac6
commit baa80e8011
1 changed files with 0 additions and 3 deletions

View File

@ -5,7 +5,6 @@ import java.util.Date;
import org.apache.commons.lang3.time.DateFormatUtils; import org.apache.commons.lang3.time.DateFormatUtils;
import org.apache.commons.lang3.time.DateUtils; import org.apache.commons.lang3.time.DateUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.boot.security.server.dao.SysLogsDao; import com.boot.security.server.dao.SysLogsDao;
@ -23,7 +22,6 @@ public class SysLogServiceImpl implements SysLogService {
@Autowired @Autowired
private SysLogsDao sysLogsDao; private SysLogsDao sysLogsDao;
@Async
@Override @Override
public void save(SysLogs sysLogs) { public void save(SysLogs sysLogs) {
SysUser user = UserUtil.getLoginUser(); SysUser user = UserUtil.getLoginUser();
@ -35,7 +33,6 @@ public class SysLogServiceImpl implements SysLogService {
sysLogsDao.save(sysLogs); sysLogsDao.save(sysLogs);
} }
@Async
@Override @Override
public void save(Long userId, String module, Boolean flag, String remark) { public void save(Long userId, String module, Boolean flag, String remark) {
SysLogs sysLogs = new SysLogs(); SysLogs sysLogs = new SysLogs();