销售订单移动端完善+排产申请添加消息
This commit is contained in:
@@ -59,4 +59,8 @@ public interface MessageFeign {
|
||||
public ResultBean<String> saveOrUpdateAppMessage(@RequestBody AppMessageDto dto);
|
||||
|
||||
/**********************************************************************************************/
|
||||
|
||||
@ApiOperation("移动端流程审批推送消息")
|
||||
@PostMapping("/getMessage")
|
||||
ResultBean<String> getMessage(@RequestBody MessageFlowableDto dto);
|
||||
}
|
||||
@@ -53,4 +53,9 @@ public class MessageFeignFallback implements MessageFeign {
|
||||
ResultBean rb = ResultBean.fireFail();
|
||||
return rb.setMsg("接口message-center/message/saveOrUpdateAppMessage无法访问");
|
||||
}
|
||||
|
||||
@Override
|
||||
public ResultBean<String> getMessage(MessageFlowableDto dto) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
package com.yxt.messagecenter.api.message;
|
||||
|
||||
import com.yxt.common.core.dto.Dto;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2022/8/12 8:55
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class MessageFlowableDto implements Dto {
|
||||
private static final long serialVersionUID = 2368293589170415803L;
|
||||
|
||||
@ApiModelProperty("接收人的sid集合")
|
||||
private List<String> list = new ArrayList<>();
|
||||
@ApiModelProperty("消息标题")
|
||||
private String msgTitle;
|
||||
@ApiModelProperty("消息内容")
|
||||
private String msgContent;
|
||||
|
||||
@ApiModelProperty("json组装")
|
||||
private MessageJsonDto json;
|
||||
@ApiModelProperty("创建人名称")
|
||||
private String createName;
|
||||
@ApiModelProperty("接收人的id集合")
|
||||
private List<String> receiveIdList;
|
||||
|
||||
@ApiModelProperty("模块名称")
|
||||
private String moduleName;
|
||||
|
||||
@ApiModelProperty("具体页面的url")
|
||||
private String moduleAction;
|
||||
|
||||
@ApiModelProperty("业务sid")
|
||||
private String businessSid;
|
||||
|
||||
@ApiModelProperty("0.内置Activity 1.内置WebView 2.RePlugin插件")
|
||||
private String app_type;
|
||||
|
||||
@ApiModelProperty("插件sid")
|
||||
private String moduleSid;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package com.yxt.messagecenter.api.message;
|
||||
|
||||
import com.yxt.common.core.dto.Dto;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2022/8/12 10:19
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class MessageJsonDto implements Dto {
|
||||
private static final long serialVersionUID = -7733499156217768470L;
|
||||
@ApiModelProperty("移动端页面地址#号后的数字集合")
|
||||
private int[] buttons = {};
|
||||
@ApiModelProperty("任务id")
|
||||
private String taskId;
|
||||
@ApiModelProperty("节点名称")
|
||||
private String taskName;
|
||||
@ApiModelProperty("流程实例id")
|
||||
private String procInsId;
|
||||
@ApiModelProperty("节点id")
|
||||
private String taskDefKey;
|
||||
|
||||
@ApiModelProperty("app中特殊参数")
|
||||
private Map<String, Object> appMap = new HashMap<>();
|
||||
|
||||
|
||||
}
|
||||
@@ -37,11 +37,11 @@ import java.util.List;
|
||||
public interface MessageListFeign {
|
||||
|
||||
@ApiOperation("根据条件分页查询未读消息列表")
|
||||
@PostMapping(value="/noreadListPage")
|
||||
@PostMapping(value = "/noreadListPage")
|
||||
public ResultBean<PagerVo<MessageListJoinMsgVo>> noreadListPage(@RequestBody PagerQuery<MessageListQuery> pq);
|
||||
|
||||
@ApiOperation("根据条件分页查询已读消息列表")
|
||||
@PostMapping(value="/readListPage")
|
||||
@PostMapping(value = "/readListPage")
|
||||
public ResultBean<PagerVo<MessageListJoinMsgVo>> readListPage(@RequestBody PagerQuery<MessageListQuery> pq);
|
||||
|
||||
@ApiOperation("所有数据列表")
|
||||
@@ -60,14 +60,6 @@ public interface MessageListFeign {
|
||||
@GetMapping("/del/{ids}")
|
||||
public ResultBean del(@PathVariable("ids") String ids);
|
||||
|
||||
/* @ApiOperation("获取一条记录")
|
||||
@GetMapping("/fetch/{id}")
|
||||
public ResultBean<MessageListVo> fetch(@PathVariable("id") String id);
|
||||
|
||||
@ApiOperation("获取一条记录")
|
||||
@GetMapping("/fetchSid/{sid}")
|
||||
public ResultBean<MessageList> fetchBySid(@PathVariable("sid") String sid);*/
|
||||
|
||||
@ApiOperation("获取一条记录")
|
||||
@GetMapping("/fetchByMsgSid/{sid}")
|
||||
public ResultBean<Message> fetchByMsgSid(@PathVariable("sid") String sid);
|
||||
@@ -100,7 +92,7 @@ public interface MessageListFeign {
|
||||
@ApiOperation("获取待阅数量")
|
||||
@GetMapping("/selectUnReadCount")
|
||||
public ResultBean<Integer> selectUnReadCount(@RequestParam(value = "msgTypeSid", required = false) String msgTypeSid,
|
||||
@RequestParam("userSid") String userSid);
|
||||
@RequestParam("userSid") String userSid);
|
||||
|
||||
/********************************************************手机端接口*********************************************************/
|
||||
|
||||
@@ -114,7 +106,7 @@ public interface MessageListFeign {
|
||||
|
||||
@ApiOperation("手机端用户根据消息类型批量设为已读")
|
||||
@PostMapping("/updateAppReadByType")
|
||||
public ResultBean updateAppReadByType(@RequestParam ("msgTypeSid") String msgTypeSid, @RequestParam ("userSid") String userSid);
|
||||
public ResultBean updateAppReadByType(@RequestParam("msgTypeSid") String msgTypeSid, @RequestParam("userSid") String userSid);
|
||||
|
||||
/****************************************************************************************************************************/
|
||||
}
|
||||
Reference in New Issue
Block a user