src/main/resources/mapper/modules/ChatUserMapper.xml
@@ -32,6 +32,9 @@ <if test="record.status != null and record.status != ''"> and a.status = #{record.status} </if> <if test="record.isRobot != null"> and a.is_robot = #{record.isRobot} </if> </if> </where> group by a.user_id