일반주문 할인 및 배송비 계산 수정(1)

This commit is contained in:
김현욱
2026-03-23 15:35:42 +09:00
parent 9a7386a08c
commit ef4f5f473c
4 changed files with 248 additions and 373 deletions

View File

@@ -5007,6 +5007,7 @@
<!-- PG로그 가상계좌 검증키 조회 -->
<select id="selectPglogVirtualKey" parameterType="dataMap" resultType="dataMap">
SELECT ROUND(GOR.RL_SETLE_AMT) AS RL_SETLE_AMT
, ROUND(GOR.WON_RL_SETLE_AMT) AS WON_RL_SETLE_AMT
, GOR.ORDRR_NM
, GOPL.SETLER_NM
, GOPL.DELNG_NB
@@ -5029,7 +5030,7 @@
AND GOR.SOPMAL_CD = GOPL.SOPMAL_CD
WHERE GOR.SOPMAL_CD = #{sopmalCd}
AND GOR.ORDR_INNB = #{ordrInnb}
AND GOPL.SETLE_MTH_CD IN ('04','05','06')
-- AND GOPL.SETLE_MTH_CD IN ('04','05','06')
ORDER BY GOPL.PG_LOG_INNB ASC
LIMIT 1
</select>