-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Description
在你们一个叫RuoYi-Vue-fast-master的项目中 github链接-> https://github.com/yangzongzhuan/RuoYi-Vue-fast 我看到com.ruoyi.project.system.service.impl包下,SysRoleServiceImpl类中, /**
* 新增角色菜单信息
*
* @param role 角色对象
*/
public int insertRoleMenu(SysRole role) 这个方法,它的业务逻辑应该是:新增角色的时候,同时在角色菜单表下新增角色id吧?但是数据库同时进行多条insert,你们没有加@Transatonal进行事务管理,是设计如此还是疏忽了?
Metadata
Metadata
Assignees
Labels
No labels