Commit 61182a3c by 穆龙飞

modify:add log

parent 581ed2d1
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
*/ */
package com.netease.mail.yanxuan.change.biz.service; package com.netease.mail.yanxuan.change.biz.service;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
...@@ -23,6 +24,7 @@ import com.netease.mail.yanxuan.change.dal.meta.model.req.ChangeFlowRequest; ...@@ -23,6 +24,7 @@ import com.netease.mail.yanxuan.change.dal.meta.model.req.ChangeFlowRequest;
* @Date 2022/12/8 * @Date 2022/12/8
*/ */
@Component @Component
@Slf4j
public class DESExportService { public class DESExportService {
@Autowired @Autowired
...@@ -43,6 +45,8 @@ public class DESExportService { ...@@ -43,6 +45,8 @@ public class DESExportService {
callbackQueryParam.setCallbackBeanName("changeFlowExportCallback"); callbackQueryParam.setCallbackBeanName("changeFlowExportCallback");
callbackQueryParam.setLimit(appConfig.getExportLimit()); callbackQueryParam.setLimit(appConfig.getExportLimit());
taskReq.setCallbackQueryParam(callbackQueryParam); taskReq.setCallbackQueryParam(callbackQueryParam);
return desClient.addTask(taskReq); String desResult = desClient.addTask(taskReq);
log.info("create task result: {}", desResult);
return desResult;
} }
} }
\ No newline at end of file
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