Browse Source

msgw调整

master
zouhantao 1 month ago
parent
commit
d09cefef0d

+ 2
- 1
zhywpt-app-msgw/src/main/java/cn/com/taiji/msgw/dto/MessageSendDetailsAddResponseDto.java View File





import cn.com.taiji.common.entity.BaseEntity; import cn.com.taiji.common.entity.BaseEntity;
import cn.com.taiji.core.entity.msgw.MsgwSendDetails;
import lombok.Getter;
import lombok.Setter; import lombok.Setter;


@Getter
@Setter @Setter
public class MessageSendDetailsAddResponseDto extends BaseEntity { public class MessageSendDetailsAddResponseDto extends BaseEntity {



+ 1
- 1
zhywpt-app-msgw/src/main/java/cn/com/taiji/msgw/dto/MessageSendDetailsRequestDto.java View File



@ApiModelProperty(value = "子表id",required = true) @ApiModelProperty(value = "子表id",required = true)
@NotBlank(message = "id不能为空") @NotBlank(message = "id不能为空")
private String sendDetailsId;
private String id;
} }

+ 2
- 1
zhywpt-app-msgw/src/main/java/cn/com/taiji/msgw/dto/MessageSendDetailsResponseDto.java View File

package cn.com.taiji.msgw.dto; package cn.com.taiji.msgw.dto;



import cn.com.taiji.common.entity.BaseEntity; import cn.com.taiji.common.entity.BaseEntity;
import cn.com.taiji.core.entity.msgw.MsgwSendDetails; import cn.com.taiji.core.entity.msgw.MsgwSendDetails;
import lombok.Getter;
import lombok.Setter; import lombok.Setter;


@Getter
@Setter @Setter
public class MessageSendDetailsResponseDto extends BaseEntity { public class MessageSendDetailsResponseDto extends BaseEntity {



+ 1
- 1
zhywpt-app-msgw/src/main/java/cn/com/taiji/msgw/manager/messageWaitSend/MessageWaitSendManagerImpl.java View File



@Override @Override
public MessageSendDetailsResponseDto view(MessageSendDetailsRequestDto request) { public MessageSendDetailsResponseDto view(MessageSendDetailsRequestDto request) {
MsgwSendDetails sendDetails = sendDetailsRepo.findById(request.getSendDetailsId()).orElse(null);
MsgwSendDetails sendDetails = sendDetailsRepo.findById(request.getId()).orElse(null);
MessageSendDetailsResponseDto response = new MessageSendDetailsResponseDto(); MessageSendDetailsResponseDto response = new MessageSendDetailsResponseDto();
response.setSendDetails(sendDetails); response.setSendDetails(sendDetails);
return response; return response;

Loading…
Cancel
Save