瀏覽代碼

selectStockHistGridList 정렬 쿼리 수정

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

+ 3 - 0
src/main/resources/mybatis/sqlmaps/stockmng/StockMng.xml

@@ -284,6 +284,9 @@
284 284
                         ORDER BY histock.stck_mgnt_dtl_no DESC
285 285
                     </if>
286 286
                 </if>
287
+                 <if test="gridRequest.sidx != 'VIEW_NUM'.toString()">
288
+                    ORDER BY A.sys_reg_dttm DESC
289
+                </if>
287 290
             </when>
288 291
             <otherwise>
289 292
                 ORDER BY histock.stck_mgnt_dtl_no ASC