结算数据添加一个财务共享单号字段

This commit is contained in:
lulz1 2024-04-02 13:37:58 +08:00
parent 8677651456
commit ff18fd425f
9 changed files with 100 additions and 38 deletions

View File

@ -70,7 +70,7 @@ public class OrderCarRecord extends OrderBaseRecord {
private String offlineCcomyCode; // 成本中心 private String offlineCcomyCode; // 成本中心
private String orderSource; // 预订来源线上/线下 private String orderSource; // 预订来源线上/线下
private String payAmount;//支付总金额 private String payAmount;//支付总金额
private String receiptsNumOrigin;//支付总金额
//添加行程信息 //添加行程信息
@ -173,10 +173,17 @@ public class OrderCarRecord extends OrderBaseRecord {
return this; return this;
} }
public OrderCarRecord loadComplianceInfoNot() {
this.setOverStandard("");
this.setOverStandardReason("");
return this;
}
// 加载关联订单信息 // 加载关联订单信息
public OrderCarRecord loadRelatedOrderInfo(Long orderDetailId, public OrderCarRecord loadRelatedOrderInfo(Long orderDetailId,
String detailId, String detailId,
String receiptsNum, String receiptsNum,
String receiptsNumOrigin,
String parentOrderNo, String parentOrderNo,
String originalOrderNo) { String originalOrderNo) {
this.setOrderDetailId(orderDetailId); this.setOrderDetailId(orderDetailId);
@ -184,6 +191,7 @@ public class OrderCarRecord extends OrderBaseRecord {
this.setReceiptsNum(receiptsNum); this.setReceiptsNum(receiptsNum);
this.setParentOrderNo(parentOrderNo); this.setParentOrderNo(parentOrderNo);
this.setOriginalOrderNo(originalOrderNo); this.setOriginalOrderNo(originalOrderNo);
this.setReceiptsNumOrigin(receiptsNumOrigin);
return this; return this;
} }
} }

View File

