code: private void delete(BatchExecutor batchExecutor, MappingConfig config, SingleDml dml) throws SQLException {
          Map<String, Object> data = dml.getData();
          if (data == null || data.isEmpty()) {
              return;
          }
  
          DbMapping dbMapping = config.getDbMapping();
  
          Map<String, Integer> ctype = getTargetColumnType(batchExecutor.getConn(), config);
  
          StringBuilder sql = new StringBuilder();
          sql.append("DELETE FROM ").append(SyncUtil.getDbTableName(dbMapping)).append(" WHERE ");
  
          List<Map<String, ?>> values = new ArrayList<>();
          // 拼接主键
          appendCondition(dbMapping, sql, ctype, values, data);
          batchExecutor.execute(sql.toString(), values);
          if (logger.isTraceEnabled()) {
              logger.trace("Delete from target table, sql: {}", sql);
          }
      }
docs: 删除操作
  
  @param config
  @param dml