浏览代码

정렬 수정

dwkim 2 年之前
父节点
当前提交
34421e86dd
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      src/main/resources/mybatis/sqlmaps/loanmng/DsptMng.xml

+ 9 - 0
src/main/resources/mybatis/sqlmaps/loanmng/DsptMng.xml

@@ -41,6 +41,15 @@
41
                         ORDER BY A.dpst_dt DESC
41
                         ORDER BY A.dpst_dt DESC
42
                     </if>
42
                     </if>
43
                 </if>
43
                 </if>
44
+                <if test="gridRequest.sidx == 'storeNm'.toString()">
45
+                    <if test="gridRequest.sord == 'asc'.toString()">
46
+                        ORDER BY store_nm ASC
47
+                    </if>
48
+                    <if test="gridRequest.sord == 'desc'.toString()">
49
+                        ORDER BY store_nm DESC
50
+                    </if>
51
+                </if>
52
+
44
             </when>
53
             </when>
45
             <otherwise>
54
             <otherwise>
46
                 ORDER BY A.dpst_dt DESC, store_nm asc
55
                 ORDER BY A.dpst_dt DESC, store_nm asc