|
|
@@ -106,13 +106,9 @@ public class ExpertInfoServiceImpl implements ExpertInfoService { |
|
|
|
// 专家信息审核通过之前,所有信息无需备份 |
|
|
|
iExpertUserFullInfoService.removeById(expertUserFullInfo.getId()); |
|
|
|
// 删除所有专家标签字段 |
|
|
|
LambdaQueryWrapper<ExpertTag> expertTagRemove = Wrappers.lambdaQuery(ExpertTag.class) |
|
|
|
.eq(ExpertTag::getUserId, userId); |
|
|
|
iExpertTagService.remove(expertTagRemove); |
|
|
|
iExpertTagService.removeByUserId(userId); |
|
|
|
// 删除所有专家字典字段 |
|
|
|
LambdaQueryWrapper<ExpertDictionary> expertDictionaryRemove = Wrappers.lambdaQuery(ExpertDictionary.class) |
|
|
|
.eq(ExpertDictionary::getUserId, userId); |
|
|
|
iExpertDictionaryService.remove(expertDictionaryRemove); |
|
|
|
iExpertDictionaryService.removeByUserId(userId); |
|
|
|
// 删除所有专家履职意向申请 |
|
|
|
// 补充审核逻辑 |
|
|
|
LambdaQueryWrapper<ExpertMetaApply> expertMetaApplyRemove = Wrappers.lambdaQuery(ExpertMetaApply.class) |
|
|
@@ -121,9 +117,7 @@ public class ExpertInfoServiceImpl implements ExpertInfoService { |
|
|
|
.eq(ExpertMetaApply::getDisplayEnable, BoolDisplayEnum.N.name()); |
|
|
|
iExpertMetaApplyService.remove(expertMetaApplyRemove); |
|
|
|
// 删除回避单位 |
|
|
|
LambdaQueryWrapper<ExpertAvoidCompany> expertAvoidCompanyRemove = Wrappers.lambdaQuery(ExpertAvoidCompany.class) |
|
|
|
.eq(ExpertAvoidCompany::getUserId, userId); |
|
|
|
iExpertAvoidCompanyService.remove(expertAvoidCompanyRemove); |
|
|
|
iExpertAvoidCompanyService.removeByUserId(userId); |
|
|
|
} |
|
|
|
saveExpertUserFullInfo.setUserId(userId); |
|
|
|
saveExpertUserFullInfo.setExpertAccountStatus(ExpertAccountStatusEnum.APPLYING.getKey()); |
|
|
|