Commit 4bf722af authored by yanzg's avatar yanzg

修改实例化关系

parent a8418235
...@@ -45,7 +45,8 @@ public class MessagePlan extends BaseVo { ...@@ -45,7 +45,8 @@ public class MessagePlan extends BaseVo {
return 0; return 0;
} }
long time = System.currentTimeMillis() - this.getStart(); long time = System.currentTimeMillis() - this.getStart();
return this.message.getDedTime() - time; long dedTime = this.message.getDedTime() - time;
return Math.max(dedTime, 0);
} }
public MessageVo getMessage() { public MessageVo getMessage() {
......
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