zhangwei 3 anos atrás
pai
commit
e8efeead36
1 arquivos alterados com 2 adições e 2 exclusões
  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>