zhangwei 3 年之前
父节点
当前提交
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>