@@ -410,7 +410,7 @@
AND GC.COMPS_GOODS_CD = #{compsGoodsCd}
INNER JOIN TB_OPTION OP
ON IFNULL(GC.COMPS_GOODS_CD, G.GOODS_CD) = OP.GOODS_CD
- AND OP.OPT_CD2 = #{optCd}
+ AND OP.OPT_CD = #{optCd}
WHERE OD.ORD_DTL_NO = #{ordDtlNo}
</insert>