fix:签证增加加急回写

This commit is contained in:
lulz1 2024-07-11 12:46:25 +08:00
parent c944f77cd1
commit 735241eae1
2 changed files with 6 additions and 1 deletions

View File

@ -57,6 +57,7 @@ public class LegRes {
private String legApprovalStatusName; private String legApprovalStatusName;
private String currencyType; private String currencyType;
private String locationNameList; private String locationNameList;
private String extension;
private List<LocationRes> otherLocationList; private List<LocationRes> otherLocationList;
private List<OrderDetail> orderDetails; //这个属性不做持久化保存 根据下单事件进行获取 private List<OrderDetail> orderDetails; //这个属性不做持久化保存 根据下单事件进行获取
@ -85,6 +86,9 @@ public class LegRes {
} }
legRes.setOtherLocationList(locationResList); legRes.setOtherLocationList(locationResList);
} }
if (legExtensionField.getExtension() != null) {
legRes.setExtension(legExtensionField.getExtension());
}
} }
if (leg.getCurrencyType() != null) { if (leg.getCurrencyType() != null) {
legRes.setCurrencyType(leg.getCurrencyType().getCode()); legRes.setCurrencyType(leg.getCurrencyType().getCode());
@ -105,6 +109,7 @@ public class LegRes {
StringBuilder sb = getStringBuilder(leg, originLocation, destinationLocation); StringBuilder sb = getStringBuilder(leg, originLocation, destinationLocation);
legRes.setLocationNameList(sb.toString()); legRes.setLocationNameList(sb.toString());
return legRes; return legRes;
} }

View File

@ -473,7 +473,7 @@ public class OrderQuery {
Integer amountType = legExtensionField.getAmountType(); Integer amountType = legExtensionField.getAmountType();
if (amountType != null && amountType.equals(LEG_OTHER_AMOUNT_TYPE_VISA)) { if (amountType != null && amountType.equals(LEG_OTHER_AMOUNT_TYPE_VISA)) {
scheduleDetailBuilder.amountDescription(legExtensionField.getExtension() + scheduleDetailBuilder.amountDescription(legExtensionField.getExtension() +
" 理由:" + " 理由:" +
legExtensionField.getExpenseExplanation()); legExtensionField.getExpenseExplanation());
} }
} }