Ver Fonte

상품리스트 페이징 수정

bin2107 há 5 anos atrás
pai
commit
963e3cf9f5

+ 1 - 1
src/main/java/com/style24/persistence/mybatis/shop/TsfGoods.xml

@@ -2246,7 +2246,7 @@
 				  </otherwise>
 				  </otherwise>
 			  </choose>
 			  </choose>
 			  <if test="pageable != null and pageable.endRow != null and pageable.endRow > 0">
 			  <if test="pageable != null and pageable.endRow != null and pageable.endRow > 0">
-				LIMIT #{pageable.startRow} , 30
+				LIMIT #{pageable.limitStartRow} , #{pageable.pageSize}
 			  </if>
 			  </if>
 		)
 		)
 		SELECT G.BRAND_GROUP_NM
 		SELECT G.BRAND_GROUP_NM