This commit is contained in:
ajaxfan
2021-02-07 14:09:38 +08:00
parent 314782182e
commit 6e4f91f5a2
2 changed files with 3 additions and 3 deletions

View File

@ -266,10 +266,8 @@ public class ProjectSectionServiceImpl extends BaseServiceImpl<ProjectSectionMap
} }
@Override @Override
@GlobalTransactional(rollbackFor = Exception.class)
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public boolean bidToTender(List<String> sectionIds) { public boolean bidToTender(List<String> sectionIds) {
log.info("xid 2021-02-07:"+ RootContext.getXID()); log.info("xid 2021-02-07:"+ RootContext.getXID());
UpdateWrapper<ProjectSection> updateWrapper = new UpdateWrapper<>(); UpdateWrapper<ProjectSection> updateWrapper = new UpdateWrapper<>();
updateWrapper.in("id",sectionIds); updateWrapper.in("id",sectionIds);

View File

@ -4,7 +4,9 @@ server:
context-path: / context-path: /
seata: seata:
enable-auto-data-source-proxy: true enabled: true
application-id: biz-service-ebtp-project
tx-service-group: my_test_tx_group
# 对应 apollo 配置中心的应用名 # 对应 apollo 配置中心的应用名