合并远程 main 最新改动
This commit is contained in:
@@ -33,7 +33,12 @@ const AFTER_SALES_CASE_SELECT = `
|
||||
) AS shop_name,
|
||||
wu.username AS worker_username,
|
||||
wu.display_name AS worker_display_name,
|
||||
wos.quantity AS share_quantity
|
||||
wos.quantity AS share_quantity,
|
||||
-- 售后追缴口径:整单取工单发单金额,拼单取责任份额的一份价格与合计金额
|
||||
wo.reward_amount AS work_order_reward_amount,
|
||||
wo.sharing_enabled AS work_order_sharing_enabled,
|
||||
wos.unit_reward AS share_unit_reward,
|
||||
wos.share_reward AS share_reward_amount
|
||||
FROM worker_after_sales_cases ac
|
||||
INNER JOIN work_orders wo ON wo.id = ac.work_order_id
|
||||
LEFT JOIN orders o ON o.id = wo.order_id
|
||||
|
||||
@@ -201,6 +201,10 @@ export type WorkerAfterSalesCaseRow = {
|
||||
worker_username?: string
|
||||
worker_display_name?: string
|
||||
share_quantity?: number | null
|
||||
work_order_reward_amount?: number | string | null
|
||||
work_order_sharing_enabled?: boolean | null
|
||||
share_unit_reward?: number | string | null
|
||||
share_reward_amount?: number | string | null
|
||||
}
|
||||
|
||||
export type WorkerAfterSalesCaseEventRow = {
|
||||
|
||||
Reference in New Issue
Block a user