Commit 5d5dbbb0 authored by 罗可心's avatar 罗可心 😕

Merge remote-tracking branch 'origin/dev' into dev

parents c8ce4efa 3d3aa03e
...@@ -109,6 +109,10 @@ public class InvitedPersonServiceImpl extends ServiceImpl<InvitedPersonRepositor ...@@ -109,6 +109,10 @@ public class InvitedPersonServiceImpl extends ServiceImpl<InvitedPersonRepositor
//获取当前用户手机号 //获取当前用户手机号
String phone = CyUserUtil.getUserInfoStrProp(cyJwtUtil.getToken(request), CyUserUtil.USER_PHONE); String phone = CyUserUtil.getUserInfoStrProp(cyJwtUtil.getToken(request), CyUserUtil.USER_PHONE);
// System.out.println("用户手机号" + phone); // System.out.println("用户手机号" + phone);
// 设置默认排序方式
if (visitInfomation.getSort() == null || visitInfomation.getSort().equals("")){
visitInfomation.setSort("3");
}
//查找对象 //查找对象
IPage<VisitInfoMation> visitInfoMationIPage = invitedPersonRepository.queryVisitInfomationsPaged(paginationUtility, visitInfomation, phone); IPage<VisitInfoMation> visitInfoMationIPage = invitedPersonRepository.queryVisitInfomationsPaged(paginationUtility, visitInfomation, phone);
......
...@@ -79,6 +79,9 @@ ...@@ -79,6 +79,9 @@
<if test="entity.sort == '2'.toString()"> <if test="entity.sort == '2'.toString()">
vi.visit_real_time vi.visit_real_time
</if> </if>
<if test="entity.sort == '3'.toString()">
vi.visit_real_time desc
</if>
</if> </if>
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment