@@ -2,9 +2,10 @@ package cn.com.taiji.msgw.dto; | |||
import cn.com.taiji.common.entity.BaseEntity; | |||
import cn.com.taiji.core.entity.msgw.MsgwSendDetails; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@Getter | |||
@Setter | |||
public class MessageSendDetailsAddResponseDto extends BaseEntity { | |||
@@ -13,5 +13,5 @@ public class MessageSendDetailsRequestDto extends AbstractStaffBizRequestDTO { | |||
@ApiModelProperty(value = "子表id",required = true) | |||
@NotBlank(message = "id不能为空") | |||
private String sendDetailsId; | |||
private String id; | |||
} |
@@ -1,10 +1,11 @@ | |||
package cn.com.taiji.msgw.dto; | |||
import cn.com.taiji.common.entity.BaseEntity; | |||
import cn.com.taiji.core.entity.msgw.MsgwSendDetails; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@Getter | |||
@Setter | |||
public class MessageSendDetailsResponseDto extends BaseEntity { | |||
@@ -184,7 +184,7 @@ public class MessageWaitSendManagerImpl extends AbstractCommManager implements M | |||
@Override | |||
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(); | |||
response.setSendDetails(sendDetails); | |||
return response; |