Parcourir la source

정렬 수정

dwkim il y a 2 ans
Parent
commit
34421e86dd
1 fichiers modifiés avec 9 ajouts et 0 suppressions
  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 41
                         ORDER BY A.dpst_dt DESC
42 42
                     </if>
43 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 53
             </when>
45 54
             <otherwise>
46 55
                 ORDER BY A.dpst_dt DESC, store_nm asc