@ -78,6 +78,7 @@ public class OrderFlightRecord extends OrderBaseRecord {
private String offlineCcomyCode; // 成本中心 private String offlineCcomyCode; // 成本中心
private String orderStatus; private String orderStatus;
private String createTime; private String createTime;
private String receiptsNumOrigin;//原差旅申请单单号
// 加载基础订单信息 // 加载基础订单信息
public OrderFlightRecord loadBasicOrderInfo(String orderNo, public OrderFlightRecord loadBasicOrderInfo(String orderNo,
@ -210,16 +211,22 @@ public class OrderFlightRecord extends OrderBaseRecord {
// 加载违规信息 // 加载违规信息
public OrderFlightRecord loadComplianceInfo(OrderDetail orderDetail) { public OrderFlightRecord loadComplianceInfo(OrderDetail orderDetail) {
orderDetail.getETAEvent().ifPresentOrElse(it->{ orderDetail.getETAEvent().ifPresentOrElse(it -> {
this.setOverStandard(""); this.setOverStandard("");
this.setOverStandardReason(it.getExtension()); this.setOverStandardReason(it.getExtension());
},()->{ }, () -> {
this.setOverStandard(""); this.setOverStandard("");
this.setOverStandardReason(""); this.setOverStandardReason("");
}); });
return this; return this;
} }
public OrderFlightRecord loadComplianceInfoNot() {
this.setOverStandard("");
this.setOverStandardReason("");
return this;
}
// 加载未预订最低价原因 // 加载未预订最低价原因
public OrderFlightRecord loadNotLowReason(String notLowReason) { public OrderFlightRecord loadNotLowReason(String notLowReason) {
@ -231,6 +238,7 @@ public class OrderFlightRecord extends OrderBaseRecord {
public OrderFlightRecord loadRelatedOrderInfo(Long orderDetailId, public OrderFlightRecord loadRelatedOrderInfo(Long orderDetailId,
String detailId, String detailId,
String receiptsNum, String receiptsNum,
String receiptsNumOrigin,
String parentOrderNo, String parentOrderNo,
String originalOrderNo) { String originalOrderNo) {
this.setOrderDetailId(orderDetailId); this.setOrderDetailId(orderDetailId);
@ -238,6 +246,7 @@ public class OrderFlightRecord extends OrderBaseRecord {
this.setReceiptsNum(receiptsNum); this.setReceiptsNum(receiptsNum);
this.setParentOrderNo(parentOrderNo); this.setParentOrderNo(parentOrderNo);
this.setOriginalOrderNo(originalOrderNo); this.setOriginalOrderNo(originalOrderNo);
this.setReceiptsNumOrigin(receiptsNumOrigin);
return this; return this;
} }
} }

View File

@ -8,6 +8,8 @@ import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id; import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table; import org.springframework.data.relational.core.mapping.Table;
import java.util.Optional;
@Data @Data
@Table("order_hotel_record") @Table("order_hotel_record")
@NoArgsConstructor @NoArgsConstructor
@ -30,7 +32,7 @@ public class OrderHotelRecord extends OrderBaseRecord {
private String originalOrderNo; // 原始订单号 private String originalOrderNo; // 原始订单号
private String brandGroup; // 酒店品牌集团 private String brandGroup; // 酒店品牌集团
private String brandName; // 酒店品牌 private String brandName; // 酒店品牌
private int overStandard; // 是否违规超标 0否 1是 private String overStandard; // 是否违规超标 0否 1是
private String overStandardReason; // 违规原因超标原因 private String overStandardReason; // 违规原因超标原因
private String receiptsNum; // 关联申请单号 private String receiptsNum; // 关联申请单号
private String bookingName; // 预订人姓名 private String bookingName; // 预订人姓名
@ -45,7 +47,7 @@ public class OrderHotelRecord extends OrderBaseRecord {
private String hotelAddress; // 酒店地址 private String hotelAddress; // 酒店地址
private String hotelName; // 酒店名称 private String hotelName; // 酒店名称
private String includeAmount; // 含早情况XX份 private String includeAmount; // 含早情况XX份
private int isAgreement; // 是否协议酒店0否1是 private String isAgreement; // 是否协议酒店0否1是
private int paymentType; // 付款方式 0-公司统付 1-个人付 2-混付 private int paymentType; // 付款方式 0-公司统付 1-个人付 2-混付
private String orderAmount; // 订单总额 private String orderAmount; // 订单总额
private String companyAmount; // 企业统付总额 private String companyAmount; // 企业统付总额
@ -76,7 +78,7 @@ public class OrderHotelRecord extends OrderBaseRecord {
private String payAmount; // 支付总金额 private String payAmount; // 支付总金额
private String orderStatus; private String orderStatus;
private String createTime; private String createTime;
private String receiptsNumOrigin;//支付总金额
// 加载基础订单信息 // 加载基础订单信息
public OrderHotelRecord loadBasicOrderInfo(String orderNo, public OrderHotelRecord loadBasicOrderInfo(String orderNo,
String orderStatus, String orderStatus,
@ -168,12 +170,15 @@ public class OrderHotelRecord extends OrderBaseRecord {
} }
// 加载违规信息 // 加载违规信息
public OrderHotelRecord loadComplianceInfo(OrderDetail orderDetail) { public OrderHotelRecord loadComplianceInfo(Optional<OrderDetail> orderDetail) {
orderDetail.getETAEvent().ifPresentOrElse(it -> { orderDetail.ifPresentOrElse(it -> it.getETAEvent().ifPresentOrElse(orderEvent -> {
this.setOverStandard(1); this.setOverStandard("");
this.setOverStandardReason(it.getExtension()); this.setOverStandardReason(orderEvent.getExtension());
}, () -> { }, () -> {
this.setOverStandard(0); this.setOverStandard("");
this.setOverStandardReason("");
}), () -> {
this.setOverStandard("");
this.setOverStandardReason(""); this.setOverStandardReason("");
}); });
return this; return this;
@ -193,6 +198,7 @@ public class OrderHotelRecord extends OrderBaseRecord {
public OrderHotelRecord loadOrderNoInfo(Long orderDetailId, public OrderHotelRecord loadOrderNoInfo(Long orderDetailId,
String detailId, String detailId,
String receiptsNum, String receiptsNum,
String receiptsNumOrigin,
String parentOrderNo, String parentOrderNo,
String originalOrderNo) { String originalOrderNo) {
this.setOrderDetailId(orderDetailId); this.setOrderDetailId(orderDetailId);
@ -200,12 +206,13 @@ public class OrderHotelRecord extends OrderBaseRecord {
this.setReceiptsNum(receiptsNum); this.setReceiptsNum(receiptsNum);
this.setParentOrderNo(parentOrderNo); this.setParentOrderNo(parentOrderNo);
this.setOriginalOrderNo(originalOrderNo); this.setOriginalOrderNo(originalOrderNo);
this.setReceiptsNumOrigin(receiptsNumOrigin);
return this; return this;
} }
// 加载房间和早餐信息 // 加载房间和早餐信息
public OrderHotelRecord loadRoomAndBreakfastInfo(String includeAmount, public OrderHotelRecord loadRoomAndBreakfastInfo(String includeAmount,
int isAgreement, String isAgreement,
int roomNightCount, int roomNightCount,
int nightCount, int nightCount,
String roomPrice, String roomPrice,

View File

@ -71,7 +71,7 @@ public class OrderTrainRecord extends OrderBaseRecord{
private String passportType; // 乘客证件类型 private String passportType; // 乘客证件类型
private String trainTime; // 发车时间 yyyy-MM-dd HH:mm:ss private String trainTime; // 发车时间 yyyy-MM-dd HH:mm:ss
private String yxId; // 影像比对ID private String yxId; // 影像比对ID
private String receiptsNumOrigin;//原差旅申请单单号
// 加载基础订单信息 // 加载基础订单信息
public OrderTrainRecord loadBasicOrderInfo(Long id, String orderNo, String orderStatus, String createTime) { public OrderTrainRecord loadBasicOrderInfo(Long id, String orderNo, String orderStatus, String createTime) {
this.setId(id); this.setId(id);

View File

@ -35,6 +35,7 @@ public class TripSubmitItemList implements Serializable {
//父id //父id
private Integer lyRecordId; private Integer lyRecordId;
private Integer lyRecordKey; private Integer lyRecordKey;
//编码 //编码
private String code; private String code;

View File

@ -6,6 +6,7 @@ import com.chint.domain.aggregates.system.FsscSystem;
import com.chint.domain.value_object.UserLoginParam; import com.chint.domain.value_object.UserLoginParam;
import com.chint.infrastructure.constant.AuthMessageConstant; import com.chint.infrastructure.constant.AuthMessageConstant;
import com.chint.interfaces.rest.base.PostRequest; import com.chint.interfaces.rest.base.PostRequest;
import com.chint.interfaces.rest.user.PushUser;
import com.google.gson.Gson; import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken; import com.google.gson.reflect.TypeToken;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
@ -71,6 +72,7 @@ public class User implements Serializable {
this.employeeNo = employeeNo; this.employeeNo = employeeNo;
} }
// public User addDeptInfo(){ // public User addDeptInfo(){
// //
// } // }
@ -106,6 +108,8 @@ public class User implements Serializable {
this.companyCode = companyCode; this.companyCode = companyCode;
} }
public User addFssc(String CompanyName, String sysCode) { public User addFssc(String CompanyName, String sysCode) {
FsscSystem fsscSystem = new FsscSystem(CompanyName, sysCode); FsscSystem fsscSystem = new FsscSystem(CompanyName, sysCode);
this.addFsscSystemToList(fsscSystem); this.addFsscSystemToList(fsscSystem);
@ -184,4 +188,9 @@ public class User implements Serializable {
public String generateXNFsscUrlPath() { public String generateXNFsscUrlPath() {
return XN_FSSC_REDIRECT_PATH_APPROVAL_ONE + employeeNo + FSSC_REDIRECT_PATH_APPROVAL_TWO; return XN_FSSC_REDIRECT_PATH_APPROVAL_ONE + employeeNo + FSSC_REDIRECT_PATH_APPROVAL_TWO;
} }
// public User startAddDept(){
//
//
// }
} }

View File

@ -33,4 +33,7 @@ public class UserDepartmentInfo implements Serializable {
private String departmentCodeSeven; private String departmentCodeSeven;
private String departmentNameSeven; private String departmentNameSeven;
private Integer ifPrimary; private Integer ifPrimary;
// Builder static inner class
} }

View File

@ -146,29 +146,47 @@ public class CTripOrderRecordExtensionFactory implements OrderRecordExtensionFac
} }
// 加载超标信息, 加载订单关联信息 加载订单状态 单号创建时间等信息 // 加载超标信息, 加载订单关联信息 加载订单状态 单号创建时间等信息
// 当测试环境没有行程规划单 只能去回传的差旅申请单
String orderNo = getOrderNoForCTrip(cTripCarRecord.getRouteOrderNo());
orderDetail.ifPresentOrElse(it -> { orderDetail.ifPresentOrElse(it -> {
CarOrderDetail carOrderDetail = it.getCarOrderDetail(); CarOrderDetail carOrderDetail = it.getCarOrderDetail();
orderCarRecord.loadComplianceInfo(it) orderCarRecord.loadComplianceInfo(it)
.loadRelatedOrderInfo(it.getOrderId(), .loadRelatedOrderInfo(it.getOrderId(),
cTripCarRecord.getRecordId(), cTripCarRecord.getRecordId(),
byOrderNo.isPresent() ? byOrderNo.get().getApproveOrderNo().getActualOrderNo() : orderNo, //兼容测试环境和正式环境的数据
carOrderDetail.getReceiptsNum(), carOrderDetail.getReceiptsNum(),
carOrderDetail.getParentOrderNo(), carOrderDetail.getParentOrderNo(),
carOrderDetail.getOriginalOrderNo()) carOrderDetail.getOriginalOrderNo())
.loadBasicOrderInfo(carOrderDetail.getOrderNo(), .loadBasicOrderInfo(carOrderDetail.getOrderNo(),
carOrderDetail.getOrderStatus(), carOrderDetail.getOrderStatus(),
carOrderDetail.getCreateTime()); carOrderDetail.getCreateTime());
}, () -> orderCarRecord.loadRelatedOrderInfo(cTripCarRecordBase.getOrderId(), }, () -> orderCarRecord.loadComplianceInfoNot()
.loadRelatedOrderInfo(cTripCarRecordBase.getOrderId(),
cTripCarRecord.getRecordId(), cTripCarRecord.getRecordId(),
orderNo,
cTripCarRecord.getRouteOrderNo(), cTripCarRecord.getRouteOrderNo(),
String.valueOf(cTripCarRecordBase.getOrderId()), String.valueOf(cTripCarRecordBase.getOrderId()),
String.valueOf(cTripCarRecordBase.getOrderId())) String.valueOf(cTripCarRecordBase.getOrderId()))
.loadBasicOrderInfo( String.valueOf(cTripCarRecordBase.getOrderId()), .loadBasicOrderInfo(String.valueOf(cTripCarRecordBase.getOrderId()),
"", "",
cTripCarRecordBase.getCreateTime())); cTripCarRecordBase.getCreateTime()));
return orderCarRecord; return orderCarRecord;
} }
private String getOrderNoForCTrip(String inputOrderNo) {
// 当测试环境没有行程规划单 只能去回传的差旅申请单
String orderNo;
if (inputOrderNo.contains("-")) {
String[] split = inputOrderNo.split("-");
orderNo = split[1];
} else {
orderNo = inputOrderNo;
}
return orderNo;
}
@Override @Override
public OrderTrainRecord createTrainOrderRecord(Object orderTrainRecordData) { public OrderTrainRecord createTrainOrderRecord(Object orderTrainRecordData) {
@ -288,6 +306,7 @@ public class CTripOrderRecordExtensionFactory implements OrderRecordExtensionFac
cTripFlightBaseInfo.getDept3()); cTripFlightBaseInfo.getDept3());
// 加载关联票价原因 // 加载关联票价原因
String orderNo = getOrderNoForCTrip(cTripFlightRecord.getRouteOrderNo());
orderDetail.ifPresentOrElse(it -> { orderDetail.ifPresentOrElse(it -> {
FlightOrderDetail flightOrderDetail = it.getFlightOrderDetail(); FlightOrderDetail flightOrderDetail = it.getFlightOrderDetail();
orderFlightRecord.loadComplianceInfo(it) orderFlightRecord.loadComplianceInfo(it)
@ -296,11 +315,14 @@ public class CTripOrderRecordExtensionFactory implements OrderRecordExtensionFac
cTripFlightRecordBase.getCreateTime()) cTripFlightRecordBase.getCreateTime())
.loadRelatedOrderInfo(cTripFlightRecordBase.getOrderId(), .loadRelatedOrderInfo(cTripFlightRecordBase.getOrderId(),
String.valueOf(cTripFlightRecordBase.getRecordId()), String.valueOf(cTripFlightRecordBase.getRecordId()),
byOrderNo.isPresent() ? byOrderNo.get().getApproveOrderNo().getActualOrderNo() : orderNo, //兼容测试环境和正式环境的数据
flightOrderDetail.getReceiptsNum(), flightOrderDetail.getReceiptsNum(),
flightOrderDetail.getParentOrderNo(), flightOrderDetail.getParentOrderNo(),
it.getOrderNo()); it.getOrderNo());
}, () -> orderFlightRecord.loadRelatedOrderInfo(cTripFlightRecordBase.getOrderId(), //兼容测试环境没有申请单的情况 }, () -> orderFlightRecord.loadComplianceInfoNot()
.loadRelatedOrderInfo(cTripFlightRecordBase.getOrderId(), //兼容测试环境没有申请单的情况
String.valueOf(cTripFlightRecordBase.getRecordId()), String.valueOf(cTripFlightRecordBase.getRecordId()),
orderNo,
cTripFlightBaseInfo.getJourneyID(), cTripFlightBaseInfo.getJourneyID(),
String.valueOf(cTripFlightRecordBase.getOrderId()), String.valueOf(cTripFlightRecordBase.getOrderId()),
String.valueOf(cTripFlightRecordBase.getOrderId())) String.valueOf(cTripFlightRecordBase.getOrderId()))
@ -372,12 +394,12 @@ public class CTripOrderRecordExtensionFactory implements OrderRecordExtensionFac
// 加载房间和早餐信息 , 含早分数先为空 // 加载房间和早餐信息 , 含早分数先为空
String isAgreement; String isAgreement;
if (cTripHotelRecordBase.getOrderType().equals(4) || cTripHotelRecordBase.getOrderType().equals(6)) { if (cTripHotelRecordBase.getOrderType().equals(4) || cTripHotelRecordBase.getOrderType().equals(6)) {
isAgreement = "1"; isAgreement = "";
} else { } else {
isAgreement = "0"; isAgreement = "";
} }
orderHotelRecord.loadRoomAndBreakfastInfo("", orderHotelRecord.loadRoomAndBreakfastInfo("",
Integer.parseInt(isAgreement), isAgreement,
cTripHotelRecordBase.getQuantity(), cTripHotelRecordBase.getQuantity(),
cTripHotelRecordBase.getQuantity(), cTripHotelRecordBase.getQuantity(),
String.valueOf(cTripHotelRecordBase.getPrice()), String.valueOf(cTripHotelRecordBase.getPrice()),
@ -410,20 +432,23 @@ public class CTripOrderRecordExtensionFactory implements OrderRecordExtensionFac
} }
orderHotelRecord.loadSourceInfo(sourceInfo); orderHotelRecord.loadSourceInfo(sourceInfo);
String orderNo = getOrderNoForCTrip(cTripHotelRecord.getRouteOrderNo());
orderDetailOptional.ifPresentOrElse(it -> { orderDetailOptional.ifPresentOrElse(it -> {
orderHotelRecord.loadComplianceInfo(it); // 加载违规信息 orderHotelRecord.loadComplianceInfo(Optional.of(it)); // 加载违规信息
HotelOrderDetail hotelOrderDetail = it.getHotelOrderDetail(); HotelOrderDetail hotelOrderDetail = it.getHotelOrderDetail();
orderHotelRecord.loadOrderNoInfo(it.getOrderId(), // 加载订单关联号信息 orderHotelRecord.loadOrderNoInfo(it.getOrderId(), // 加载订单关联号信息
cTripHotelRecord.getRecordId(), cTripHotelRecord.getRecordId(),
byOrderNo.isPresent() ? byOrderNo.get().getApproveOrderNo().getActualOrderNo() : orderNo, //兼容测试环境和正式环境的数据
hotelOrderDetail.getReceiptsNum(), hotelOrderDetail.getReceiptsNum(),
hotelOrderDetail.getOrderNo(), hotelOrderDetail.getOrderNo(),
hotelOrderDetail.getOrderNo()); hotelOrderDetail.getOrderNo());
orderHotelRecord.loadBasicOrderInfo(hotelOrderDetail.getOrderNo(), // 加载基础订单信息 orderHotelRecord.loadBasicOrderInfo(hotelOrderDetail.getOrderNo(), // 加载基础订单信息
hotelOrderDetail.getOrderStatus(), hotelOrderDetail.getOrderStatus(),
cTripHotelRecordBase.getCreateTime()); cTripHotelRecordBase.getCreateTime());
}, () -> orderHotelRecord.loadOrderNoInfo(cTripHotelRecordBase.getOrderId(), //兼容测试环境不存在行程规划单的情况 // 加载订单关联号信息 }, () -> orderHotelRecord.loadComplianceInfo(Optional.empty())
.loadOrderNoInfo(cTripHotelRecordBase.getOrderId(), //兼容测试环境不存在行程规划单的情况 // 加载订单关联号信息
cTripHotelRecord.getRecordId(), cTripHotelRecord.getRecordId(),
orderNo,
cTripHotelRecord.getRouteOrderNo(), cTripHotelRecord.getRouteOrderNo(),
String.valueOf(cTripHotelRecordBase.getOrderId()), String.valueOf(cTripHotelRecordBase.getOrderId()),
String.valueOf(cTripHotelRecordBase.getOrderId())) String.valueOf(cTripHotelRecordBase.getOrderId()))
@ -432,8 +457,8 @@ public class CTripOrderRecordExtensionFactory implements OrderRecordExtensionFac
cTripHotelRecordBase.getCreateTime())); cTripHotelRecordBase.getCreateTime()));
// 加载财务信息 // 加载财务信息
orderHotelRecord.loadFinancialInfo(cTripHotelRecordBase.getSubAccCheckBatchNo(), orderHotelRecord.loadFinancialInfo(cTripHotelRecordBase.getBatchStartDate().substring(0, 6),
cTripHotelRecordBase.getBatchStartDate().substring(0, 6), cTripHotelRecordBase.getSubAccCheckBatchNo(),
String.valueOf(cTripHotelRecordBase.getAmount()), String.valueOf(cTripHotelRecordBase.getAmount()),
"", "",
cTripHotelRecordBase.getPaidAmount()); cTripHotelRecordBase.getPaidAmount());
@ -459,8 +484,8 @@ public class CTripOrderRecordExtensionFactory implements OrderRecordExtensionFac
// 加载预订人和入住人信息 // 加载预订人和入住人信息
orderHotelRecord.loadBookerAndGuestInfo(cTripHotelOrderDetail.getEmployeeID(), orderHotelRecord.loadBookerAndGuestInfo(cTripHotelOrderDetail.getEmployeeID(),
cTripHotelOrderDetail.getEmployeeName(), cTripHotelOrderDetail.getEmployeeName(),
cTripHotelOrderDetail.getEmployeeID(), cTripHotelOrderDetail.getEmployeeName(),
cTripHotelOrderDetail.getEmployeeName()); cTripHotelOrderDetail.getEmployeeID());
// 加载组织架构 // 加载组织架构
orderHotelRecord.loadOrganizationalAndProjectInfo(cTripHotelOrderDetail.getDept1(), orderHotelRecord.loadOrganizationalAndProjectInfo(cTripHotelOrderDetail.getDept1(),

View File

@ -168,7 +168,7 @@ public class LyOrderRecordExtensionFactory implements OrderRecordExtensionFactor
.setOriginalOrderNo(lyOrderHotelRecord.getOriginOrderSerialNo())//原始订单号 .setOriginalOrderNo(lyOrderHotelRecord.getOriginOrderSerialNo())//原始订单号
.setBrandGroup("") //酒店品牌集团 .setBrandGroup("") //酒店品牌集团
.setBrandName("") //酒店品牌 .setBrandName("") //酒店品牌
.setOverStandard("".equals(lyOrderHotelRecord.getOverStandardStatus()) ? 1 : 0) //"是否违规(超标) 0否,1是" .setOverStandard("".equals(lyOrderHotelRecord.getOverStandardStatus()) ? "1" : "0") //"是否违规(超标) 0否,1是"
.setOverStandardReason(lyOrderHotelRecord.getViolationReason()) //违规原因超标原因 .setOverStandardReason(lyOrderHotelRecord.getViolationReason()) //违规原因超标原因
.setReceiptsNum(lyOrderHotelRecord.getOutApplayOrderNo()) //关联申请单号 .setReceiptsNum(lyOrderHotelRecord.getOutApplayOrderNo()) //关联申请单号
.setUserName(lyOrderHotelRecord.getPassengerName()) //入住人姓名 .setUserName(lyOrderHotelRecord.getPassengerName()) //入住人姓名
@ -181,7 +181,7 @@ public class LyOrderRecordExtensionFactory implements OrderRecordExtensionFactor
.setHotelAddress(hotelOrderDetail.getHotelAddress()) //酒店地址 .setHotelAddress(hotelOrderDetail.getHotelAddress()) //酒店地址
.setHotelName(lyOrderHotelRecord.getHotelName()) //酒店名称 .setHotelName(lyOrderHotelRecord.getHotelName()) //酒店名称
.setIncludeAmount("") //含早情况XX份 .setIncludeAmount("") //含早情况XX份
.setIsAgreement("".equals(hotelOrderDetail.getAgreementHotel()) ? 1 : 0) //是否协议酒店0否1是 .setIsAgreement("".equals(hotelOrderDetail.getAgreementHotel()) ? "1" : "0") //是否协议酒店0否1是
.setPaymentType(getPaymentType(lyOrderHotelRecord.getPayType()))//"付款方式0-公司统付 1-个人付 2-混付" .setPaymentType(getPaymentType(lyOrderHotelRecord.getPayType()))//"付款方式0-公司统付 1-个人付 2-混付"
.setOrderAmount(String.valueOf(lyOrderHotelRecord.getToBePayAmount())) //结算总额 .setOrderAmount(String.valueOf(lyOrderHotelRecord.getToBePayAmount())) //结算总额
.setCompanyAmount(String.valueOf(lyOrderHotelRecord.getToBePayAmount())) //企业统付总额 .setCompanyAmount(String.valueOf(lyOrderHotelRecord.getToBePayAmount())) //企业统付总额