Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyuan
byit-myth-job
Commits
a866ca24
Commit
a866ca24
authored
May 28, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
规范日志输出
parent
23405ffe
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
7 deletions
+4
-7
ApiFlowServiceImpl.java
...c/main/java/com/byit/service/impl/ApiFlowServiceImpl.java
+3
-1
FlowStatusSnapshootServiceImpl.java
...com/byit/service/impl/FlowStatusSnapshootServiceImpl.java
+1
-1
TestController.java
...ent/src/main/java/com/byit/controller/TestController.java
+0
-5
No files found.
byit-myth-admin/src/main/java/com/byit/service/impl/ApiFlowServiceImpl.java
View file @
a866ca24
...
...
@@ -434,12 +434,14 @@ public class ApiFlowServiceImpl implements ApiFlowService {
Flow
flow
=
flowMapper
.
getByWorkSpaceAndName
(
workspaceId
,
pluginFlow
.
getName
());
//判断是否是重发
//是重发
if
(
pluginFlow
.
isRePublish
()
&&
!
isInner
){
if
(!
isInner
){
if
(
pluginFlow
.
isRePublish
()){
ValidationUtil
.
dataNotNull
(
flow
,
"工作流【"
+
pluginFlow
.
getName
()
+
"】不存在!"
);
}
else
{
//不是重发
ValidationUtil
.
isTrueValidation
(
null
!=
flow
,
"工作流【"
+
pluginFlow
.
getName
()
+
"】已存在!"
);
}
}
}
/**
* 重跑任务
...
...
byit-myth-core/myth-admin-core/src/main/java/com/byit/service/impl/FlowStatusSnapshootServiceImpl.java
View file @
a866ca24
...
...
@@ -32,7 +32,7 @@ public class FlowStatusSnapshootServiceImpl implements FlowStatusSnapshootServic
public
void
removeAndSaveSnapshoot
(
List
<
FlowStatusSnapshoot
>
allFlow
)
{
if
(
CollectionUtil
.
isEmpty
(
allFlow
))
{
log
.
info
(
"-----------------无需快照插入-------------------"
);
log
.
debug
(
"-----------------无需快照插入-------------------"
);
return
;
}
//获取当天的日期
...
...
demo-client/byit-plugin-client/src/main/java/com/byit/controller/TestController.java
View file @
a866ca24
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
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
@RestController
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment