Commit cfcd4a9b by fudahua

同步优化初步3-同步成员

parent 4bc4a57e
......@@ -112,6 +112,7 @@ public class ClerkSyncOperation implements BaseSyncOperation {
@Override
public void dealException(String taskId, String dataId, String enterpriseId, String reason) {
logger.info("成员处理失败:t:{},d:{}", taskId, dataId);
boolean b = preDealService.updateStatusByDataId(taskId, dataId, PreDealStatusEnum.exception.getVal());
if (!b) {
logger.info("成员处理异常:t:{}, d:{}", taskId, dataId);
......@@ -123,6 +124,7 @@ public class ClerkSyncOperation implements BaseSyncOperation {
@Override
public void dealSuccess(String taskId, String dataId, String enterpriseId, String wxEnterpriseId) {
logger.info("成员处理成功:t:{},d:{}", taskId, dataId);
boolean b = preDealService.updateStatusByDataId(taskId, dataId, PreDealStatusEnum.computed.getVal());
if (!b) {
logger.info("成功修改错误!{}", dataId);
......
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