Commit 73b72e5c by 穆龙飞

modify:修改邮件发放

parent e2e9a4b1
Pipeline #43940 passed with stages
in 1 minute 33 seconds
...@@ -46,6 +46,7 @@ import com.netease.mail.yanxuan.change.integration.item.SimplePhyCateGoryResultC ...@@ -46,6 +46,7 @@ import com.netease.mail.yanxuan.change.integration.item.SimplePhyCateGoryResultC
import com.netease.mail.yanxuan.change.integration.item.meta.SpuTO; import com.netease.mail.yanxuan.change.integration.item.meta.SpuTO;
import com.netease.mail.yanxuan.change.integration.item.param.BatchQuerySpuInfoParam; import com.netease.mail.yanxuan.change.integration.item.param.BatchQuerySpuInfoParam;
import com.netease.mail.yanxuan.change.integration.item.param.CommonIdsParamQuery; import com.netease.mail.yanxuan.change.integration.item.param.CommonIdsParamQuery;
import com.netease.mail.yanxuan.change.integration.todo.ChangeExecuteEmailDTO;
import com.netease.mail.yanxuan.change.integration.todo.TaskCreateDTO; import com.netease.mail.yanxuan.change.integration.todo.TaskCreateDTO;
import com.netease.yanxuan.flowx.sdk.meta.controller.communal.AjaxResponse; import com.netease.yanxuan.flowx.sdk.meta.controller.communal.AjaxResponse;
import com.netease.yanxuan.flowx.sdk.meta.dto.base.FlowDataDTO; import com.netease.yanxuan.flowx.sdk.meta.dto.base.FlowDataDTO;
...@@ -230,7 +231,17 @@ public class ChangeFlowBiz { ...@@ -230,7 +231,17 @@ public class ChangeFlowBiz {
param.put("changeCommander", user.getData().getName()); param.put("changeCommander", user.getData().getName());
param.put("changeCommanderEmail", changeRecord.getChangeCommander()); param.put("changeCommanderEmail", changeRecord.getChangeCommander());
param.put("flowUrl", changeRecord.getFlowId()); param.put("flowUrl", changeRecord.getFlowId());
param.put("dataList", changeExecRecords); List<ChangeExecuteEmailDTO> dataList = new ArrayList<>();
changeExecRecords.forEach(i -> {
ChangeExecuteEmailDTO changeExecuteEmailDTO = new ChangeExecuteEmailDTO();
changeExecuteEmailDTO.setChangeExecDepartment(i.getChangeExecDepartment());
changeExecuteEmailDTO.setChangeExecUser(i.getChangeExecUser());
changeExecuteEmailDTO.setChangeRiskDesc(i.getChangeRiskDesc());
changeExecuteEmailDTO.setChangeExecProject(i.getChangeExecProject());
changeExecuteEmailDTO.setChangeChecking(i.getChangeChecking());
dataList.add(changeExecuteEmailDTO);
});
param.put("dataList", dataList);
ChangeConfigPo changeConfigPo = changeConfigService.queryInfoPo(parentChangeClassId, sonChangeClassId); ChangeConfigPo changeConfigPo = changeConfigService.queryInfoPo(parentChangeClassId, sonChangeClassId);
StringBuilder changeType = new StringBuilder(); StringBuilder changeType = new StringBuilder();
try { try {
......
package com.netease.mail.yanxuan.change.integration.todo;
import lombok.Data;
@Data
public class ChangeExecuteEmailDTO {
private String changeExecDepartment;
private String changeExecUser;
private String changeRiskDesc;
private String changeExecProject;
private String changeChecking;
}
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