<iftest="areaId != null "> and area_id = #{areaId}</if>
<iftest="params.beginDateTime != null and params.beginDateTime != '' and params.endDateTime != null and params.endDateTime != ''"> and date_time between #{params.beginDateTime} and #{params.endDateTime}</if>
<iftest="createBy != null and createBy != ''"> and create_by = #{createBy}</if>
<iftest="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
<iftest="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if>
<iftest="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if>
<iftest="beginDateTime != null and endDateTime != null "> and date_time between #{beginDateTime} and #{endDateTime}</if>
<iftest="remark != null and remark != ''"> and remark = #{remark}</if>
<iftest="count1 != null "> and count1 = #{count1}</if>
<iftest="count2 != null "> and count2 = #{count2}</if>