类 DictCache

java.lang.Object
com.hengyi.xbaseweb.system.cache.DictCache

public class DictCache extends Object
  • 构造器详细资料

    • DictCache

      public DictCache()
  • 方法详细资料

    • put

      public static void put(SysDictData dictData)
    • remove

      public static void remove(SysDictData dictData)
    • removeById

      public static void removeById(Long id)
    • removeByIds

      public static void removeByIds(List<Long> ids)
    • containsKey

      public static boolean containsKey(SysDictData dictData)
    • getByCode

      public static List<SysDictData> getByCode(String code)
      通过code查询 字典列表
      参数:
      code -
      返回:
    • getByValue

      public static String getByValue(String code, String value)
      通过value查询字典
      参数:
      code -
      value -
      返回:
    • getDictByValue

      public static SysDictData getDictByValue(String code, String value)
      通过value查询字典
      参数:
      code -
      value -
      返回: