Explorar el Código

selectStockHistGridList 정렬 쿼리 수정

isna hace 2 años
padre
commit
2e30f29159
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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