Commit 052aca7f by 程裕兵

feat:sync store id

parent fd23f793
......@@ -464,6 +464,15 @@ public class AxfServiceImpl implements AxfService {
public void storeCallback(StoreEvent event) {
OpenStateEnums state = OpenStateEnums.getByCode(event.getState());
if (OpenStateEnums.PROCESS == state && StringUtils.isNotEmpty(event.getShopId())) {
StudioAxfApply apply = studioAxfApplyRpService.getLatestOneByMerchantId(event.getMerchantId(),
AxfStateEnums.STORE_PROCESS);
studioAxfApplyRpService.updateById(
StudioAxfApply.builder().id(apply.getId()).shopId(event.getShopId()).build());
return;
}
if (OpenStateEnums.SUCCESS != state && OpenStateEnums.FAIL != state) {
return;
}
......
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