|
|
@@ -620,22 +620,22 @@ public class CorpEventActionServiceImpl implements CorpEventActionService {
|
|
|
postData(callback, corpCustomerAcquisitionLinkPopularize.getAddEvent());
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- if (corpCustomerAcquisitionLinkPopularize.getDelayedPost()) {
|
|
|
- CorpCustomerAcquistionCallback corpCustomerAcquistionCallback =
|
|
|
- corpCustomerAcquistionCallbackMapper.selectOne(Wrappers.lambdaQuery(CorpCustomerAcquistionCallback.class).eq(CorpCustomerAcquistionCallback::getCallback, callback).eq(CorpCustomerAcquistionCallback::getUnionId, unionId));
|
|
|
- if (corpCustomerAcquistionCallback == null) {
|
|
|
- corpCustomerAcquistionCallback = new CorpCustomerAcquistionCallback();
|
|
|
- }
|
|
|
- corpCustomerAcquistionCallback.setCallback(callback);
|
|
|
- corpCustomerAcquistionCallback.setEvent(corpCustomerAcquisitionLinkPopularize.getEvent());
|
|
|
- corpCustomerAcquistionCallback.setUnionId(unionId);
|
|
|
- if (corpCustomerAcquistionCallback.getId() != null) {
|
|
|
- corpCustomerAcquistionCallbackMapper.updateById(corpCustomerAcquistionCallback);
|
|
|
- } else {
|
|
|
- corpCustomerAcquistionCallbackMapper.insert(corpCustomerAcquistionCallback);
|
|
|
- }
|
|
|
+ // 是否延后回传都记录,只看是否直接回传.
|
|
|
+ CorpCustomerAcquistionCallback corpCustomerAcquistionCallback =
|
|
|
+ corpCustomerAcquistionCallbackMapper.selectOne(Wrappers.lambdaQuery(CorpCustomerAcquistionCallback.class).eq(CorpCustomerAcquistionCallback::getCallback, callback).eq(CorpCustomerAcquistionCallback::getUnionId, unionId));
|
|
|
+ if (corpCustomerAcquistionCallback == null) {
|
|
|
+ corpCustomerAcquistionCallback = new CorpCustomerAcquistionCallback();
|
|
|
}
|
|
|
+ corpCustomerAcquistionCallback.setCallback(callback);
|
|
|
+ corpCustomerAcquistionCallback.setEvent(corpCustomerAcquisitionLinkPopularize.getEvent());
|
|
|
+ corpCustomerAcquistionCallback.setUnionId(unionId);
|
|
|
+ corpCustomerAcquistionCallback.setStatus(!corpCustomerAcquisitionLinkPopularize.getDelayedPost());
|
|
|
+ if (corpCustomerAcquistionCallback.getId() != null) {
|
|
|
+ corpCustomerAcquistionCallbackMapper.updateById(corpCustomerAcquistionCallback);
|
|
|
+ } else {
|
|
|
+ corpCustomerAcquistionCallbackMapper.insert(corpCustomerAcquistionCallback);
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
return null;
|