zhangwei 2 년 전
부모
커밋
e8efeead36
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/main/resources/mapper/RepalCustomerMapper.xml

+ 2 - 2
src/main/resources/mapper/RepalCustomerMapper.xml

@@ -30,7 +30,7 @@
         </if>
         GROUP BY A.CUST_ID
         <if test="sortType == 1 ">
-            ORDER BY A.ID
+            ORDER BY custId
         </if>
         <if test="sortType == 2 ">
             ORDER BY repalBillCount ASC
@@ -45,7 +45,7 @@
             ORDER BY totalMoney DESC
         </if>
         <if test="sortType == 6 or sortType == null">
-            ORDER BY A.ID DESC
+            ORDER BY custId DESC
         </if>
     </select>
 </mapper>