`id`,`tenant_id`,`parent_tenant_id`,`create_time`,`update_time`,`is_del`,`type`,`name`,`content`
where 1=1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and name like concat('%', #{name},'%')and `is_del` = #{isDel}and `type` = #{type}
and id in
#{idItem}
order by ${sortColumns}
update wx_finance_print_template set is_del = #{isDel} where id = #{id} and `tenant_id` = #{tenantId}