Commit 6db33892 authored by mcb's avatar mcb

no message

parent 69644f84
...@@ -190,7 +190,7 @@ public class OfflineSynchController { ...@@ -190,7 +190,7 @@ public class OfflineSynchController {
* @return * @return
*/ */
@ApiOperation(value = "编辑离线任务数据", notes = "编辑离线任务数据") @ApiOperation(value = "编辑离线任务数据", notes = "编辑离线任务数据")
@PostMapping(value = "/addSyncTask") @PostMapping(value = "/updateSyncTask")
public JsonResult updateSyncTask(@RequestBody @Validated SyncDmpTaskAddReq syncDmpTaskAddReq) throws Exception { public JsonResult updateSyncTask(@RequestBody @Validated SyncDmpTaskAddReq syncDmpTaskAddReq) throws Exception {
JsonResult list = offlineSynchService.updateSyncTask(syncDmpTaskAddReq); JsonResult list = offlineSynchService.updateSyncTask(syncDmpTaskAddReq);
return list; return list;
......
...@@ -443,6 +443,7 @@ public class OfflineSynchServiceImpl implements OfflineSynchService { ...@@ -443,6 +443,7 @@ public class OfflineSynchServiceImpl implements OfflineSynchService {
if (reqParam.size() > 0 && reqParam != null) { if (reqParam.size() > 0 && reqParam != null) {
JsonResult jsonResult = addSyncing(reqParam); JsonResult jsonResult = addSyncing(reqParam);
DmpDevelopTask data = (DmpDevelopTask) jsonResult.getData(); DmpDevelopTask data = (DmpDevelopTask) jsonResult.getData();
//保存规则信息
saveRuleInfo(result, reqParam, jsonResult, String.valueOf(data.getId())); saveRuleInfo(result, reqParam, jsonResult, String.valueOf(data.getId()));
} }
return new JsonResult(ResultCode.SUCCESS, result); return new JsonResult(ResultCode.SUCCESS, result);
......
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