Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git-hook
Project
Project
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
叶剑飞
git-hook
Commits
bcc05566
Commit
bcc05566
authored
Apr 19, 2018
by
叶剑飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
alter bug
parent
5da846bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
GitlabMergeRequestService.java
...java/com/chainself/service/GitlabMergeRequestService.java
+4
-1
No files found.
src/main/java/com/chainself/service/GitlabMergeRequestService.java
View file @
bcc05566
...
...
@@ -40,6 +40,9 @@ public class GitlabMergeRequestService {
public
void
syncAfterMaxId
()
{
Long
maxid
=
getMaxMqid
();
if
(
maxid
==
-
1
)
{
return
;
}
System
.
out
.
println
(
"maxid="
+
maxid
);
List
<
Object
[]>
dataList
=
gitlabMergeRequestDao
.
listAfterMaxid
(
maxid
);
List
<
GitlabMergeRequest
>
mqList
=
dataList
.
stream
().
map
(
data
->
{
...
...
@@ -113,8 +116,8 @@ public class GitlabMergeRequestService {
}
catch
(
Exception
e
)
{
// TODO Auto-generated catch block
e
.
printStackTrace
();
return
-
1L
;
}
return
0
l
;
}
public
static
void
postHttp
(
JSONObject
param
)
{
...
...
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