|
|
@@ -779,12 +779,13 @@ public class InstitutionService {
|
|
|
var detailReq = new AlipayEbppInvoiceInstitutionDetailinfoQueryRequest();
|
|
|
detailReq.setBizModel(detailModel);
|
|
|
var detailResp = alipayClientFactory.getClient(existing.getEnterpriseId()).execute(detailReq);
|
|
|
- if (detailResp.isSuccess() && detailResp.getStandardIdInfoList() != null) {
|
|
|
+ if (detailResp.isSuccess() && detailResp.getStandardInfoDetailList() != null) {
|
|
|
String periodFactor = mapPeriodTypeToFactor(existing.getPeriodType());
|
|
|
java.util.List<com.payment.platform.core.alipay.ExtendedInstitutionModifyModel.ModifyStandardItem>
|
|
|
modifyList = new java.util.ArrayList<>();
|
|
|
- for (com.alipay.api.domain.StandardIdInfo info : detailResp.getStandardIdInfoList()) {
|
|
|
- if (info.getStandardId() == null) continue;
|
|
|
+ for (com.alipay.api.domain.StandardInfo info : detailResp.getStandardInfoDetailList()) {
|
|
|
+ String stdId = info.getStandardId();
|
|
|
+ if (stdId == null) continue;
|
|
|
java.util.List<com.payment.platform.core.alipay.ExtendedInstitutionModifyModel.ModifyCondition>
|
|
|
condList = new java.util.ArrayList<>();
|
|
|
if (amountChanged && periodFactor != null) {
|
|
|
@@ -801,7 +802,7 @@ public class InstitutionService {
|
|
|
}
|
|
|
if (!condList.isEmpty()) {
|
|
|
var item = new com.payment.platform.core.alipay.ExtendedInstitutionModifyModel.ModifyStandardItem();
|
|
|
- item.setStandardId(info.getStandardId());
|
|
|
+ item.setStandardId(stdId);
|
|
|
item.setModifyConditionList(condList);
|
|
|
modifyList.add(item);
|
|
|
}
|