Commit a0888e4b authored by yanzg's avatar yanzg

修改MQ请求尸体,防止出错

parent 5a74f063
...@@ -68,7 +68,7 @@ public class MessageServiceImpl implements MessageService { ...@@ -68,7 +68,7 @@ public class MessageServiceImpl implements MessageService {
public String send(MessageVo req, boolean now) { public String send(MessageVo req, boolean now) {
if (!StringHelper.isEmpty(req.getHandleTime())) { if (!StringHelper.isEmpty(req.getHandleTime())) {
long dedTime = DateHelper.getDateTime(req.getHandleTime()).getTime() - System.currentTimeMillis(); long dedTime = DateHelper.getDateTime(req.getHandleTime()).getTime() - System.currentTimeMillis();
req.setDedTime(dedTime); req.setDedTime((int) dedTime);
// req.setDedTimeDefine(false); // req.setDedTimeDefine(false);
// return messageDao.save(req); // return messageDao.save(req);
} }
......
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