src/main/resources/mapper/OrderMapper.xml @@ -77,7 +77,12 @@ <otherwise> and ( <if test="userId != null and userId != ''"> user_id = #{userId} </if> <if test="userId == null or userId == ''"> user_id is not null </if> or mo.id in (