<iftest="deviceName != null and deviceName != ''"> and device_name like concat('%', #{deviceName}, '%')</if>
<iftest="deviceName != null and deviceName != ''"> and report.device_name like concat('%', #{deviceName}, '%')</if>
<iftest="deviceNum != null and deviceNum != ''"> and device_num like concat('%', #{deviceNum}, '%')</if>
<iftest="deviceNum != null and deviceNum != ''"> and report.device_num like concat('%', #{deviceNum}, '%')</if>
<iftest="standardConditionAccumulation != null "> and standard_condition_accumulation = #{standardConditionAccumulation}</if>
<iftest="standardConditionAccumulation != null "> and report.standard_condition_accumulation = #{standardConditionAccumulation}</if>
<iftest="workingConditionAccumulation != null "> and working_condition_accumulation = #{workingConditionAccumulation}</if>
<iftest="workingConditionAccumulation != null "> and report.working_condition_accumulation = #{workingConditionAccumulation}</if>
<iftest="backingStandardConditionAccumulation != null "> and backing_standard_condition_accumulation = #{backingStandardConditionAccumulation}</if>
<iftest="backingStandardConditionAccumulation != null "> and report.backing_standard_condition_accumulation = #{backingStandardConditionAccumulation}</if>
<iftest="residualQuantity != null "> and residual_quantity = #{residualQuantity}</if>
<iftest="residualQuantity != null "> and report.residual_quantity = #{residualQuantity}</if>
<iftest="standardConditionFlow != null "> and standard_condition_flow = #{standardConditionFlow}</if>
<iftest="standardConditionFlow != null "> and report.standard_condition_flow = #{standardConditionFlow}</if>
<iftest="workingConditionFlow != null "> and working_condition_flow = #{workingConditionFlow}</if>
<iftest="workingConditionFlow != null "> and report.working_condition_flow = #{workingConditionFlow}</if>
<iftest="temperature != null "> and temperature = #{temperature}</if>
<iftest="temperature != null "> and report.temperature = #{temperature}</if>
<iftest="pressure != null "> and pressure = #{pressure}</if>
<iftest="pressure != null "> and report.pressure = #{pressure}</if>
<iftest="reportTime != null "> and report_time = #{reportTime}</if>
<iftest="reportTime != null "> and report.report_time = #{reportTime}</if>
<iftest="communicationStatus != null and communicationStatus != ''"> and communication_status = #{communicationStatus}</if>
<iftest="communicationStatus != null and communicationStatus != ''"> and report.communication_status = #{communicationStatus}</if>
<iftest="deviceStatus != null and deviceStatus != ''"> and device_status = #{deviceStatus}</if>
<iftest="deviceStatus != null and deviceStatus != ''"> and report.device_status = #{deviceStatus}</if>
<iftest="beyondEnterpriseId != null "> and beyond_enterprise_id = #{beyondEnterpriseId}</if>
<iftest="beyondEnterpriseId != null "> and report.beyond_enterprise_id = #{beyondEnterpriseId}</if>
<iftest="beyondEnterpriseName != null and beyondEnterpriseName != ''"> and beyond_enterprise_name like concat('%', #{beyondEnterpriseName}, '%')</if>
<iftest="beyondEnterpriseName != null and beyondEnterpriseName != ''"> and report.beyond_enterprise_name like concat('%', #{beyondEnterpriseName}, '%')</if>
<iftest="isDel != null and isDel != ''"> and is_del = #{isDel}</if>
<iftest="isDel != null and isDel != ''"> and report.is_del = #{isDel}</if>
<iftest="remarks != null and remarks != ''"> and remarks = #{remarks}</if>
<iftest="remarks != null and remarks != ''"> and report.remarks = #{remarks}</if>
<iftest="deviceType != null and deviceType != ''">AND detail.device_type = #{deviceType}</if>