| | |
| | | public IPage<MsgListVo> getMsgList(MsgListDto msgListDto) { |
| | | MemberEntity member = LoginUserUtils.getAppLoginUser(); |
| | | Long memberId = member.getId(); |
| | | // Long memberId = 443L; |
| | | // Long memberId = 444L; |
| | | // MemberEntity member = memberDao.selectById(memberId); |
| | | |
| | | Page<MsgListVo> page = new Page<>(msgListDto.getPageNum(), msgListDto.getPageSize()); |
| | | |
| | | OtcMsgUserListEntity otcMsgUserListEntity = new OtcMsgUserListEntity(); |
| | |
| | | <where> |
| | | <if test="record!=null"> |
| | | a.member_id = #{record.memberId} |
| | | <if test="record.nickname != null and record.nickname == ''"> |
| | | <if test="record.nickname != null and record.nickname != ''"> |
| | | and b.name like concat('%', #{record.nickname},'%') |
| | | </if> |
| | | </if> |
| | | <if test="record!=null"> |
| | | a.member_id = #{record.memberId} |
| | | </if> |
| | | </where> |
| | | order by a.create_time desc |