select ID, REAL_CREATE_BY, REAL_CREATE_NAME, CREATE_BY, CREATE_COMPANY_ID, CREATE_TIME, UPDATE_BY, UPDATE_TIME, DEL_FLAG, GOODS_NUMBER, ORG_NAME, ORGANIZATION_ID, BUSINESS_DOCUMENT_ID, BUSINESS_DOCUMENT_NUMBER, ORGANIZATION_NAME, TOP_ORGANIZATION_ID from execute_order
and ID = #{id}
and REAL_CREATE_BY = #{realCreateBy}
and REAL_CREATE_NAME like concat('%', #{realCreateName}, '%')
and CREATE_BY = #{createBy}
and CREATE_COMPANY_ID = #{createCompanyId}
and CREATE_TIME = #{createTime}
and UPDATE_BY = #{updateBy}
and UPDATE_TIME = #{updateTime}
and DEL_FLAG = #{delFlag}
and GOODS_NUMBER = #{goodsNumber}
and ORG_NAME like concat('%', #{orgName}, '%')
and ORGANIZATION_ID = #{organizationId}
and BUSINESS_DOCUMENT_ID = #{businessDocumentId}
and BUSINESS_DOCUMENT_NUMBER = #{businessDocumentNumber}
and ORGANIZATION_NAME like concat('%', #{organizationName}, '%')
and TOP_ORGANIZATION_ID = #{topOrganizationId}