Sfoglia il codice sorgente

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

marseyes 2 anni fa
parent
commit
b1c2f75989

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

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