Commit a866ca24 by huangfusuper

规范日志输出

parent 23405ffe
...@@ -434,12 +434,14 @@ public class ApiFlowServiceImpl implements ApiFlowService { ...@@ -434,12 +434,14 @@ public class ApiFlowServiceImpl implements ApiFlowService {
Flow flow = flowMapper.getByWorkSpaceAndName(workspaceId, pluginFlow.getName()); Flow flow = flowMapper.getByWorkSpaceAndName(workspaceId, pluginFlow.getName());
//判断是否是重发 //判断是否是重发
//是重发 //是重发
if (pluginFlow.isRePublish() && !isInner){ if (!isInner){
if (pluginFlow.isRePublish()){
ValidationUtil.dataNotNull(flow, "工作流【"+ pluginFlow.getName() + "】不存在!"); ValidationUtil.dataNotNull(flow, "工作流【"+ pluginFlow.getName() + "】不存在!");
}else {//不是重发 }else {//不是重发
ValidationUtil.isTrueValidation(null != flow, "工作流【"+ pluginFlow.getName() + "】已存在!"); ValidationUtil.isTrueValidation(null != flow, "工作流【"+ pluginFlow.getName() + "】已存在!");
} }
} }
}
/** /**
* 重跑任务 * 重跑任务
......
...@@ -32,7 +32,7 @@ public class FlowStatusSnapshootServiceImpl implements FlowStatusSnapshootServic ...@@ -32,7 +32,7 @@ public class FlowStatusSnapshootServiceImpl implements FlowStatusSnapshootServic
public void removeAndSaveSnapshoot(List<FlowStatusSnapshoot> allFlow) { public void removeAndSaveSnapshoot(List<FlowStatusSnapshoot> allFlow) {
if(CollectionUtil.isEmpty(allFlow)) { if(CollectionUtil.isEmpty(allFlow)) {
log.info("-----------------无需快照插入-------------------"); log.debug("-----------------无需快照插入-------------------");
return; return;
} }
//获取当天的日期 //获取当天的日期
......
package com.byit.controller; package com.byit.controller;
import com.alibaba.fastjson.JSON;
import com.byit.packet.request.PluginRpcRequestPacket;
import com.byit.packet.response.PluginRpcResponsePacket;
import com.byit.param.defaultparam.DefaultResultCallback;
import com.byit.service.TestService; import com.byit.service.TestService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
@RestController @RestController
......
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