SELECT ID, CustomerID, WareHouseID, Transport_API_ID, TransportName, IsRegistered, OrderCount, DeclarationPriceRate, SortBy, IsActive, AddTime, CASE TransportType WHEN 0 THEN '空运' WHEN 1 THEN '海运' WHEN 2 THEN '陆运' WHEN 4 THEN '快递' WHEN 5 THEN '邮政小包' WHEN 6 THEN '专线小包' END AS TransportType, ChuKouYiType, DefaultSupplierID, TransportNameEn, TheWareHouseID, IsPrintDeclare, AliExpressTransport, SVCountry, WareHouseAddress, IsPrepayTariff, DHGgateTransport, OverseaDeliveryWay, OverseaDeliveryWayText, OverseaDeliveryInsure, IsOverseaHasNum, IsInptutVolumeWeight, AliExpressTransportURL, CarrierName, WishTransport, WareHouseIDs, AmazonCarrier, AmazonTransport, TwoSortingExportNum, IsDeclarationPriceRate, IsFixedPrice, FixedDeclarationPrice, TransitType, IncomeType, PMSTransport, TransportState, FloatingDeclarationPriceState, FloatingDeclarationPriceMax, FloatingDeclarationPriceMin, UpdateTime, TransferType, ApiServiceState, DeclareRuleID, PrintType, InvoiceType, TransferAttribute, HasUseNewServer, PrintSpec, ApiPrintCode, Templable, Tempdeclare, TempInvoice, ApiServiceCode, TrackingNumberValidDays, AllowPrint, AllowLogistPrint, ClearService, EnableWeightSize, LengthSize, WidthSize, HightSize, PerimeterSize, WeightSize, TemplateLableType, DeclareLableType, E_TransportID, DefaultLableID, InvoiceLabelID, IsPrintPickingOrder, CASE PreferenceType WHEN 1 THEN '国内直发优选' WHEN 2 THEN '备货头程优选' WHEN 3 THEN '直发和备货优选' END AS PreferenceType, SettlementSupplierID, CustomLength, CustomWidth, CustomHeight, CASE OverseaLogisticsType WHEN 1 THEN '物流方式' WHEN 2 THEN '自提方式' END AS OverseaLogisticsType, IsSpecifyArrivalTime, DeliverCostWeightLimit, IsAutoCalcTax, AutoCalcTaxPercent, OutStockWaitDays, TrackNumbersIsNaturalDay, OutStockIsNaturalDay, DeliverBoxWeightLimit, IsGetTransferNumber, IsSplitLable, TaxRateDeclareRuleID, AllowTurnPrint, CASE TransferTypeExpand WHEN 1 THEN '海运_普船' WHEN 2 THEN '陆运_卡航' WHEN 3 THEN '陆运_铁路' WHEN 7 THEN '海运_快船' END AS TransferTypeExpand, CASE IsTaxIncluded WHEN 1 THEN '包' WHEN 0 THEN '否' END IsTaxIncluded, StarRocksUpdateTime FROM rb_transport
SELECT
ID,
CustomerID,
WareHouseID,
Transport_API_ID,
TransportName,
IsRegistered,
OrderCount,
DeclarationPriceRate,
SortBy,
IsActive,
AddTime,
CASE TransportType
WHEN 0 THEN '空运'
WHEN 1 THEN '海运'
WHEN 2 THEN '陆运'
WHEN 4 THEN '快递'
WHEN 5 THEN '邮政小包'
WHEN 6 THEN '专线小包'
END AS TransportType,
ChuKouYiType,
DefaultSupplierID,
TransportNameEn,
TheWareHouseID,
IsPrintDeclare,
AliExpressTransport,
SVCountry,
WareHouseAddress,
IsPrepayTariff,
DHGgateTransport,
OverseaDeliveryWay,
OverseaDeliveryWayText,
OverseaDeliveryInsure,
IsOverseaHasNum,
IsInptutVolumeWeight,
AliExpressTransportURL,
CarrierName,
WishTransport,
WareHouseIDs,
AmazonCarrier,
AmazonTransport,
TwoSortingExportNum,
IsDeclarationPriceRate,
IsFixedPrice,
FixedDeclarationPrice,
TransitType,
IncomeType,
PMSTransport,
TransportState,
FloatingDeclarationPriceState,
FloatingDeclarationPriceMax,
FloatingDeclarationPriceMin,
UpdateTime,
TransferType,
ApiServiceState,
DeclareRuleID,
PrintType,
InvoiceType,
TransferAttribute,
HasUseNewServer,
PrintSpec,
ApiPrintCode,
Templable,
Tempdeclare,
TempInvoice,
ApiServiceCode,
TrackingNumberValidDays,
AllowPrint,
AllowLogistPrint,
ClearService,
EnableWeightSize,
LengthSize,
WidthSize,
HightSize,
PerimeterSize,
WeightSize,
TemplateLableType,
DeclareLableType,
E_TransportID,
DefaultLableID,
InvoiceLabelID,
IsPrintPickingOrder,
CASE PreferenceType
WHEN 1 THEN '国内直发优选'
WHEN 2 THEN '备货头程优选'
WHEN 3 THEN '直发和备货优选'
END AS PreferenceType,
SettlementSupplierID,
CustomLength,
CustomWidth,
CustomHeight,
CASE OverseaLogisticsType
WHEN 1 THEN '物流方式'
WHEN 2 THEN '自提方式'
END AS OverseaLogisticsType,
IsSpecifyArrivalTime,
DeliverCostWeightLimit,
IsAutoCalcTax,
AutoCalcTaxPercent,
OutStockWaitDays,
TrackNumbersIsNaturalDay,
OutStockIsNaturalDay,
DeliverBoxWeightLimit,
IsGetTransferNumber,
IsSplitLable,
TaxRateDeclareRuleID,
AllowTurnPrint,
CASE TransferTypeExpand
WHEN 1 THEN '海运_普船'
WHEN 2 THEN '陆运_卡航'
WHEN 3 THEN '陆运_铁路'
WHEN 7 THEN '海运_快船'
END AS TransferTypeExpand,
CASE IsTaxIncluded
WHEN 1 THEN '包'
WHEN 0 THEN '否'
END IsTaxIncluded,
StarRocksUpdateTime
FROM rb_transport