1.同程打车数据 设值修改
This commit is contained in:
parent
1548c8318e
commit
1d5d69a862
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue