|
@@ -119,6 +119,25 @@ public class InstitutionService {
|
|
|
.atOffset(java.time.ZoneOffset.UTC));
|
|
.atOffset(java.time.ZoneOffset.UTC));
|
|
|
}
|
|
}
|
|
|
vo.setConsultMode(queryResponse.getConsultMode());
|
|
vo.setConsultMode(queryResponse.getConsultMode());
|
|
|
|
|
+
|
|
|
|
|
+ // 补全本地DB字段(支付宝不返回 amount、singleLimit、applicableScope 等)
|
|
|
|
|
+ ExpenseInstitutionEntity local = institutionMapper.selectOne(
|
|
|
|
|
+ new LambdaQueryWrapper<ExpenseInstitutionEntity>()
|
|
|
|
|
+ .eq(ExpenseInstitutionEntity::getInstitutionId, institutionId));
|
|
|
|
|
+ if (local != null) {
|
|
|
|
|
+ vo.setAmount(local.getAmount());
|
|
|
|
|
+ vo.setSingleLimit(local.getSingleLimit());
|
|
|
|
|
+ vo.setApplicableScope(local.getApplicableScope());
|
|
|
|
|
+ vo.setGrantMode(local.getGrantMode());
|
|
|
|
|
+ vo.setPeriodType(local.getPeriodType());
|
|
|
|
|
+ vo.setEffectiveTimeType(local.getEffectiveTimeType());
|
|
|
|
|
+ vo.setMultiEmployeeShareMode(local.getMultiEmployeeShareMode());
|
|
|
|
|
+ vo.setEnterpriseId(local.getEnterpriseId());
|
|
|
|
|
+ vo.setTenantId(local.getTenantId());
|
|
|
|
|
+ vo.setStatus(local.getStatus());
|
|
|
|
|
+ vo.setExpenseSubType(local.getExpenseSubType());
|
|
|
|
|
+ vo.setCurrency(local.getCurrency());
|
|
|
|
|
+ }
|
|
|
return vo;
|
|
return vo;
|
|
|
}
|
|
}
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|