debug
This commit is contained in:
@ -267,6 +267,7 @@ public class ProjectSectionServiceImpl extends BaseServiceImpl<ProjectSectionMap
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Transactional(rollbackFor = Exception.class)
|
@Transactional(rollbackFor = Exception.class)
|
||||||
|
@GlobalTransactional
|
||||||
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<>();
|
||||||
@ -275,12 +276,14 @@ public class ProjectSectionServiceImpl extends BaseServiceImpl<ProjectSectionMap
|
|||||||
updateWrapper.set("business_module",ProjectCommonUtil.BUSINESS_MODULE_8);
|
updateWrapper.set("business_module",ProjectCommonUtil.BUSINESS_MODULE_8);
|
||||||
|
|
||||||
boolean result = this.update(updateWrapper);
|
boolean result = this.update(updateWrapper);
|
||||||
|
|
||||||
|
throw new RuntimeException("Debug Exception");
|
||||||
|
|
||||||
ProjectExceptionEnum.FRAME_EXCEPTION_PROJECT_SECTION_UPDATE_MODULE.customValid(!result);
|
// ProjectExceptionEnum.FRAME_EXCEPTION_PROJECT_SECTION_UPDATE_MODULE.customValid(!result);
|
||||||
|
//
|
||||||
sectionFlowService.saveSectionList(sectionIds,ProjectCommonUtil.BUSINESS_MODULE_7,ProjectCommonUtil.BUSINESS_MODULE_8);
|
// sectionFlowService.saveSectionList(sectionIds,ProjectCommonUtil.BUSINESS_MODULE_7,ProjectCommonUtil.BUSINESS_MODULE_8);
|
||||||
|
//
|
||||||
return result;
|
// return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user