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

alter maxid error.

parent 32c94cb1
...@@ -105,8 +105,9 @@ public class GitlabMergeRequestService { ...@@ -105,8 +105,9 @@ public class GitlabMergeRequestService {
try { try {
Response resp = FastHttpClient.get().url(url).build().execute(); Response resp = FastHttpClient.get().url(url).build().execute();
System.out.println("max id=" + StringUtil.getNullLong(resp.body().string())); Long maxid = StringUtil.getNullLong(resp.body().string());
return StringUtil.getNullLong(resp.body().string()); System.out.println("max id=" + maxid);
return maxid;
} catch (Exception e) { } catch (Exception e) {
// TODO Auto-generated catch block // TODO Auto-generated catch block
e.printStackTrace(); e.printStackTrace();
......
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