`id`, `tenant_id`, `parent_tenant_id`, `plat`, `order_id`, `user_id`,
`user_images`, `digital_avatar_id`, `digital_avatar_type`, `digital_avatar_sm`, `price`,
`title`, `remark`, `status`, `msg`, `create_date`, `update_date`
where `is_del` = 0
and `id` = #{id}
and `plat` = #{plat}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `order_id` = #{orderId}
and `user_id` = #{userId}
and `digital_avatar_id` = #{digitalAvatarId}
and `digital_avatar_type` = #{digitalAvatarType}
and `title` like concat('%', #{title},'%')
and `status` = #{status}
and create_date >= #{startDate}
and create_date < #{endDate}
and id in
#{idItem}
order by ${sortColumns}
update user_digital_avatar_order set is_del = 1,update_date = now() where id = #{id}