소스 검색

签单客户排序修改

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>