mdf:实现类加@Transactional
This commit is contained in:
Binary file not shown.
@@ -34,6 +34,7 @@ import java.util.stream.Collectors;
|
||||
* @since 2022-12-15
|
||||
*/
|
||||
@Service
|
||||
@Transactional
|
||||
public class SysDeptServiceImpl extends ServiceImpl<SysDeptMapper, SysDept> implements ISysDeptService {
|
||||
|
||||
@Autowired
|
||||
|
||||
@@ -5,6 +5,7 @@ import org.nl.system.service.dept.ISysUserDeptService;
|
||||
import org.nl.system.service.dept.dao.SysUserDept;
|
||||
import org.nl.system.service.dept.dao.mapper.SysUserDeptMapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
@@ -15,6 +16,7 @@ import org.springframework.stereotype.Service;
|
||||
* @since 2022-12-15
|
||||
*/
|
||||
@Service
|
||||
@Transactional
|
||||
public class SysUserDeptServiceImpl extends ServiceImpl<SysUserDeptMapper, SysUserDept> implements ISysUserDeptService {
|
||||
|
||||
}
|
||||
|
||||
@@ -33,6 +33,7 @@ import java.util.Set;
|
||||
*/
|
||||
@Service
|
||||
@RequiredArgsConstructor
|
||||
@Transactional
|
||||
public class SysDictServiceImpl extends ServiceImpl<SysDictMapper, Dict> implements ISysDictService {
|
||||
|
||||
private final SysDictMapper sysDictMapper;
|
||||
|
||||
@@ -44,6 +44,7 @@ import java.util.stream.Collectors;
|
||||
@Service
|
||||
@RequiredArgsConstructor
|
||||
@Slf4j
|
||||
@Transactional
|
||||
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> implements ISysMenuService {
|
||||
|
||||
private final SysMenuMapper baseMapper;
|
||||
|
||||
@@ -32,6 +32,7 @@ import java.util.Map;
|
||||
@Service
|
||||
@RequiredArgsConstructor
|
||||
@Slf4j
|
||||
@Transactional
|
||||
public class SysParamServiceImpl extends ServiceImpl<SysParamMapper, Param> implements ISysParamService {
|
||||
|
||||
private final SysParamMapper paramMapper;
|
||||
|
||||
@@ -38,6 +38,7 @@ import java.util.Set;
|
||||
*/
|
||||
@Service
|
||||
@RequiredArgsConstructor
|
||||
@Transactional
|
||||
public class SysDataPermissionServiceImpl extends ServiceImpl<SysDataPermissionMapper, SysDataPermission> implements ISysDataPermissionService {
|
||||
|
||||
private final SysDataPermissionMapper dataPermissionMapper;
|
||||
|
||||
@@ -39,6 +39,7 @@ import java.util.Set;
|
||||
*/
|
||||
@Service
|
||||
@RequiredArgsConstructor
|
||||
@Transactional
|
||||
public class SysQuartzJobServiceImpl extends ServiceImpl<SysQuartzJobMapper, SysQuartzJob> implements ISysQuartzJobService {
|
||||
|
||||
private final SysQuartzJobMapper quartzJobMapper;
|
||||
|
||||
@@ -35,6 +35,7 @@ import java.util.*;
|
||||
*/
|
||||
@Service
|
||||
@RequiredArgsConstructor
|
||||
@Transactional
|
||||
public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> implements ISysRoleService {
|
||||
|
||||
private final SysRoleMapper roleMapper;
|
||||
|
||||
@@ -44,6 +44,7 @@ import java.util.*;
|
||||
* @since 2022-12-15
|
||||
*/
|
||||
@Service
|
||||
@Transactional
|
||||
public class ISysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> implements ISysUserService {
|
||||
|
||||
@Autowired
|
||||
|
||||
Reference in New Issue
Block a user