Kaynağa Gözat

조회 시 에러 발생 버그 수정

marseyes 2 yıl önce
ebeveyn
işleme
bd9575b1f5

+ 4 - 4
src/main/resources/mybatis/sqlmaps/stockmng/StockMng.xml

@@ -43,10 +43,10 @@
43 43
         <if test="sItemType != null and sItemType != ''">
44 44
         AND E.item_type = #{sItemType}
45 45
         </if>
46
-        <if test="sItemGubun == 'P'">
46
+        <if test='"P".equals(sItemGubun)'>
47 47
         AND E.pch_item_yn = 'Y'
48 48
         </if>
49
-        <if test="sItemGubun == 'S'">
49
+        <if test='"S".equals(sItemGubun)'>
50 50
         AND E.sale_item_yn = 'Y'
51 51
         </if>
52 52
         <if test="sItemId != null and sItemId != ''">
@@ -112,10 +112,10 @@
112 112
         <if test="sItemType != null and sItemType != ''">
113 113
             AND E.item_type = #{sItemType}
114 114
         </if>
115
-        <if test="sItemGubun == 'P'">
115
+        <if test='"P".equals(sItemGubun)'>
116 116
             AND E.pch_item_yn = 'Y'
117 117
         </if>
118
-        <if test="sItemGubun == 'S'">
118
+        <if test='"S".equals(sItemGubun)'>
119 119
             AND E.sale_item_yn = 'Y'
120 120
         </if>
121 121
         <if test="sItemId != null and sItemId != ''">