问题修改

This commit is contained in:
God
2023-02-28 15:44:35 +08:00
parent b522f1b0ad
commit 7cefb28c72
11 changed files with 150 additions and 2 deletions

View File

@@ -36,6 +36,9 @@ public class MessageFlowableDto implements Dto {
@ApiModelProperty("具体页面的url")
private String moduleAction;
@ApiModelProperty("PC具体页面的url")
private String moduleAction2;
@ApiModelProperty("业务sid")
private String businessSid;

View File

@@ -25,6 +25,8 @@ public class MessageJsonDto implements Dto {
private String procInsId;
@ApiModelProperty("节点id")
private String taskDefKey;
@ApiModelProperty("流程定义id")
private String deployId;
@ApiModelProperty("app中特殊参数")
private Map<String, Object> appMap = new HashMap<>();

View File

@@ -1,5 +1,6 @@
package com.yxt.messagecenter.api.messagelist;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yxt.common.core.query.PagerQuery;
import com.yxt.common.core.result.ResultBean;
import com.yxt.common.core.vo.PagerVo;
@@ -8,6 +9,7 @@ import com.yxt.messagecenter.api.messagelist.app.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
@@ -111,4 +113,8 @@ public interface MessageListFeign {
@ApiOperation("手机端待阅已阅")
@PostMapping("/getAppReadListByUserSid")
public ResultBean<PagerVo<MessageReadListVo>> getAppReadListByUserSid(@RequestBody PagerQuery<MessageReadListQuery> pq);
@ApiOperation("PC端待阅已阅列表")
@PostMapping("/todoAllReadList")
public ResultBean<PagerVo<MessageReadListPCVo>> todoAllReadList(@RequestBody PagerQuery<MessageReadListQuery> pq);
}

View File

@@ -120,4 +120,9 @@ public class MessageListFeignFallback implements MessageListFeign {
public ResultBean<PagerVo<MessageReadListVo>> getAppReadListByUserSid(PagerQuery<MessageReadListQuery> pq) {
return null;
}
@Override
public ResultBean<PagerVo<MessageReadListPCVo>> todoAllReadList(PagerQuery<MessageReadListQuery> pq) {
return null;
}
}

View File

@@ -0,0 +1,46 @@
package com.yxt.messagecenter.api.messagelist;
import com.yxt.common.core.vo.Vo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* @Author dimengzhe
* @Date 2023/2/20 16:35
* @Description
*/
@Data
public class MessageReadListPCVo implements Vo {
private static final long serialVersionUID = -6064144224800959448L;
@ApiModelProperty("消息列表sid")
private String sid;
@ApiModelProperty("消息体sid")
private String msgSid;
@ApiModelProperty("消息标题")
private String msgTitle;
@ApiModelProperty("发送时间")
private String sendTime;
//发送人
private String senderName;
//发送人部门
private String senderDeptName;
//来源
private String msgSource;
//消息类别Sid
private String msgTypeSid;
private String taskDefKey;
private String procInsId;
private String taskName;
private String taskId;
private String procDefId;
private String businessSid;
private String argsJson;
}

View File

@@ -19,6 +19,10 @@ public class MessageReadListQuery implements Query {
private String orgPath;
@ApiModelProperty("0 待阅 1 已阅")
private String state;
@ApiModelProperty("工作名称")
private String names;
@ApiModelProperty("发起开始日期")
private String createStartTime;
@ApiModelProperty("发起结束日期")
private String createEndTime;
}