Преглед на файлове

签单客户排序修改

anderx преди 1 година
родител
ревизия
170df5dd22
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

+ 1 - 1
src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

@@ -570,7 +570,7 @@
 		<if test="area != null">
 			and b.location_area = #{area,jdbcType=INTEGER}
 		</if>
-		order by a.transfer_time ,a.`number`
+		order by if(a.transfer_time &gt; um.last_follow_time, a.transfer_time,um.last_follow_time) ,a.`number`
 		 <if test="page_sql != null">
     		${page_sql}
    		 </if>