Browse Source

소트정렬값 변경

dwkim 2 years ago
parent
commit
c9fc435423
1 changed files with 3 additions and 3 deletions
  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
             <when test="gridRequest.sidx != null and gridRequest.sidx != ''">
93
             <when test="gridRequest.sidx != null and gridRequest.sidx != ''">
94
                 <if test="gridRequest.sidx == 'VIEW_NUM'.toString()">
94
                 <if test="gridRequest.sidx == 'VIEW_NUM'.toString()">
95
                     <if test="gridRequest.sord == 'asc'.toString()">
95
                     <if test="gridRequest.sord == 'asc'.toString()">
96
-                        order by brand_nm asc
96
+                        order by item.item_nm asc
97
                     </if>
97
                     </if>
98
                     <if test="gridRequest.sord == 'desc'.toString()">
98
                     <if test="gridRequest.sord == 'desc'.toString()">
99
-                        order by brand_nm desc
99
+                        order by item.item_nm desc
100
                     </if>
100
                     </if>
101
                 </if>
101
                 </if>
102
             </when>
102
             </when>
103
             <otherwise>
103
             <otherwise>
104
-                order by brand_nm asc
104
+                order by item.item_nm asc
105
             </otherwise>
105
             </otherwise>
106
         </choose>
106
         </choose>
107
         <if test="gridRequest.pagingYn == true">
107
         <if test="gridRequest.pagingYn == true">