提醒规则管理菜单、销售订单流程中增加手工转办、手工加签接口
This commit is contained in:
@@ -35,9 +35,14 @@ public class MessageRemindrule extends BaseEntity {
|
||||
@ApiModelProperty("系统消息0,手机短信1")
|
||||
private Integer remindWay;*/
|
||||
|
||||
@ApiModelProperty("规则编码")
|
||||
private String ruleCode;
|
||||
@ApiModelProperty("提醒方式(事前提醒0,事后提醒1)")
|
||||
private Integer rules;
|
||||
@ApiModelProperty("提醒时间间隔")
|
||||
private Integer timeInterval;
|
||||
@ApiModelProperty("提醒次数,超过次数不提醒")
|
||||
private String frequency;
|
||||
@ApiModelProperty("提醒渠道")
|
||||
private String remindWay;
|
||||
}
|
||||
|
||||
@@ -24,13 +24,16 @@ import lombok.Data;
|
||||
@Data
|
||||
public class MessageRemindruleDto implements Dto {
|
||||
|
||||
|
||||
@ApiModelProperty("代码")
|
||||
private String sid;
|
||||
@ApiModelProperty("规则编码")
|
||||
private String ruleCode;
|
||||
|
||||
@ApiModelProperty("提前提醒0,超期循环提醒1,循环提醒2")
|
||||
@ApiModelProperty("提醒方式(事前提醒0,事后提醒1)")
|
||||
private Integer rules;
|
||||
|
||||
@ApiModelProperty("系统消息0,手机短信1")
|
||||
private Integer remindWay;
|
||||
@ApiModelProperty("提醒时间间隔")
|
||||
private Integer timeInterval;
|
||||
@ApiModelProperty("提醒次数,超过次数不提醒")
|
||||
private String frequency;
|
||||
@ApiModelProperty("提醒渠道")
|
||||
private String remindWay;
|
||||
private String remarks;
|
||||
}
|
||||
@@ -46,10 +46,23 @@ public interface MessageRemindruleFeign {
|
||||
@ApiOperation("新增保存")
|
||||
@PostMapping("/save")
|
||||
public ResultBean save(@RequestBody MessageRemindruleDto dto);
|
||||
|
||||
|
||||
@ApiOperation("保存修改")
|
||||
@PostMapping("/saveRules")
|
||||
public ResultBean saveRules(@RequestBody MessageRemindruleDto dto);
|
||||
|
||||
@ApiOperation("详情编辑回显")
|
||||
@GetMapping("/detail/{sid}")
|
||||
public ResultBean<MessageRemindruleInitVo> detail(@PathVariable("sid") String sid);
|
||||
|
||||
@ApiOperation("批量删除")
|
||||
@DeleteMapping("/deleteBySids")
|
||||
@ResponseBody
|
||||
public ResultBean deleteBySids(@RequestBody String[] sids);
|
||||
|
||||
@ApiOperation("修改保存")
|
||||
@PostMapping("/update/{sid}")
|
||||
public ResultBean update(@RequestBody MessageRemindruleDto dto,@PathVariable("sid") String sid);
|
||||
public ResultBean update(@RequestBody MessageRemindruleDto dto, @PathVariable("sid") String sid);
|
||||
|
||||
@ApiOperation("删除记录")
|
||||
@GetMapping("/del/{ids}")
|
||||
@@ -58,8 +71,8 @@ public interface MessageRemindruleFeign {
|
||||
@ApiOperation("获取一条记录")
|
||||
@GetMapping("/fetch/{id}")
|
||||
public ResultBean<MessageRemindruleVo> fetch(@PathVariable("id") String id);
|
||||
|
||||
@ApiOperation("获取一条记录")
|
||||
|
||||
@ApiOperation("获取一条记录")
|
||||
@GetMapping("/fetchSid/{sid}")
|
||||
public ResultBean<MessageRemindrule> fetchBySid(@PathVariable("sid") String sid);
|
||||
}
|
||||
@@ -45,8 +45,23 @@ public class MessageRemindruleFeignFallback implements MessageRemindruleFeign {
|
||||
public ResultBean save(MessageRemindruleDto dto){
|
||||
return ResultBean.fireFail().setMsg("接口message-center/messageremindrule/save无法访问");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@Override
|
||||
public ResultBean saveRules(MessageRemindruleDto dto) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ResultBean<MessageRemindruleInitVo> detail(String sid) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ResultBean deleteBySids(String[] sids) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ResultBean update(MessageRemindruleDto dto,String sid){
|
||||
return ResultBean.fireFail().setMsg("接口message-center/messageremindrule/update无法访问");
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
package com.yxt.messagecenter.api.messageremindrule;
|
||||
|
||||
import com.yxt.common.core.vo.Vo;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description
|
||||
* @date 2023/10/26 14:19
|
||||
*/
|
||||
@Data
|
||||
public class MessageRemindruleInitVo implements Vo {
|
||||
private String sid;
|
||||
@ApiModelProperty("规则编码")
|
||||
private String ruleCode;
|
||||
@ApiModelProperty("提醒方式(事前提醒0,事后提醒1)")
|
||||
private Integer rules;
|
||||
@ApiModelProperty("提醒时间间隔")
|
||||
private Integer timeInterval;
|
||||
@ApiModelProperty("提醒次数,超过次数不提醒")
|
||||
private String frequency;
|
||||
@ApiModelProperty("提醒渠道")
|
||||
private String remindWay;
|
||||
private String remarks;
|
||||
}
|
||||
@@ -24,13 +24,9 @@ import lombok.Data;
|
||||
@Data
|
||||
public class MessageRemindruleQuery implements Query {
|
||||
|
||||
|
||||
@ApiModelProperty("代码")
|
||||
|
||||
@ApiModelProperty("规则编码")
|
||||
private String ruleCode;
|
||||
|
||||
@ApiModelProperty("提前提醒0,超期循环提醒1,循环提醒2")
|
||||
@ApiModelProperty("提醒方式(事前提醒0,事后提醒1)")
|
||||
private Integer rules;
|
||||
|
||||
@ApiModelProperty("系统消息0,手机短信1")
|
||||
private Integer remindWay;
|
||||
}
|
||||
|
||||
@@ -24,13 +24,16 @@ import lombok.Data;
|
||||
@Data
|
||||
public class MessageRemindruleVo implements Vo {
|
||||
|
||||
|
||||
@ApiModelProperty("代码")
|
||||
private String sid;
|
||||
@ApiModelProperty("规则编码")
|
||||
private String ruleCode;
|
||||
|
||||
@ApiModelProperty("提前提醒0,超期循环提醒1,循环提醒2")
|
||||
@ApiModelProperty("提醒方式(事前提醒0,事后提醒1)")
|
||||
private Integer rules;
|
||||
|
||||
@ApiModelProperty("系统消息0,手机短信1")
|
||||
private Integer remindWay;
|
||||
@ApiModelProperty("提醒时间间隔")
|
||||
private Integer timeInterval;
|
||||
@ApiModelProperty("提醒次数,超过次数不提醒")
|
||||
private String frequency;
|
||||
@ApiModelProperty("提醒渠道")
|
||||
private String remindWay;
|
||||
private String remarks;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user