`id`,`tenant_id`,`parent_tenant_id`,`send_type`,`value`,`remark`,`create_time`,`update_time`
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `send_type` = #{sendType}
and `value` = #{value}
and `remark` like concat('%', #{remark},'%')
and `create_time` = #{createTime}
and `update_time` = #{updateTime}
and id in
#{idItem}
order by ${sortColumns}