<select id="queryCount" resultType="cn.bnsr.edu_yun.view.FileView"> SELECT sum(download_times) as downloadNum ,sum(click_times) as browseNum FROM file_property <if test="_parameter != null"> WHERE id in <foreac
<if test="(mac != null and mac != '') or (roomNo != null and roomNo != '') or (bedNo != null and bedNo!= '') or (kinds != null and kinds.size > 0)"> and <trim prefix="(" prefixOverrides="or" suffix=")"&g