@ -121,7 +121,7 @@ public class GenTableServiceImpl implements IGenTableService
@@ -121,7 +121,7 @@ public class GenTableServiceImpl implements IGenTableService
@ -143,7 +143,7 @@ public class GenTableServiceImpl implements IGenTableService
@@ -143,7 +143,7 @@ public class GenTableServiceImpl implements IGenTableService
*@return结果
*/
@Override
@Transactional
@Transactional(rollbackFor=Exception.class)
publicvoiddeleteGenTableByIds(Long[]tableIds)
{
genTableMapper.deleteGenTableByIds(tableIds);
@ -156,7 +156,7 @@ public class GenTableServiceImpl implements IGenTableService
@@ -156,7 +156,7 @@ public class GenTableServiceImpl implements IGenTableService
*@paramtableList导入表列表
*/
@Override
@Transactional
@Transactional(rollbackFor=Exception.class)
publicvoidimportGenTable(List<GenTable>tableList)
{
StringoperName=SecurityUtils.getUsername();
@ -282,7 +282,7 @@ public class GenTableServiceImpl implements IGenTableService
@@ -282,7 +282,7 @@ public class GenTableServiceImpl implements IGenTableService
@ -189,7 +189,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService
@@ -189,7 +189,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService
@ -228,7 +228,7 @@ public class SysRoleServiceImpl implements ISysRoleService
@@ -228,7 +228,7 @@ public class SysRoleServiceImpl implements ISysRoleService
*@return结果
*/
@Override
@Transactional
@Transactional(rollbackFor=Exception.class)
publicintinsertRole(SysRolerole)
{
// 新增角色信息
@ -243,7 +243,7 @@ public class SysRoleServiceImpl implements ISysRoleService
@@ -243,7 +243,7 @@ public class SysRoleServiceImpl implements ISysRoleService
*@return结果
*/
@Override
@Transactional
@Transactional(rollbackFor=Exception.class)
publicintupdateRole(SysRolerole)
{
// 修改角色信息
@ -272,7 +272,7 @@ public class SysRoleServiceImpl implements ISysRoleService
@@ -272,7 +272,7 @@ public class SysRoleServiceImpl implements ISysRoleService
*@return结果
*/
@Override
@Transactional
@Transactional(rollbackFor=Exception.class)
publicintauthDataScope(SysRolerole)
{
// 修改角色信息
@ -338,7 +338,7 @@ public class SysRoleServiceImpl implements ISysRoleService
@@ -338,7 +338,7 @@ public class SysRoleServiceImpl implements ISysRoleService
*@return结果
*/
@Override
@Transactional
@Transactional(rollbackFor=Exception.class)
publicintdeleteRoleById(LongroleId)
{
// 删除角色与菜单关联
@ -355,7 +355,7 @@ public class SysRoleServiceImpl implements ISysRoleService
@@ -355,7 +355,7 @@ public class SysRoleServiceImpl implements ISysRoleService
@ -252,7 +252,7 @@ public class SysUserServiceImpl implements ISysUserService
@@ -252,7 +252,7 @@ public class SysUserServiceImpl implements ISysUserService
*@return结果
*/
@Override
@Transactional
@Transactional(rollbackFor=Exception.class)
publicintinsertUser(SysUseruser)
{
// 新增用户信息
@ -283,7 +283,7 @@ public class SysUserServiceImpl implements ISysUserService
@@ -283,7 +283,7 @@ public class SysUserServiceImpl implements ISysUserService
*@return结果
*/
@Override
@Transactional
@Transactional(rollbackFor=Exception.class)
publicintupdateUser(SysUseruser)
{
LonguserId=user.getUserId();
@ -305,7 +305,7 @@ public class SysUserServiceImpl implements ISysUserService
@@ -305,7 +305,7 @@ public class SysUserServiceImpl implements ISysUserService
@ -459,7 +459,7 @@ public class SysUserServiceImpl implements ISysUserService
@@ -459,7 +459,7 @@ public class SysUserServiceImpl implements ISysUserService
*@return结果
*/
@Override
@Transactional
@Transactional(rollbackFor=Exception.class)
publicintdeleteUserById(LonguserId)
{
// 删除用户与角色关联
@ -476,7 +476,7 @@ public class SysUserServiceImpl implements ISysUserService
@@ -476,7 +476,7 @@ public class SysUserServiceImpl implements ISysUserService