|
@@ -184,24 +184,23 @@ public class MeetingInfoController {
|
|
|
List<MeetingPersonDTO> dtoList = new ArrayList<>();
|
|
|
|
|
|
for (MeetingPerson meetingPerson:list) {
|
|
|
- selectPersonKey += String.valueOf(meetingPerson.getPersonId())+",";
|
|
|
-
|
|
|
- PersonInfo personInfo = personInfoService.get(meetingPerson.getPersonId());
|
|
|
-
|
|
|
- if(personInfo!=null) {
|
|
|
- CompanyInfo companyInfo = companyInfoService.get(personInfo.getCompanyId());
|
|
|
- String companyName="";
|
|
|
-
|
|
|
- if(companyInfo!=null){
|
|
|
- companyName = "-"+companyInfo.getName();
|
|
|
- }
|
|
|
-
|
|
|
- MeetingPersonDTO dto = new MeetingPersonDTO();
|
|
|
- dto.setKey(personInfo.getId().toString());
|
|
|
- dto.setLabel(personInfo.getName()+ companyName);
|
|
|
-
|
|
|
- dtoList.add(dto);
|
|
|
- }
|
|
|
+ selectPersonKey += meetingPerson.getPersonId() + ",";
|
|
|
+
|
|
|
+ MeetingPersonDTO dto = new MeetingPersonDTO();
|
|
|
+ dto.setKey(meetingPerson.getPersonId().toString());
|
|
|
+ dto.setLabel(meetingPerson.getPersonName() + "-" + meetingPerson.getCompanyName());
|
|
|
+
|
|
|
+ dtoList.add(dto);
|
|
|
+// PersonInfo personInfo = personInfoService.get(meetingPerson.getPersonId());
|
|
|
+//
|
|
|
+// if(personInfo!=null) {
|
|
|
+// CompanyInfo companyInfo = companyInfoService.get(personInfo.getCompanyId());
|
|
|
+// String companyName="";
|
|
|
+//
|
|
|
+// if(companyInfo!=null){
|
|
|
+// companyName = "-"+companyInfo.getName();
|
|
|
+// }
|
|
|
+// }
|
|
|
}
|
|
|
|
|
|
if(StringUtils.isNotEmpty(selectPersonKey)){
|