Browse Source

재고조회 수정

dwkim 2 years ago
parent
commit
05957afbdf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/resources/mybatis/sqlmaps/stockmng/StockMng.xml

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

@@ -53,7 +53,7 @@
53
         AND A.item_id = #{sItemId}
53
         AND A.item_id = #{sItemId}
54
         </if>
54
         </if>
55
         <if test="sItemNm != null and sItemNm != ''">
55
         <if test="sItemNm != null and sItemNm != ''">
56
-        AND A.item_nm LIKE CONCAT('%',#{sItemNm},'%')
56
+        AND E.item_nm LIKE CONCAT('%',#{sItemNm},'%')
57
         </if>
57
         </if>
58
         <choose>
58
         <choose>
59
             <when test="gridRequest.sidx != null and gridRequest.sidx != ''">
59
             <when test="gridRequest.sidx != null and gridRequest.sidx != ''">
@@ -122,7 +122,7 @@
122
             AND A.item_id = #{sItemId}
122
             AND A.item_id = #{sItemId}
123
         </if>
123
         </if>
124
         <if test="sItemNm != null and sItemNm != ''">
124
         <if test="sItemNm != null and sItemNm != ''">
125
-            AND A.item_nm LIKE CONCAT('%',#{sItemNm},'%')
125
+            AND E.item_nm LIKE CONCAT('%',#{sItemNm},'%')
126
         </if>
126
         </if>
127
     </select>
127
     </select>
128
 
128