1.同程打车数据 设值修改

This commit is contained in:
wanglf3 2024-03-18 08:58:36 +08:00
parent 1548c8318e
commit 1d5d69a862
1 changed files with 7 additions and 1 deletions

View File

@ -654,9 +654,15 @@ public class LYOrderExtensionFactoryImpl implements OrderExtensionFactory {
carOrderDetail.setUserName(carOrderDetailInfo.getContactName());
carOrderDetail.setUserCode(carOrderDetailInfo.getOutEmployeeId());
carOrderDetail.setPhone(carOrderDetailInfo.getContactPhone());
carOrderDetail.setPersonalPaymentAmount(String.valueOf(carOrderDetailInfo.getPersonalPrice()));
carOrderDetail.setCompanyPaymentAmount(String.valueOf(carOrderDetailInfo.getCompanyPrice()));
carOrderDetail.setPaymentType(String.valueOf(carOrderDetailInfo.getPayType())); //
if (Double.valueOf(carOrderDetail.getCompanyPaymentAmount()) > 0){
carOrderDetail.setPaymentType("0"); //
}else {
carOrderDetail.setPaymentType("1"); //
}
}
carOrderDetail.setReceiptsNum(routeOrder.getRouteOrderNo());