20240120-ljl-routeConfig
ljl 10 months ago
parent d7d533b895
commit 0bf7e358b6

@ -64,6 +64,8 @@ class RedisKeyConst {
const mallAllRouteReqStatListHeapUpWarningFlag = 'mall_all_route_req_stat_list_heap_up_warning_flag';
const waybillPrintDetailGetHashMap = 'waybill_print_detail_get_hash_map';
public static function getQueueRedisKey($queueName, $isAdminSelf) {
if ($isAdminSelf) {
return ($queueName . '_self');

@ -87,35 +87,35 @@ class OrderPrintTool{
public static function formartOrderDetailNv($orderDetail) {
$nvMap = array(
'order_id' => 'orderId',
'order_sn' => 'orderSn',
'order_status' => 'orderStatus',
'order_status_name' => 'orderStatusName',
'pay_type' => 'payType',
'goods_amount' => 'goodsAmount',
'pay_amount' => 'payAmount',
'freePostage' => 'freePostage',
'discount_amount' => 'discountAmount',
'platform_discount' => 'platformDiscount',
'seller_discount' => 'sellerDiscount',
'capital_free_discount' => 'capitalFreeDiscount',
'created_time' => 'orderStartTime',
'confirm_time' => 'confirmTime',
'receive_time' => 'receiveTime',
'shipping_time' => 'shippingTime',
'updated_at' => 'modified',
'last_ship_time' => 'lastShipTime',
'remark' => 'sellerMemo',
'seller_note' => 'sellerNote',
'remark_tag' => 'remarkTag',
'buyer_memo' => 'buyerMemo',
'tracking_number' => 'waybillCode',
'print_express_status' => 'printExpressStatus',
'print_invoice_status' => 'printInvoiceStatus',
'gmt_print_express' => 'gmtPrintExpress',
'gmt_print_invoice' => 'gmtPrintInvoice',
'gmt_create' => 'gmtCreate',
'goodsList' => 'items'
'orderId' => 'orderId',
'orderSn' => 'orderSn',
'orderStatus' => 'orderStatus',
'orderStatusName' => 'orderStatusName',
'payType' => 'payType',
'goodsAmount' => 'goodsAmount',
'payAmount' => 'payAmount',
'freePostage' => 'freePostage',
'discountAmount' => 'discountAmount',
'platformDiscount' => 'platformDiscount',
'sellerDiscount' => 'sellerDiscount',
'capitalFreeDiscount' => 'capitalFreeDiscount',
'createdTime' => 'orderStartTime',
'confirmTime' => 'confirmTime',
'receiveTime' => 'receiveTime',
'shippingTime' => 'shippingTime',
'updatedAt' => 'modified',
'lastShipTime' => 'lastShipTime',
'remark' => 'sellerMemo',
'sellerNote' => 'sellerNote',
'remarkTag' => 'remarkTag',
'buyerMemo' => 'buyerMemo',
'trackingNumber' => 'waybillCode',
'printExpressStatus' => 'printExpressStatus',
'printInvoiceStatus' => 'printInvoiceStatus',
'gmtPrintExpress' => 'gmtPrintExpress',
'gmtPrintInvoice' => 'gmtPrintInvoice',
'gmtCreate' => 'gmtCreate',
'goodsList' => 'items'
);
$tradeRow = array();
foreach ($orderDetail as $key => $value) {
@ -132,28 +132,28 @@ class OrderPrintTool{
public static function formartOrderGoodsInfoNv($orderGoodsList) {
$nvMap = array(
'goods_id' => 'goodsId',
'order_id' => 'orderId',
'sku_id' => 'skuId',
'goods_name' => 'goodsName',
'sku_name' => 'skuName',
'goods_price' => 'goodsPrice',
'outer_goods_id' => 'outerGoodsId',
'outer_id' => 'outerId',
'goods_count' => 'goodsCount',
'total_price' => 'totalPrice',
'goods_img' => 'goodsImg',
'goods_spec' => 'goodsSpec',
'short_title' => 'shortTitle',
'weight' => 'weight',
'short_weight' => 'shortWeight',
'is_shipped' => 'isShipped',
'is_can_print' => 'isCanPrint',
'sku_short_title' => 'skuShortTitle',
'ware_short_title' => 'wareShortTitle',
'sku_sub_name' => 'skuSubName',
'op_order_goods_id' => 'itemId',
'mall_id' => 'mallId',
'goodsId' => 'goodsId',
'orderId' => 'orderId',
'skuId' => 'skuId',
'goodsName' => 'goodsName',
'skuName' => 'skuName',
'goodsPrice' => 'goodsPrice',
'outerGoodsId' => 'outerGoodsId',
'outerId' => 'outerId',
'goodsCount' => 'goodsCount',
'totalPrice' => 'totalPrice',
'goodsImg' => 'goodsImg',
'goodsSpec' => 'goodsSpec',
'shortTitle' => 'shortTitle',
'weight' => 'weight',
'shortWeight' => 'shortWeight',
'isShipped' => 'isShipped',
'isCanPrint' => 'isCanPrint',
'skPhortTitle' => 'skuShortTitle',
'wareShortTitle' => 'wareShortTitle',
'skuSubName' => 'skuSubName',
'opTrderGoodsId' => 'itemId',
'mallId' => 'mallId',
);
$nvGoodsList = array();

Loading…
Cancel
Save