瀏覽代碼

msgw调整

master
zouhantao 1 月之前
父節點
當前提交
d09cefef0d

+ 2
- 1
zhywpt-app-msgw/src/main/java/cn/com/taiji/msgw/dto/MessageSendDetailsAddResponseDto.java 查看文件

@@ -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 {


+ 1
- 1
zhywpt-app-msgw/src/main/java/cn/com/taiji/msgw/dto/MessageSendDetailsRequestDto.java 查看文件

@@ -13,5 +13,5 @@ public class MessageSendDetailsRequestDto extends AbstractStaffBizRequestDTO {

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

+ 2
- 1
zhywpt-app-msgw/src/main/java/cn/com/taiji/msgw/dto/MessageSendDetailsResponseDto.java 查看文件

@@ -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 {


+ 1
- 1
zhywpt-app-msgw/src/main/java/cn/com/taiji/msgw/manager/messageWaitSend/MessageWaitSendManagerImpl.java 查看文件

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

Loading…
取消
儲存