辅营对象赋值
2023-05-10 14:49:05 0 举报
AI智能生成
个人文件
作者其他创作
大纲/内容
IsGetEarning
RefSerialid
BookingSerialid
Channel
CustomerSerialid
IsInsuranceSplit
UnionNo
OrderCreateDate
CustomerShouldPay
ChannelTypeDes
PaySucDate
CompanyId
MemberId
CommissionAmount
CommissionRate
SettleDate
SettleMode
InnerSaleOrderSerialId
SettlePeriod
DistributorOrderSerialId
DistributorCustomerId
DistributorAccountingMode
SaleType
FrontEndTags
ConfirmIdentifier
MagicBoxRefSerialId
IsTest
OrderType
OrderSource
marks
CurrencyType
ExchangeRate
ProjectSource
OrderInfo(订单信息)
CommodityType
Guid
RefGuid
Num
CommodityDetail
PackageType
ItemGuid
Resources产品行
CustomerOrderDto
HTTP推送字段
ActualPayPrice
ShouldPayPrice
CreateTime
UpdateTime
CustomerName
CustomerTel
DiscountPrice
FlightOrderSerialNo
OrderSerialNo
OrderStatus
PayTime
Scope
MagicBoxMarketNo
DepartureId
DepartureName
Discount
DiscountType
FlightItemId
FlightPassengerId
FlightSegmentId
MerchantId
MerchantName
PassengerName
ProductType
QRCode
SalePrice
SkuCode
SkuName
SpuCode
SpuName
Status
SupplierPrice
TicketOutDate
TicketOutState
ValidEndTime
ValidStartTime
ConfirmState
ConfirmDate
IsModify
MarketPrice
SkuProp
RightsNum
CouponId
PayAccount
PaymentType
PayAgentNo
SupplierPaymentInfo
UseOrderNumber
Price
ItemCategory
ItemSubCategory
CommuteCardSubItemDetails
ProductItems
辅营详情
AppendSerialid
辅营详情:OrderSerialNo
Serialid
NotifyUrl
默认(辅营:4)
默认(辅营无改签:0)
辅营详情内OrderType判断 OrderType == 1 ? 0 : 1
辅营详情:GetProjectCode()通过辅营详情的Scope判断《Scope==50 || 60 那么ProjectSource为15》、《Scope==70 那么ProjectSource为17》、《Scope==1 那么ProjectSource为2、否则为1》
辅营详情:MagicBoxMarketNo
辅营详情:.OrderType == 3 ? ProductItems.First().SettleMode : 0
辅营详情:DistributorCustomerId
辅营详情:DistributorOrderSerialId
辅营详情:SettleDate
辅营详情:ProductItems.First().CompanyId
辅营详情:PayTime
默认空
辅营详情:IsTest
辅营详情:ShouldPayPrice
辅营详情:CreateTime
辅营详情:FlightOrderSerialNo
辅营详情:Channel
ResourceCode
SaleAmount
CouponName
根据项目来源与ProductItems.ProductType转换为产品码ProductItems.GetFinanceProductType(ProjectSource)
辅营详情:ProductItems.RightsNum大于0使用RightsNum否则使用Num
辅营详情:ProductItems.ProductType
辅营详情:ProductItems.CompanyId
辅营详情:ProductItems.SpuCode
辅营详情:ProductItems.SalePrice
辅营详情:ProductItems.CouponId
辅营详情:ProductItems.SkuName
默认:CNY
默认:1.0
辅营详情:ProductItems通过统一配置内的资源码和Spu过滤无需销售单的产品
MQ拉取
子主题
DB对象赋值
SerialId
Identifier
CustomerOrderSerialId
CustomerSaleTypeEnum.Default
低价预约订单修改SaleType《待核实》
CustomerType
OrderCreateTime
ReceiptCreateTime
AccountingMode
ExternalOrderSerialId
InnerSupplierSerialid
InnserSerialid
MainProduct
MainSpuCode
RefIdentifier
辅营单售非改签且非保险资源时,设置盲盒订单号(AuxiliaryCustomerTradeInfoHandler)
设置SaleRefId
SaleRefId
SaleRefId等于空或者SaleRefId和销售取单一致的情况SaleRefId设置为CCT
UnionOrderSerialId
CheckOrderRefundIdentifier
AirportBuildFee
FuelTax
FlightPrice
NumOfProduct
ResourceCompanyId
TicketHandleAmount
DeductAmount
ChangeSignAmount
BeforeDeductAmount
PackageCategory
FreeGiveSaleAmount
CustomerOrderDetails
identifierHelper.GetResourceAccountingMode(item.First().CompanyId)
item.Sum(o => o.CommodityDetailInfo.BulidFee)
item.Sum(o => o.CommodityDetailInfo.TaxFee)
item.Sum(o => o.CommodityDetailInfo.SysTicketPrice)
item.Sum(p => p.Num) > 0 ? item.Sum(p => p.Num) : item.Count()
item.FirstOrDefault()?.CompanyId.StrToInt(0) ?? 0
item.Sum(o => o.SaleAmount)
默认0
item.Key.PackageCategory
item.Sum(o => o.FreeGiveSaleAmount)
item.FirstOrDefault()?.ResourceCode
OrderRefSerialId
ConfigMarks
FinanceApi《PaySuccessRequest》Old赋值
CustomerOrderDto.SerialId
financeclear生成
CustomerOrderDto.OrderInfo.CustomerSerialid
CustomerOrderDto.OrderInfo.OrderSource
CustomerOrderDto.OrderInfo.OrderType
默认:CustomerTypeEnum.BulkGuest
CustomerOrderDto.OrderInfo.IsTest == 1
CustomerOrderDto.OrderInfo.OrderCreateDate
当前时间
CustomerOrderDto.OrderInfo.CustomerShouldPay
CustomerOrderDto.OrderInfo.CompanyId
CustomerOrderDto.OrderInfo.Channel
CustomerOrderDto.OrderInfo.CommissionAmount
CustomerOrderDto.OrderInfo.CommissionRate
CustomerOrderDto.OrderInfo.SettleDate
CustomerOrderDto.OrderInfo.SettleMode
默认:OrderAccountingModeEnum.Default
通过CustomerOrderDto.Resources获取GetMainProduct()如果包含机票则直接使用机票作为主产品码、不包含的情况Resources的CommodityType都等于9的情况使用9,否则过滤Resources包含9的资源取第一个资源的CommodityType
通过CustomerOrderDto.Resources获取GetMainProduct()如果包含机票或者Resources的CommodityType都等于9的情况使用空字符串,否则过滤Resources包含9的资源取第一个资源的ResourceCode
CustomerOrderDto.OrderInfo.SettlePeriod.IsEmpty() ? \"YDYJ\" : request.OrderInfo.SettlePeriod
CustomerOrderDto.OrderInfo.UnionNo
CustomerOrderDto.OrderInfo.CurrencyType
CustomerOrderDto.OrderInfo.ExchangeRate
CustomerOrderDto.OrderInfo.ProjectSource
概要过滤虚拟支付产品根据CommodityType和PackageCategory打包产品进行GroupBy
AuxiliaryCustomerMarksHandler设置辅营标签
PullAuxiliaryProductConfig(搭售拉取构建销售单、结算单、核销单)
搭售
PullAuxiliaryCustomerProductConfig(单售拉取构建销售单推送金蟾)
PullAuxiliarySupplierProductConfig(单售拉取构建结算单推送金蟾)
PullAuxiliaryConfirmProductConfig(单售拉取构建核销单推送金蟾)
FilterCustomerAuxiliaryProductType(单售过滤无需销售单的资源)
FilterSpuCode(单售过滤无需销售单的SpuCode)
单售
拉取配置
VirtualProductMonitorConfig(是否虚拟产品【用于监控且不推送金蟾】)
FuelCardSettingCouponIdAndCouponName(获取燃油次卡需要设置CouponId和CouponName的产品)
InsuranceResourceTypes(是否保险产品)
统一配置
销售单
结算单
辅营老产品切拉取
收藏
收藏
0 条评论
回复 删除
下一页