`id`,`tenant_id`,`vendor_type`,`cmd_type`,`create_date`,`update_date`,`cmd_json`
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
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}