Commit bcc05566 authored by 叶剑飞's avatar 叶剑飞

alter bug

parent 5da846bb
......@@ -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 0l;
}
public static void postHttp(JSONObject param) {
......
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