Skip to content

Commit

Permalink
代码优化
Browse files Browse the repository at this point in the history
  • Loading branch information
think-gem committed Feb 20, 2020
1 parent e8aa809 commit 044770e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*/
package com.jeesite.modules.sys.service.support;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
Expand Down Expand Up @@ -43,7 +42,7 @@ public Page<Log> findPage(Log log) {
/**
* 不使用数据库事务,执行插入日志
*/
@Transactional(readOnly=false, propagation=Propagation.NOT_SUPPORTED)
@Transactional(readOnly=false)//, propagation=Propagation.NOT_SUPPORTED)
public void insertLog(Log entity) {
dao.insert(entity);
}
Expand Down

0 comments on commit 044770e

Please sign in to comment.