Commit b43593ea by 陶光胜

修改门店分组上级刷新es

parent 8aa6ad71
......@@ -158,6 +158,10 @@ public class StoreGroupApiServiceImpl implements StoreGroupApiService {
//刷新缓存
refreshRedisCache(storeGroupId);
List<StoreGroupDTO> listChidrend = this.listStoreGroupAndChildren(storeGroupParentId).getResult();
for(StoreGroupDTO dto : listChidrend){
this.storeApiService.refreshStoreIndex(storeGroupDTO.getEnterpriseId(), dto.getStoreGroupId());
}
}
} else {
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "一级分组不需要修改上级分组");
......
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