Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
多鱼的夏天
RuoYi-Cloud-Docker
提交
14c41211
R
RuoYi-Cloud-Docker
项目概览
多鱼的夏天
/
RuoYi-Cloud-Docker
通知
209
Star
7
Fork
6
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
RuoYi-Cloud-Docker
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
14c41211
编写于
2月 17, 2022
作者:
疯狂的狮子Li
提交者:
Gitee
2月 17, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update 补全事务注解异常
上级
642cfbda
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
15 addition
and
15 deletion
+15
-15
ruoyi-modules/ruoyi-gen/src/main/java/com/ruoyi/gen/service/GenTableServiceImpl.java
.../main/java/com/ruoyi/gen/service/GenTableServiceImpl.java
+4
-4
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDictTypeServiceImpl.java
...com/ruoyi/system/service/impl/SysDictTypeServiceImpl.java
+1
-1
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysRoleServiceImpl.java
...ava/com/ruoyi/system/service/impl/SysRoleServiceImpl.java
+5
-5
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysUserServiceImpl.java
...ava/com/ruoyi/system/service/impl/SysUserServiceImpl.java
+5
-5
未找到文件。
ruoyi-modules/ruoyi-gen/src/main/java/com/ruoyi/gen/service/GenTableServiceImpl.java
浏览文件 @
14c41211
...
...
@@ -121,7 +121,7 @@ public class GenTableServiceImpl implements IGenTableService
* @return 结果
*/
@Override
@Transactional
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
void
updateGenTable
(
GenTable
genTable
)
{
String
options
=
JSON
.
toJSONString
(
genTable
.
getParams
());
...
...
@@ -143,7 +143,7 @@ public class GenTableServiceImpl implements IGenTableService
* @return 结果
*/
@Override
@Transactional
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
void
deleteGenTableByIds
(
Long
[]
tableIds
)
{
genTableMapper
.
deleteGenTableByIds
(
tableIds
);
...
...
@@ -156,7 +156,7 @@ public class GenTableServiceImpl implements IGenTableService
* @param tableList 导入表列表
*/
@Override
@Transactional
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
void
importGenTable
(
List
<
GenTable
>
tableList
)
{
String
operName
=
SecurityUtils
.
getUsername
();
...
...
@@ -282,7 +282,7 @@ public class GenTableServiceImpl implements IGenTableService
* @param tableName 表名称
*/
@Override
@Transactional
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
void
synchDb
(
String
tableName
)
{
GenTable
table
=
genTableMapper
.
selectGenTableByName
(
tableName
);
...
...
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDictTypeServiceImpl.java
浏览文件 @
14c41211
...
...
@@ -189,7 +189,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService
* @return 结果
*/
@Override
@Transactional
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
int
updateDictType
(
SysDictType
dict
)
{
SysDictType
oldDict
=
dictTypeMapper
.
selectDictTypeById
(
dict
.
getDictId
());
...
...
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysRoleServiceImpl.java
浏览文件 @
14c41211
...
...
@@ -228,7 +228,7 @@ public class SysRoleServiceImpl implements ISysRoleService
* @return 结果
*/
@Override
@Transactional
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
int
insertRole
(
SysRole
role
)
{
// 新增角色信息
...
...
@@ -243,7 +243,7 @@ public class SysRoleServiceImpl implements ISysRoleService
* @return 结果
*/
@Override
@Transactional
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
int
updateRole
(
SysRole
role
)
{
// 修改角色信息
...
...
@@ -272,7 +272,7 @@ public class SysRoleServiceImpl implements ISysRoleService
* @return 结果
*/
@Override
@Transactional
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
int
authDataScope
(
SysRole
role
)
{
// 修改角色信息
...
...
@@ -338,7 +338,7 @@ public class SysRoleServiceImpl implements ISysRoleService
* @return 结果
*/
@Override
@Transactional
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
int
deleteRoleById
(
Long
roleId
)
{
// 删除角色与菜单关联
...
...
@@ -355,7 +355,7 @@ public class SysRoleServiceImpl implements ISysRoleService
* @return 结果
*/
@Override
@Transactional
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
int
deleteRoleByIds
(
Long
[]
roleIds
)
{
for
(
Long
roleId
:
roleIds
)
...
...
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysUserServiceImpl.java
浏览文件 @
14c41211
...
...
@@ -252,7 +252,7 @@ public class SysUserServiceImpl implements ISysUserService
* @return 结果
*/
@Override
@Transactional
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
int
insertUser
(
SysUser
user
)
{
// 新增用户信息
...
...
@@ -283,7 +283,7 @@ public class SysUserServiceImpl implements ISysUserService
* @return 结果
*/
@Override
@Transactional
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
int
updateUser
(
SysUser
user
)
{
Long
userId
=
user
.
getUserId
();
...
...
@@ -305,7 +305,7 @@ public class SysUserServiceImpl implements ISysUserService
* @param roleIds 角色组
*/
@Override
@Transactional
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
void
insertUserAuth
(
Long
userId
,
Long
[]
roleIds
)
{
userRoleMapper
.
deleteUserRoleByUserId
(
userId
);
...
...
@@ -459,7 +459,7 @@ public class SysUserServiceImpl implements ISysUserService
* @return 结果
*/
@Override
@Transactional
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
int
deleteUserById
(
Long
userId
)
{
// 删除用户与角色关联
...
...
@@ -476,7 +476,7 @@ public class SysUserServiceImpl implements ISysUserService
* @return 结果
*/
@Override
@Transactional
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
int
deleteUserByIds
(
Long
[]
userIds
)
{
for
(
Long
userId
:
userIds
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录