Package ru.bgcrm.dao

Class ParamValueSelect

java.lang.Object
ru.bgcrm.dao.CommonDAO
ru.bgcrm.dao.ParamValueSelect

public class ParamValueSelect extends CommonDAO
  • Field Details

  • Constructor Details

    • ParamValueSelect

      public ParamValueSelect()
  • Method Details

    • paramSelectQuery

      public static void paramSelectQuery(String variable, String linkColumn, StringBuilder selectPart, StringBuilder joinPart, boolean addColumnValueAlias)
      Adds parameter selection query parts.
      Parameters:
      variable - the parameter macros, e.g. param:12, optionally ended with :value or date format suffixes.
      selectPart - SELECT part of the query.
      joinPart - JOIN part of the query.
      addColumnValueAlias - adds the column alias in the query, e.g. AS param_79_value.