Commit 2c507875 authored by yanzg's avatar yanzg

SQL层级处理的支持

parent 4f400fb5
......@@ -82,6 +82,17 @@ public class MessageVo extends BaseVo implements InitDao {
public MessageVo() {
}
/**
* 构造函数
*
* @param exchangeNameRouteKey 交换器名称+路由键
* @param message 消息内容
*/
public MessageVo(String exchangeNameRouteKey, String message) {
this(exchangeNameRouteKey, exchangeNameRouteKey, message);
}
/**
* 构造函数
*
......@@ -95,6 +106,17 @@ public class MessageVo extends BaseVo implements InitDao {
this.message = message;
}
/**
* 构造函数
*
* @param exchangeNameRouteKey 交换器名称+路由键
* @param message 消息内容
* @param dedTime 过期时间
*/
public MessageVo(String exchangeNameRouteKey, String message, long dedTime) {
this(exchangeNameRouteKey, exchangeNameRouteKey, message, dedTime);
}
/**
* 构造函数
*
......@@ -110,6 +132,17 @@ public class MessageVo extends BaseVo implements InitDao {
this.dedTime = dedTime;
}
/**
* 构造函数
*
* @param exchangeNameRouteKey 交换器名称+路由键
* @param message 消息内容
* @param dedTime 过期时间
*/
public MessageVo(String exchangeNameRouteKey, String message, long dedTime, boolean dedTimeDefine) {
this(exchangeNameRouteKey, exchangeNameRouteKey, message, dedTime, dedTimeDefine);
}
/**
* 构造函数
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment