webc根据会销组id查询线索报名会销信息增加是否提交意向申请

This commit is contained in:
feng.li
2024-01-05 17:00:43 +08:00
parent df754a2f24
commit f562df93d0
2 changed files with 10 additions and 1 deletions

View File

@@ -26,4 +26,7 @@ public class PartnerExhibitionInfoVO {
@ApiModelProperty(value = "展会地点", example = "维也纳大酒店")
private String exhibitionPosition;
@ApiModelProperty("线索是否填写了意向申请")
private Boolean whetherIntentionApply;
}

View File

@@ -741,7 +741,13 @@ public class ExhibitionServiceImpl implements ExhibitionService {
@Override
public PartnerExhibitionInfoVO getExhibitionInfo(Integer exhibitionGroupId, Long partnerLineId) {
return hyExhibitionDAO.getPartnerExhibitionInfo(exhibitionGroupId, partnerLineId);
PartnerExhibitionInfoVO partnerExhibitionInfo = hyExhibitionDAO.getPartnerExhibitionInfo(exhibitionGroupId, partnerLineId);
partnerExhibitionInfo.setWhetherIntentionApply(Boolean.TRUE);
HyPartnerIntentInfoDO intentInfo = hyPartnerIntentInfoDAO.selectByLineId(partnerLineId);
if (intentInfo == null) {
partnerExhibitionInfo.setWhetherIntentionApply(Boolean.FALSE);
}
return partnerExhibitionInfo;
}
@Override