src/main/resources/mapper/UserOptionLogMapper.xml @@ -15,6 +15,7 @@ <if test="userId!=null and userId!=''"> and t1.user_id = #{userId} </if> order by create_time desc </select> </mapper>