| | |
| | | <if test="vo.type != null and vo.type !=''"> |
| | | AND bmu.type LIKE CONCAT('%',#{vo.type},'%') |
| | | </if> |
| | | |
| | | <if test="vo.title != null and vo.title !=''"> |
| | | AND bmr.title LIKE CONCAT('%',#{vo.title},'%') |
| | | </if> |
| | | |
| | | <if test="vo.sendStatus != null and vo.sendStatus !=''"> |
| | | AND bmu.send_status = #{vo.sendStatus} |
| | | </if> |
| | | |
| | | <if test="vo.content != null and vo.content !=''"> |
| | | AND bmr.content LIKE CONCAT('%',#{vo.content},'%') |
| | | </if> |
| | | <if test="vo.sendUserId != null and vo.sendUserId !=''"> |
| | | AND bmr.create_user = #{vo.sendUserId} |
| | | </if> |
| | | <if test="vo.sendUserName != null and vo.sendUserName !=''"> |
| | | AND bu.real_name LIKE CONCAT('%',#{vo.sendUserName},'%') |
| | | </if> |
| | | <if test="vo.receiveUserName != null and vo.receiveUserName !=''"> |
| | | AND bu1.real_name LIKE CONCAT('%',#{vo.receiveUserName},'%') |
| | | </if> |
| | | ORDER BY bmu.create_time DESC |
| | | </select> |
| | | |