Browse Source

sql修改

xuefy 3 years ago
parent
commit
d2250e53ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sc-service/src/main/resources/mapper/credit/OwnCreditMapper.xml

+ 1 - 1
sc-service/src/main/resources/mapper/credit/OwnCreditMapper.xml

@@ -254,8 +254,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <!--<if test="paramMap.billIdList != null  and paramMap.billIdList != ''">
             <!--<if test="paramMap.billIdList != null  and paramMap.billIdList != ''">
                 and b.zbi_id  NOT IN (${paramMap.billIdList})
                 and b.zbi_id  NOT IN (${paramMap.billIdList})
             </if>-->
             </if>-->
-            ORDER BY b.create_time DESC
             GROUP BY b.zbi_id
             GROUP BY b.zbi_id
+            ORDER BY b.create_time DESC
 
 
     </select>
     </select>