diff --git a/hzims-service-api/message-api/src/main/java/com/hnac/hzims/message/dto/PlanMsgRecordDto.java b/hzims-service-api/message-api/src/main/java/com/hnac/hzims/message/dto/PlanMsgRecordDto.java index ae8e695..611fab7 100644 --- a/hzims-service-api/message-api/src/main/java/com/hnac/hzims/message/dto/PlanMsgRecordDto.java +++ b/hzims-service-api/message-api/src/main/java/com/hnac/hzims/message/dto/PlanMsgRecordDto.java @@ -52,6 +52,9 @@ public class PlanMsgRecordDto implements Serializable { @NotNull private LocalDateTime planTime; + @ApiModelProperty("短信推送资源编码") + private String resourceCode; + @ApiModelProperty("消息创建人") @JsonSerialize(nullsUsing = NullSerializer.class) private Long createUser; 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 7565730..3505e11 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 @@ -88,6 +88,7 @@ public class MessageClient extends BladeController implements IMessageClient{ entity.setTemplateId(request.getTemplateId()); entity.setDeptId(request.getDeptId()); entity.setCreateUser(request.getCreateUser()); + entity.setResourceCode(request.getResourceCode()); entity.setCreateDept(request.getDeptId()); entity.setPlanTime(request.getPlanTime()); entity.setPushType(MessageConstants.PLAN);