This commit is contained in:
ajaxfan
2021-02-07 12:33:13 +08:00
parent 5c9f14df31
commit 4ec4711d6b

View File

@ -266,10 +266,11 @@ 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:"+ 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);
updateWrapper.eq("business_module", ProjectCommonUtil.BUSINESS_MODULE_7); updateWrapper.eq("business_module", ProjectCommonUtil.BUSINESS_MODULE_7);