select different_manage_id, organization_id, organization_name, top_organization_id, different_number, investigation_number, investigation_status, investigation_range, investigation_type, investigation_method, investigation_frequency, investigation_man_by, investigation_man_name, operators_by, operators_name, warehouse_id, warehouse_code, warehouse_name, nullify, remark, create_time, create_by, create_by_name, update_time, update_by, update_by_name,posted_flag,re_counted_flag, del_flag,inventory_discrepancy_status from different_manage
and del_flag = 1
and organization_id = #{organizationId}
and organization_name like concat('%', #{organizationName}, '%')
and top_organization_id = #{topOrganizationId}
and different_number = #{differentNumber}
and investigation_number = #{investigationNumber}
and investigation_status = #{investigationStatus}
and investigation_range = #{investigationRange}
and investigation_type = #{investigationType}
and investigation_method = #{investigationMethod}
and investigation_frequency = #{investigationFrequency}
and investigation_man_by = #{investigationManBy}
and investigation_man_name like concat('%', #{investigationManName}, '%')
and operators_by = #{operatorsBy}
and operators_name like concat('%', #{operatorsName}, '%')
and warehouse_id = #{warehouseId}
and warehouse_code = #{warehouseCode}
and warehouse_name like concat('%', #{warehouseName}, '%')
and nullify = #{nullify}
and create_by_name like concat('%', #{createByName}, '%')
and update_by_name like concat('%', #{updateByName}, '%')
and posted_flag = #{postedFlag}
and re_counted_flag = #{reCountedFlag}