瀏覽代碼

메인챠트 수정

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

+ 1 - 1
src/main/resources/mybatis/sqlmaps/oper/MainChart.xml

@@ -203,7 +203,7 @@
203 203
                 AND prbi.store_id = #{storeId}
204 204
             </if>
205 205
         GROUP BY prdp.item_id, prdp.item_nm
206
-        ORDER BY COUNT(*) DESC, prdp.item_id
206
+        ORDER BY SUM(prdp.PCH_REQ_QTY) DESC, prdp.item_id
207 207
         LIMIT 0, 5
208 208
     </select>
209 209