Commit 327130b2 by tiger

更新时间

1 parent 66eab1a2
...@@ -170,6 +170,8 @@ public class SopInstNodeExecuteJobHandler { ...@@ -170,6 +170,8 @@ public class SopInstNodeExecuteJobHandler {
// 刷新实例快照 // 刷新实例快照
SopInst inst = sop.getInst(); SopInst inst = sop.getInst();
inst.setInstSnapshot(snapshot); inst.setInstSnapshot(snapshot);
inst.setUpdateTime(new Date());
node.setDailyCount(ObjectUtil.defaultIfNull(node.getDailyCount(), 0) + 1); node.setDailyCount(ObjectUtil.defaultIfNull(node.getDailyCount(), 0) + 1);
SopXxlJobUtil.log(log, "【执行Sop节点】【{}:{}】,节点已执行次数:{}!", sop.getInst().getInstId(), sop.getInst().getInstName(), node.getDailyCount()); SopXxlJobUtil.log(log, "【执行Sop节点】【{}:{}】,节点已执行次数:{}!", sop.getInst().getInstId(), sop.getInst().getInstName(), node.getDailyCount());
...@@ -187,6 +189,7 @@ public class SopInstNodeExecuteJobHandler { ...@@ -187,6 +189,7 @@ public class SopInstNodeExecuteJobHandler {
nodeBatch.setSnapshot(snapshot); nodeBatch.setSnapshot(snapshot);
nodeBatch.setUpdateTime(new Date()); nodeBatch.setUpdateTime(new Date());
} }
sopService.updateNodeBatch(inst, node, batch, nodeBatch); sopService.updateNodeBatch(inst, node, batch, nodeBatch);
} }
......
...@@ -538,6 +538,7 @@ public class AdminController { ...@@ -538,6 +538,7 @@ public class AdminController {
@RequestMapping(value = "/flowTree/getDatas") @RequestMapping(value = "/flowTree/getDatas")
@ResponseBody @ResponseBody
public FlowTree getDatas() throws ClassNotFoundException, IOException { public FlowTree getDatas() throws ClassNotFoundException, IOException {
// TODO 查询模板列表
return new FlowTree(null); return new FlowTree(null);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!