Browse Source

# 消息推送接口修改

zhongwei
haungxing 2 years ago
parent
commit
5262809e4b
  1. 3
      hzims-service-api/message-api/src/main/java/com/hnac/hzims/message/dto/PlanMsgRecordDto.java
  2. 1
      hzims-service/message/src/main/java/com/hnac/hzims/message/fegin/MessageClient.java

3
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;

1
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);

Loading…
Cancel
Save