Commit e3acae3a by jinxin

群发记录导出bug修复

parent 9841c3b3
...@@ -423,7 +423,7 @@ public class GroupChatPlanController { ...@@ -423,7 +423,7 @@ public class GroupChatPlanController {
ServiceResponse<Page<GroupChatPlanOwnerLogDTO>> resp = this.groupChatPlanApiService.listOwnerLogPage(planId, searchQDTO, basePageInfo); ServiceResponse<Page<GroupChatPlanOwnerLogDTO>> resp = this.groupChatPlanApiService.listOwnerLogPage(planId, searchQDTO, basePageInfo);
List<GroupChatPlanOwnerLogDTO> planOwnerLogDTOS = resp.getResult().getResult(); List<GroupChatPlanOwnerLogDTO> planOwnerLogDTOS = resp.getResult().getResult();
if (CollectionUtils.isNotEmpty(planOwnerLogDTOS)){ if (CollectionUtils.isNotEmpty(planOwnerLogDTOS)){
List<SendExcelVO> sendExcelVOList1 = EntityUtil.changeEntityListByJSON(SendExcelVO.class, result); List<SendExcelVO> sendExcelVOList1 = EntityUtil.changeEntityListByJSON(SendExcelVO.class, planOwnerLogDTOS);
sendExcelVOList1.forEach(a->{ sendExcelVOList1.forEach(a->{
a.setName(groupChatPlanDTO.getName()); a.setName(groupChatPlanDTO.getName());
a.setStartTime(groupChatPlanDTO.getStartTime()); a.setStartTime(groupChatPlanDTO.getStartTime());
...@@ -434,7 +434,7 @@ public class GroupChatPlanController { ...@@ -434,7 +434,7 @@ public class GroupChatPlanController {
ServiceResponse<Page<GroupChatPlanLogDTO>> resp1 = this.groupChatPlanApiService.listLogPage(planId, searchQDTO, basePageInfo); ServiceResponse<Page<GroupChatPlanLogDTO>> resp1 = this.groupChatPlanApiService.listLogPage(planId, searchQDTO, basePageInfo);
List<GroupChatPlanLogDTO> planLogDTOS = resp1.getResult().getResult(); List<GroupChatPlanLogDTO> planLogDTOS = resp1.getResult().getResult();
if (CollectionUtils.isNotEmpty(planLogDTOS)){ if (CollectionUtils.isNotEmpty(planLogDTOS)){
List<ReceiveExcelVO> receiveExcelVOList1 = EntityUtil.changeEntityListByJSON(ReceiveExcelVO.class, result); List<ReceiveExcelVO> receiveExcelVOList1 = EntityUtil.changeEntityListByJSON(ReceiveExcelVO.class, planLogDTOS);
receiveExcelVOList1.forEach(a->{ receiveExcelVOList1.forEach(a->{
a.setName(groupChatPlanDTO.getName()); a.setName(groupChatPlanDTO.getName());
a.setStartTime(groupChatPlanDTO.getStartTime()); a.setStartTime(groupChatPlanDTO.getStartTime());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment