guq 7 лет назад
Родитель
Сommit
e16971f6e7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      applications/sale/sale-server/src/main/resources/mapper/SaleListMapper.xml

+ 1 - 1
applications/sale/sale-server/src/main/resources/mapper/SaleListMapper.xml

@@ -91,7 +91,7 @@
             <if test="companyId != null">
             <if test="companyId != null">
                 and   sale.companyId = #{companyId}
                 and   sale.companyId = #{companyId}
             </if>
             </if>
-        </where>  order by sa_date desc
+        </where>  order by sa_id desc,sd_id
     </select>
     </select>
 
 
     <select id="selectSaleByCondition" resultMap="BaseResultMap">
     <select id="selectSaleByCondition" resultMap="BaseResultMap">