mirror of
https://github.com/yangzongzhuan/RuoYi-Cloud.git
synced 2025-11-28 02:11:50 +08:00
update 补全事务注解异常
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user