diff --git a/hzims-service/message/src/main/java/com/hnac/hzims/message/fegin/MessageClient.java b/hzims-service/message/src/main/java/com/hnac/hzims/message/fegin/MessageClient.java index b997af9..d192faf 100644 --- a/hzims-service/message/src/main/java/com/hnac/hzims/message/fegin/MessageClient.java +++ b/hzims-service/message/src/main/java/com/hnac/hzims/message/fegin/MessageClient.java @@ -84,7 +84,8 @@ public class MessageClient extends BladeController implements IMessageClient{ entity.setId(null); entity.setType(type); entity.setTaskId(request.getTaskId()); - entity.setTemplateId(messageId); + entity.setMessageId(messageId); + entity.setTemplateId(request.getTemplateId()); entity.setDeptId(request.getDeptId()); entity.setCreateUser(request.getCreateUser()); entity.setCreateDept(request.getDeptId());