Browse Source

재고기준정보 관리 그리드 쿼리 개선

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

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

@@ -26,7 +26,8 @@
26
                 </if>
26
                 </if>
27
             </if>
27
             </if>
28
         </if>
28
         </if>
29
-        WHERE A.brand_id = #{sBrandId}
29
+        WHERE A.del_yn = 'N'
30
+        AND A.brand_id = #{sBrandId}
30
         <if test="sStoreId != null and sStoreId != ''">
31
         <if test="sStoreId != null and sStoreId != ''">
31
         AND C.store_id = #{sStoreId}
32
         AND C.store_id = #{sStoreId}
32
         </if>
33
         </if>