`id`,`tenant_id`,`parent_tenant_id`,`vendor_type`,`cmd_type`,`create_date`,`update_date`,`cmd_json` where 1 = 1 and `id` = #{id} and `tenant_id` = #{tenantId} and `parent_tenant_id` = #{parentTenantId} and `vendor_type` = #{vendorType} and `cmd_type` = #{cmdType} and `create_date` = #{createDate} and `update_date` = #{updateDate} and `cmd_json` like concat('%', #{cmdJson},'%') and id in #{idItem} order by ${sortColumns} delete from wx_car_cmd_log where id = #{id} and tenant_id = #{tenantId}