package cn.iocoder.yudao.module.mes.dal.redis;
|
|
/**
|
* MES Redis Key 枚举类
|
*
|
* @author 超级管理员
|
*/
|
public interface RedisKeyConstants {
|
|
/**
|
* 编码规则的缓存
|
*
|
* KEY 格式:mes:md:auto_code:{ruleId}:{cycleKey}
|
* VALUE 数据格式:流水号自增
|
*/
|
String AUTO_CODE = "mes:md:auto_code:";
|
|
/**
|
* 计量器具到期提醒去重
|
*
|
* KEY 格式:mes:dv:metering:remind:{meteringId}:{nextCheckDate}
|
* VALUE 数据格式:1
|
*/
|
String METERING_EXPIRE_REMIND = "mes:dv:metering:remind:";
|
|
/**
|
* 计量器具到期提醒扫描门闩
|
*
|
* KEY 格式:mes:dv:metering:remind:scan:{today}
|
* VALUE 数据格式:1
|
*/
|
String METERING_EXPIRE_REMIND_SCAN = "mes:dv:metering:remind:scan:";
|
|
}
|