Browse Source

발주현황 정렬 쿼리 변경

isna 2 years ago
parent
commit
99a3daf0ec
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/main/resources/mybatis/sqlmaps/pomng/PchOrd.xml

+ 3 - 0
src/main/resources/mybatis/sqlmaps/pomng/PchOrd.xml

@@ -163,6 +163,9 @@
163
                         order by base.pch_podr_unq_no desc
163
                         order by base.pch_podr_unq_no desc
164
                     </if>
164
                     </if>
165
                 </if>
165
                 </if>
166
+                <if test="gridRequest.sidx != 'VIEW_NUM'.toString()">
167
+                    order by base.pch_podr_unq_no desc
168
+                </if>
166
             </when>
169
             </when>
167
             <otherwise>
170
             <otherwise>
168
                 order by base.pch_podr_unq_no desc
171
                 order by base.pch_podr_unq_no desc