浏览代码

签单客户排序修改

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>