pull/1121/head
梁宇奇 2025-08-05 20:38:43 +08:00
parent 70c9bae5ae
commit 8d7ad9dd0d
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@
'鞋库通平台发货' trans_target,
'支付宝' pay_type,
IF(fb.src_type = 1, fb.trans_amount, 0) output_amount,
IF(fb.src_type = 2, fb.trans_amount, 0) input_amount
IF(fb.src_type = 4, fb.trans_amount, 0) input_amount
FROM
finance_bill fb
LEFT JOIN store_order so ON fb.rel_id = so.id AND fb.src_type IN (1, 4)