Commit 4e76f9ec by guojuxing

联合商户保存数据引用

parent a34cd3d3
......@@ -64,6 +64,17 @@ import com.gic.store.service.StoreAuthorizationApiService;
@Import(value = InitPopupConfig.class)
public class UnionEnterpriseAuthApiServiceImpl implements UnionEnterpriseAuthApiService{
private static Logger LOGGER = LogManager.getLogger(UnionEnterpriseAuthApiServiceImpl.class);
/**
* 联合商户引用类型
*/
private static final Integer REFER_UNION_ENTERPRISE = 11;
/**
* 资源组引用
*/
private static final Integer REFER_RESOURCE = 5;
@Autowired
private UnionEnterpriseAuthService unionEnterpriseAuthService;
@Autowired
......@@ -585,9 +596,9 @@ public class UnionEnterpriseAuthApiServiceImpl implements UnionEnterpriseAuthApi
PopupDTO popupDTO = new PopupDTO();
popupDTO.setBusinessId(Long.valueOf(businessId));
popupDTO.setBusinessName("联合商户");
popupDTO.setBusinessType(12);
popupDTO.setBusinessType(REFER_UNION_ENTERPRISE);
popupDTO.setRelationBusinessIdList(new RelationBusinessInfoDTO(11, Long.valueOf(resourceGroupId)));
popupDTO.setRelationBusinessIdList(new RelationBusinessInfoDTO(REFER_RESOURCE, Long.valueOf(resourceGroupId)));
ServiceResponse response = PopupUtil.savePopupLog(popupDTO);
LOGGER.info("联合商户保存数据引用结果:{}", JSON.toJSONString(response));
}
......
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