移动端分公司调车
This commit is contained in:
@@ -63,4 +63,8 @@ public interface MessageFeign {
|
||||
@ApiOperation("移动端流程审批推送消息")
|
||||
@PostMapping("/getMessage")
|
||||
ResultBean<String> getMessage(@RequestBody MessageFlowableDto dto);
|
||||
|
||||
@ApiOperation("流程审批推送消息")
|
||||
@PostMapping("/pushMessage")
|
||||
ResultBean<String> pushMessage(@RequestBody MessageFlowableQuery query);
|
||||
}
|
||||
@@ -58,4 +58,9 @@ public class MessageFeignFallback implements MessageFeign {
|
||||
public ResultBean<String> getMessage(MessageFlowableDto dto) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ResultBean<String> pushMessage(MessageFlowableQuery query) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.yxt.messagecenter.api.message;
|
||||
|
||||
import com.yxt.common.core.vo.Vo;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2022/8/25 15:58
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class MessageFlowVo implements Vo {
|
||||
|
||||
private String sid;
|
||||
private String procDefId;
|
||||
private String nodeState;
|
||||
private String procInsId;
|
||||
private String taskDefKey;
|
||||
private String taskId;
|
||||
private String nextNodeUserSids;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package com.yxt.messagecenter.api.message;
|
||||
|
||||
import com.yxt.common.core.query.Query;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2022/8/25 15:12
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class MessageFlowableQuery implements Query {
|
||||
private static final long serialVersionUID = 3618558867479892211L;
|
||||
@ApiModelProperty("业务sid")
|
||||
private String businessSid;
|
||||
@ApiModelProperty("模块名称")
|
||||
private String moduleName;
|
||||
@ApiModelProperty("消息内容")
|
||||
private String msgContent;
|
||||
@ApiModelProperty("消息标题")
|
||||
private String msgTitle;
|
||||
@ApiModelProperty("流程相关参数")
|
||||
private MessageFlowVo ufVo;
|
||||
@ApiModelProperty("app所需参数")
|
||||
private Map<String,Object> appMap;
|
||||
@ApiModelProperty("申请人")
|
||||
private String applicationName;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user