更改分页排序

This commit is contained in:
xiaodong.hu
2023-12-19 13:11:39 +08:00
parent e4d340382f
commit ea1e246b23
2 changed files with 3 additions and 3 deletions

View File

@@ -520,7 +520,7 @@
#{userId} #{userId}
</foreach> </foreach>
</if> </if>
order by a.create_time desc order by a.create_time,a.id desc
</select> </select>
@@ -948,7 +948,7 @@
</if> </if>
<if test="sortField!=null and sortField != '' and sortField=='updateTime' "> <if test="sortField!=null and sortField != '' and sortField=='updateTime' ">
order by hpli.update_time order by hpli.update_time,hpli.id
<if test="sortOrder!=null and sortOrder != '' and sortOrder=='descend' "> <if test="sortOrder!=null and sortOrder != '' and sortOrder=='descend' ">
desc desc
</if> </if>

View File

@@ -435,7 +435,7 @@ public class EcSyncServiceImpl implements EcSyncService {
if (enterpriseUserDO==null) { if (enterpriseUserDO==null) {
// 给飞书群发送消息 跟进人找不到 // 给飞书群发送消息 跟进人找不到
sendFeiShuRobotMessage("推送:飞书架构中找不到该用户:【" + followUserName + "】,该用户电话号码为:" + followUserMobile, "27243d49-97ca-4981-8aec-7c3bf84eb660"); sendFeiShuRobotMessage("推送:飞书架构中找不到该用户:【" + followUserName + "】,该用户电话号码为:" + followUserMobile, "27243d49-97ca-4981-8aec-7c3bf84eb660");
throw new ApiException("飞书架构中找不到该用户:【" + followUserName + "】,该用户电话号码为:" + followUserMobile); return "";
} }
return enterpriseUserDO.getUserId(); return enterpriseUserDO.getUserId();
} }