fix(order.recheckOrder): waybill_code 加入散单复核列表响应字段
This commit is contained in:
parent
d11ed3b2a2
commit
000597fecc
@ -3176,7 +3176,8 @@ class RecheckOrderService extends OrderBaseService {
|
|||||||
o.weight_type,
|
o.weight_type,
|
||||||
o.status,
|
o.status,
|
||||||
o.create_at,
|
o.create_at,
|
||||||
o.recheck_time
|
o.recheck_time,
|
||||||
|
(SELECT oe.waybill_code FROM order_express oe WHERE oe.order_id = o.id AND oe.delete_at IS NULL LIMIT 1) AS waybill_code
|
||||||
FROM ${orderTableName} o
|
FROM ${orderTableName} o
|
||||||
${whereClause}
|
${whereClause}
|
||||||
ORDER BY o.id ASC
|
ORDER BY o.id ASC
|
||||||
@ -3219,6 +3220,7 @@ class RecheckOrderService extends OrderBaseService {
|
|||||||
items_total: Number(row?.items_total || 0),
|
items_total: Number(row?.items_total || 0),
|
||||||
items_weight: row?.items_weight != null ? Number(row.items_weight) : null,
|
items_weight: row?.items_weight != null ? Number(row.items_weight) : null,
|
||||||
weight_type: this.formatWeightTypeLabel(row?.weight_type),
|
weight_type: this.formatWeightTypeLabel(row?.weight_type),
|
||||||
|
waybill_code: String(row?.waybill_code || '').trim(),
|
||||||
status: Number(row?.status || 0),
|
status: Number(row?.status || 0),
|
||||||
create_at: row?.create_at || null,
|
create_at: row?.create_at || null,
|
||||||
recheck_time: row?.recheck_time || null,
|
recheck_time: row?.recheck_time || null,
|
||||||
|
|||||||
@ -6388,7 +6388,7 @@
|
|||||||
"name": "list",
|
"name": "list",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"required": true,
|
"required": true,
|
||||||
"description": "散单复核订单列表,每项含 order_id、delivery_order_code、order_type、wave_id、wave_no、pick_status、recheck_status、shop_nick、logistics_name、items_count、items_total、items_weight、weight_type、status、create_at、pick_time、recheck_time"
|
"description": "散单复核订单列表,每项含 order_id、delivery_order_code、order_type、wave_id、wave_no、pick_status、recheck_status、shop_nick、logistics_name、items_count、items_total、items_weight、weight_type、waybill_code、status、create_at、recheck_time"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "pagination",
|
"name": "pagination",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user