fix: 거래 세부 내역의 단가 컬럼 매핑 수정
- SL_INPUT_PRICE → SL_NM_cost_a로 변경 - SL_INPUT_PRICE는 합계 금액이었음 (잘못된 매핑) - SL_NM_cost_a가 실제 개당 단가 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
10087cac5f
commit
aa222eec3a
@ -410,7 +410,7 @@ def admin_transaction_detail(transaction_id):
|
|||||||
S.DrugCode,
|
S.DrugCode,
|
||||||
ISNULL(G.GoodsName, '(약품명 없음)') AS goods_name,
|
ISNULL(G.GoodsName, '(약품명 없음)') AS goods_name,
|
||||||
S.SL_NM_item AS quantity,
|
S.SL_NM_item AS quantity,
|
||||||
S.SL_INPUT_PRICE AS price,
|
S.SL_NM_cost_a AS price,
|
||||||
S.SL_TOTAL_PRICE AS total
|
S.SL_TOTAL_PRICE AS total
|
||||||
FROM SALE_SUB S
|
FROM SALE_SUB S
|
||||||
LEFT JOIN PM_DRUG.dbo.CD_GOODS G ON S.DrugCode = G.DrugCode
|
LEFT JOIN PM_DRUG.dbo.CD_GOODS G ON S.DrugCode = G.DrugCode
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user