Browse Source

품목검색 쿼리 수정

dwkim 2 years ago
parent
commit
9a776e6b20
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/main/resources/mybatis/sqlmaps/stinfo/Item.xml

+ 4 - 4
src/main/resources/mybatis/sqlmaps/stinfo/Item.xml

@@ -72,10 +72,10 @@
72 72
         <if test="sItemType != null and sItemType != ''">
73 73
         and  item.item_type = #{sItemType}
74 74
         </if>
75
-        <if test="sItemGubun == 'P'">
75
+        <if test="sItemGubun == 'P'.toString()">
76 76
         and item.pch_item_yn = 'Y'
77 77
         </if>
78
-        <if test="sItemGubun == 'S'">
78
+        <if test="sItemGubun == 'S'.toString()">
79 79
         and item.sale_item_yn = 'Y'
80 80
         </if>
81 81
         <if test="sClass1 != null and sClass1 != ''">
@@ -133,10 +133,10 @@
133 133
         <if test="sItemType != null and sItemType != ''">
134 134
             and  item.item_type = #{sItemType}
135 135
         </if>
136
-        <if test="sItemGubun == 'P'">
136
+        <if test="sItemGubun == 'P'.toString()">
137 137
             and item.pch_item_yn = 'Y'
138 138
         </if>
139
-        <if test="sItemGubun == 'S'">
139
+        <if test="sItemGubun == 'S'.toString()">
140 140
             and item.sale_item_yn = 'Y'
141 141
         </if>
142 142
         <if test="sClass1 != null and sClass1 != ''">