Commit 186978d4 zshaohui

超过1分钟 可以分配物料

1 个父辈 41b20c7b
...@@ -486,7 +486,7 @@ public class DataLog extends BasePo implements Serializable { ...@@ -486,7 +486,7 @@ public class DataLog extends BasePo implements Serializable {
*/ */
public boolean needRemoveFromCache(){ public boolean needRemoveFromCache(){
if(isFinished() || isCancel()){ if(isFinished() || isCancel()){
if(System.currentTimeMillis() - super.getUpdateDate().getTime() > 5 * 60 * 1000){ if(System.currentTimeMillis() - super.getUpdateDate().getTime() > 1 * 60 * 1000){
return true; return true;
} }
} }
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!