`id`,`tenant_id`,`parent_tenant_id`,`merchant_id`,`merchant_name`,`merchant_type`,`build_way`,`price`,`create_date`,`update_date`
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `merchant_name` like concat('%', #{merchantName},'%')
and `merchant_type` = #{merchantType}
and `build_way` = #{buildWay}
and id in
#{idItem}
order by ${sortColumns}