Skip to content

Commit

Permalink
Merge pull request ltsopensource#365 from lusong1986/lusong
Browse files Browse the repository at this point in the history
修复重复代码和controller 方法名
  • Loading branch information
qq254963746 authored Jul 26, 2017
2 parents 402e457 + 74824a7 commit 14e9c9c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public RestfulResponse delNodeGroup(NodeGroupRequest request) {
}

@RequestMapping("node-onoffline-log-get")
public RestfulResponse delNodeGroup(NodeOnOfflineLogPaginationReq request) {
public RestfulResponse getNodeOnofflineLog(NodeOnOfflineLogPaginationReq request) {
RestfulResponse response = new RestfulResponse();
Long results = appContext.getBackendNodeOnOfflineLogAccess().count(request);
response.setResults(results.intValue());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public static JobPo convert(Job job) {
jobPo.setPriority(job.getPriority());
jobPo.setTaskId(job.getTaskId());
jobPo.setRealTaskId(jobPo.getTaskId());
jobPo.setRealTaskId(jobPo.getTaskId());
jobPo.setGmtCreated(SystemClock.now());
jobPo.setGmtModified(jobPo.getGmtCreated());
jobPo.setSubmitNodeGroup(job.getSubmitNodeGroup());
Expand Down

0 comments on commit 14e9c9c

Please sign in to comment.