瀏覽代碼

소트정렬값 변경

dwkim 2 年之前
父節點
當前提交
c9fc435423
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/main/resources/mybatis/sqlmaps/stinfo/Item.xml

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

@@ -93,15 +93,15 @@
93 93
             <when test="gridRequest.sidx != null and gridRequest.sidx != ''">
94 94
                 <if test="gridRequest.sidx == 'VIEW_NUM'.toString()">
95 95
                     <if test="gridRequest.sord == 'asc'.toString()">
96
-                        order by brand_nm asc
96
+                        order by item.item_nm asc
97 97
                     </if>
98 98
                     <if test="gridRequest.sord == 'desc'.toString()">
99
-                        order by brand_nm desc
99
+                        order by item.item_nm desc
100 100
                     </if>
101 101
                 </if>
102 102
             </when>
103 103
             <otherwise>
104
-                order by brand_nm asc
104
+                order by item.item_nm asc
105 105
             </otherwise>
106 106
         </choose>
107 107
         <if test="gridRequest.pagingYn == true">